<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Data Structure - แท็ก - Kawin&#39;s Pages</title>
        <link>https://kawin.dev/tags/data-structure/</link>
        <description>Data Structure - แท็ก - Kawin&#39;s Pages</description>
        <generator>Hugo -- gohugo.io</generator><language>th</language><managingEditor>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</managingEditor>
            <webMaster>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</webMaster><lastBuildDate>Mon, 31 Jul 2023 18:33:40 &#43;0700</lastBuildDate><atom:link href="https://kawin.dev/tags/data-structure/" rel="self" type="application/rss+xml" /><item>
    <title>Go กับปัญหาโลกแตก Value หรือ Pointer</title>
    <link>https://kawin.dev/posts/go/value_or_pointer/</link>
    <pubDate>Mon, 31 Jul 2023 18:33:40 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/go/value_or_pointer/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.webp" referrerpolicy="no-referrer">
            </div><p>ในเวลาที่เขียนภาษา Go มักจะมีคำถามนึงโผล่มาเสมอ คือตกลง func นี้จะใช้ Value หรือ Pointer ดีนะ เดี๋ยวเรามาดูความแตกต่างกัน</p>]]></description>
</item>
<item>
    <title>ออกแบบ Go struct ด้วยความรู้วิชา Computer Architecture และ Data Structure</title>
    <link>https://kawin.dev/posts/go/struct_memory/</link>
    <pubDate>Sun, 30 Jul 2023 13:01:50 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/go/struct_memory/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.webp" referrerpolicy="no-referrer">
            </div><p>ตอนสมัยเรียนวิศวคอมพิวเตอร์มีคำถามนึงโผล่มาเสมอว่าวิชาอย่าง Computer Architecture กับ Data Structure เรียนไปทำไมกันนะ จนกระทั้งจบออกมาได้เขียนภาษา Go ถึงได้เอะใจว่า ทำไม Go ถึงได้มี data type แบบกำหนดขนาด เช่น <code>int8</code> <code>int16</code> <code>int32</code> <code>int64</code> และอื่น ๆ ทำไมถึงไม่เป็น <code>int</code> หรือ <code>number</code> เฉย ๆ ไปเลยแบบภาษาขี้เกียจอย่าง TypeScript กันนะ จนได้มานั่งอ่านเกี่ยวกับ <a href="https://go.dev/src/go/types/sizes.go" target="_blank" rel="noopener noreffer ">sizes in Go</a> ถึงได้รู้ว่าเราสามารถใช้ความรู้ในวิชา Computer Architecture และ Data Structure มาช่วยให้เราเขียน Go ออกมาได้ประสิทธิภาพอย่างที่ควรจะเป็น</p>]]></description>
</item>
</channel>
</rss>
