[{"data":1,"prerenderedAt":239},["ShallowReactive",2],{"tag-labels":3,"site-header":4,"article-berkenalan-dengan-bahasa-go-untuk-backend-modern-id":72},{},{"featuredPost":5,"navigations":29},{"id":6,"title":7,"title_en":8,"slug":9,"excerpt":10,"excerpt_en":11,"has_translation":12,"published_at":13,"reading_time":14,"hidden_from_listing":15,"tags":16,"thumbnail_image":21,"og_image":22,"series":23,"authors":28},110,"Ketika Pilih Framework Cuma Biar Kelihatan Beda","When You Pick a Framework Just to Look Different","ketika-pilih-framework-cuma-biar-kelihatan-beda","Terakhir kali kamu milih framework atau library baru, itu karena masalahmu butuh alat itu, atau karena alatnya kedengaran keren dan belum banyak yang pakai? Pertanyaan ini nggak enak dijawab. Soalnya keputusan teknologi sering diambil dengan alasan yang nggak pernah ditulis di dokumen teknis mana pun.","The last time you chose a new framework or library, was it because your problem needed that tool, or because it sounded cool and few people around you were using it? That question is uncomfortable. Technology decisions are often made for reasons that never appear in any technical document.",true,"2026-10-06T15:25:21.000Z",5,false,[17,18,19,20],"karier","framework","opini","pengalaman",null,"\u002Fog\u002Fketika-pilih-framework-cuma-biar-kelihatan-beda.png",{"id":24,"title":25,"title_en":26,"slug":27},9,"Artikel","Articles","all",[],[30,46,67],{"collection":31,"item":32},"series",{"__typename":31,"title":25,"title_en":26,"slug":27,"children_series":33},[34,38,42],{"title":35,"title_en":36,"slug":37},"Kecerdasan Artifisial","Artificial Intelligence","kecerdasan-artifisial",{"title":39,"title_en":40,"slug":41},"Konsep Dasar Pemrograman","Programming Fundamentals","konsep-dasar-pemrograman",{"title":43,"title_en":44,"slug":45},"Algoritma dan Struktur Data","Algorithms and Data Structures","algoritma-struktur-data",{"collection":31,"item":47},{"__typename":31,"title":48,"title_en":48,"slug":49,"children_series":50},"Tutorial","tutorial",[51,55,59,63],{"title":52,"title_en":53,"slug":54},"Belajar Python","Learning Python","belajar-python",{"title":56,"title_en":57,"slug":58},"Belajar Golang","Learning Go","belajar-golang",{"title":60,"title_en":61,"slug":62},"Belajar Java","Learning Java","belajar-java",{"title":64,"title_en":65,"slug":66},"Belajar Pascal","Learning Pascal","belajar-pascal",{"collection":31,"item":68},{"__typename":31,"title":69,"title_en":69,"slug":70,"children_series":71},"Lab","lab",[],{"article":73,"renderedBody":121,"renderedTakeaway":122,"latestArticles":123,"toc":222},{"id":74,"title":75,"title_en":76,"slug":77,"excerpt":78,"excerpt_en":79,"has_translation":12,"published_at":80,"reading_time":81,"hidden_from_listing":15,"tags":82,"thumbnail_image":21,"og_image":89,"series":90,"authors":113,"body_locale":116,"available_locales":117,"body":119,"takeway":120,"prerequisite":21},30,"Berkenalan dengan Bahasa Go: Kenapa Banyak Dipakai untuk Backend Modern?","Meet Go: Why So Many Backend Teams Reach for It","berkenalan-dengan-bahasa-go-untuk-backend-modern","Kok bisa sih Go yang masih muda ini jadi bahasa andalan Docker sampai Kubernetes? Yuk, kita kenalan sama Goroutine, Channel, dan alasan dia hemat memori luar biasa!","How did a young language end up inside Docker and Kubernetes? Meet Goroutines, Channels, and the reason Go is so stingy with memory.","2026-08-17T04:26:10.344Z",4,[83,84,85,86,87,88],"golang","go","backend","concurrency","goroutine","system-design","\u002Fog\u002Fberkenalan-dengan-bahasa-go-untuk-backend-modern.png",{"id":91,"title":56,"title_en":57,"slug":58,"description":21,"description_en":92,"articles":93,"children_series":103,"parent_series":104},11,"Go from zero: the shape of the language, why it looks the way it does, and what it's good at.",[94],{"id":74,"title":75,"title_en":76,"slug":77,"excerpt":78,"excerpt_en":79,"has_translation":12,"published_at":80,"reading_time":81,"hidden_from_listing":15,"tags":82,"thumbnail_image":21,"og_image":89,"series":95,"authors":96},{"id":91,"title":56,"title_en":57,"slug":58},[97],{"authors_id":98},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},1,"Daffa Izzuddin","izzudd","Writer",[],{"id":99,"title":48,"title_en":48,"slug":49,"parent_series":21,"children_series":105},[106,108,109,111],{"id":107,"title":52,"title_en":53,"slug":54,"cover_image":21},10,{"id":91,"title":56,"title_en":57,"slug":58,"cover_image":21},{"id":110,"title":60,"title_en":61,"slug":62,"cover_image":21},13,{"id":112,"title":64,"title_en":65,"slug":66,"cover_image":21},14,[114],{"authors_id":115},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},"id",[118,116],"en","Kalau kalian ngintip perkembangan dunia *backend development* dan *cloud infrastructure* beberapa tahun terakhir, ada satu bahasa yang namanya terus melesat: **Go**, atau yang sering disebut Golang.\n\nMulai dari raksasa teknologi kayak Google dan Uber, sampai Netflix, hingga alat *DevOps* populer seperti Docker dan Kubernetes—semuanya dibangun pakai bahasa bermaskot gopher lucu ini.\n\nLantas, kenapa bahasa yang tergolong masih muda ini bisa cepat banget populer di kalangan pengembang *backend*? Yuk, kita bahas bareng. 😎\n\n## Alasan di Balik Kelahiran Go\n\nGo dikembangkan di Google sekitar tahun 2007 oleh tiga pakar ilmu komputer legendaris: Robert Griesemer, Rob Pike, dan Ken Thompson. Versi publiknya baru dirilis tahun 2009.\n\nWaktu itu, para pengembang di Google dihadapkan pada dilema klasik saat milih bahasa pemrograman.\n\nC\u002FC++ sangat kencang dan efisien, tapi waktu kompilasinya (*compile time*) lelet dan manajemen memorinya rumit. Python dan Ruby sintaksnya indah dan nyaman ditulis, tapi eksekusinya lambat buat skala aplikasi raksasa. Java bertenaga, tapi sering terasa terlalu kaku alias *verbose* dengan konfigurasi yang menumpuk.\n\nGo diciptakan buat ngambil keunggulan dari ketiga dunia itu sekaligus: performa setara C\u002FC++, kemudahan penulisan yang mendekati Python, plus proses kompilasi yang super cepat.\n\n## Fitur Unggulan Bahasa Go\n\nIni beberapa alasan utama yang bikin Go disukai buat sistem *backend*:\n\n1. *Statically typed & compiled*: Go dikompilasi langsung jadi satu *single binary file*, jadi dia nggak butuh *virtual machine* kayak JVM atau *interpreter*.\n2. Kompilasi super cepat: proses build kode Go cuma makan waktu hitungan detik.\n3. Sintaks simpel dan minimalis: Go sengaja dirancang tanpa fitur rumit yang nggak perlu. Cuma ada 25 keyword dasar, lho!\n4. *Garbage collection*: mencegah *memory leak* tanpa kita harus ngatur memori manual kayak di C\u002FC++, yang gampang bocor kalau nggak teliti.\n5. *Built-in concurrency*: penanganan konkurensi bawaan lewat **Goroutine** dan **Channel**.\n\n## Goroutine & Channel: Konkurensi Ringan dan Mudah\n\nFitur paling ikonik dari Go adalah **Goroutine**. OS *thread* biasa bisa makan memori sampai 1-2 MB per *thread*. Sebuah Goroutine? Cuma butuh memori awal sekitar **2 KB**!\n\nArtinya, kalian bisa menjalankan puluhan ribu sampai ratusan ribu Goroutine sekaligus di satu mesin, tanpa bikin RAM ngos-ngosan.\n\nIbaratnya gini. OS *thread* itu kayak nyewa satu bus besar cuma buat nganter satu penumpang. Goroutine lebih kayak armada sepeda motor lincah yang bisa jalan barengan, ngangkut ribuan penumpang dengan bensin jauh lebih hemat.\n\nBuat komunikasi antar Goroutine, Go nyediain **Channel**. Jadi proses berbagi data antar *thread* berjalan aman tanpa bentrok atau *race condition*.\n\n## Contoh Kode HTTP Server Sederhana di Go\n\nTanpa perlu install *framework* atau *library* pihak ketiga, Go udah dibekali modul standar (`net\u002Fhttp`) yang siap pakai buat bikin *server* HTTP:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"net\u002Fhttp\"\n)\n\nfunc main() {\n\thttp.HandleFunc(\"\u002F\", func(w http.ResponseWriter, r *http.Request) {\n\t\tfmt.Fprintf(w, \"Halo dari HTTP Server Go & Invasikode!\")\n\t})\n\n\tfmt.Println(\"Server berjalan di http:\u002F\u002Flocalhost:8080\")\n\thttp.ListenAndServe(\":8080\", nil)\n}\n```\n\nCukup simpan kode di atas sebagai `main.go`, lalu jalankan:\n\n```bash\ngo run main.go\n```\n\nDalam sekejap, *server* HTTP berkinerja tinggi kalian udah aktif dan siap melayani *request*.\n\n## Tertarik Nyobain Go di Proyek Baru?\n\n[Go](https:\u002F\u002Fgo.dev\u002F) membuktikan kalau bahasa *backend* modern nggak harus rumit dan bertele-tele buat bisa jalan super kencang. Dengan 25 keyword dasar, kompilasi kilat langsung ke *single binary*, plus keajaiban [Goroutine](https:\u002F\u002Fgo.dev\u002Ftour\u002Fconcurrency\u002F1) yang hemat memori (~2 KB), wajar banget kalau Go jadi primadona baru di dunia *cloud* dan mikroservis.\n\nKalau kalian lagi merancang sistem dengan kebutuhan *concurrency* tinggi, atau pengen bikin *microservices* yang ramping dan bertenaga, Go jelas layak masuk daftar belajar kalian.\n\nSelamat ber-Go ria, dan semoga RAM kalian selalu lega walau Goroutine-nya ngebut barengan! 👋\n","- Go dikompilasi langsung jadi satu *single binary* bertenaga tinggi, jadi dia nggak butuh *virtual machine* atau *interpreter* eksternal.\n- Goroutine cuma makan memori awal sekitar 2 KB per unit, jauh lebih hemat dibanding OS *thread* yang bisa 1-2 MB.\n- Channel bikin komunikasi antar Goroutine berjalan aman dan bebas dari *race condition*.\n- Standard library bawaan Go sangat kaya dan udah siap pakai buat bikin *HTTP server* tanpa *framework* pihak ketiga.","\u003Cp>Kalau kalian ngintip perkembangan dunia \u003Cem>backend development\u003C\u002Fem> dan \u003Cem>cloud infrastructure\u003C\u002Fem> beberapa tahun terakhir, ada satu bahasa yang namanya terus melesat: \u003Cstrong>Go\u003C\u002Fstrong>, atau yang sering disebut Golang.\u003C\u002Fp>\n\u003Cp>Mulai dari raksasa teknologi kayak Google dan Uber, sampai Netflix, hingga alat \u003Cem>DevOps\u003C\u002Fem> populer seperti Docker dan Kubernetes—semuanya dibangun pakai bahasa bermaskot gopher lucu ini.\u003C\u002Fp>\n\u003Cp>Lantas, kenapa bahasa yang tergolong masih muda ini bisa cepat banget populer di kalangan pengembang \u003Cem>backend\u003C\u002Fem>? Yuk, kita bahas bareng. 😎\u003C\u002Fp>\n\u003Ch2 id=\"alasan-di-balik-kelahiran-go\">Alasan di Balik Kelahiran Go\u003C\u002Fh2>\n\u003Cp>Go dikembangkan di Google sekitar tahun 2007 oleh tiga pakar ilmu komputer legendaris: Robert Griesemer, Rob Pike, dan Ken Thompson. Versi publiknya baru dirilis tahun 2009.\u003C\u002Fp>\n\u003Cp>Waktu itu, para pengembang di Google dihadapkan pada dilema klasik saat milih bahasa pemrograman.\u003C\u002Fp>\n\u003Cp>C\u002FC++ sangat kencang dan efisien, tapi waktu kompilasinya (\u003Cem>compile time\u003C\u002Fem>) lelet dan manajemen memorinya rumit. Python dan Ruby sintaksnya indah dan nyaman ditulis, tapi eksekusinya lambat buat skala aplikasi raksasa. Java bertenaga, tapi sering terasa terlalu kaku alias \u003Cem>verbose\u003C\u002Fem> dengan konfigurasi yang menumpuk.\u003C\u002Fp>\n\u003Cp>Go diciptakan buat ngambil keunggulan dari ketiga dunia itu sekaligus: performa setara C\u002FC++, kemudahan penulisan yang mendekati Python, plus proses kompilasi yang super cepat.\u003C\u002Fp>\n\u003Ch2 id=\"fitur-unggulan-bahasa-go\">Fitur Unggulan Bahasa Go\u003C\u002Fh2>\n\u003Cp>Ini beberapa alasan utama yang bikin Go disukai buat sistem \u003Cem>backend\u003C\u002Fem>:\u003C\u002Fp>\n\u003Col>\n\u003Cli>\u003Cem>Statically typed &amp; compiled\u003C\u002Fem>: Go dikompilasi langsung jadi satu \u003Cem>single binary file\u003C\u002Fem>, jadi dia nggak butuh \u003Cem>virtual machine\u003C\u002Fem> kayak JVM atau \u003Cem>interpreter\u003C\u002Fem>.\u003C\u002Fli>\n\u003Cli>Kompilasi super cepat: proses build kode Go cuma makan waktu hitungan detik.\u003C\u002Fli>\n\u003Cli>Sintaks simpel dan minimalis: Go sengaja dirancang tanpa fitur rumit yang nggak perlu. Cuma ada 25 keyword dasar, lho!\u003C\u002Fli>\n\u003Cli>\u003Cem>Garbage collection\u003C\u002Fem>: mencegah \u003Cem>memory leak\u003C\u002Fem> tanpa kita harus ngatur memori manual kayak di C\u002FC++, yang gampang bocor kalau nggak teliti.\u003C\u002Fli>\n\u003Cli>\u003Cem>Built-in concurrency\u003C\u002Fem>: penanganan konkurensi bawaan lewat \u003Cstrong>Goroutine\u003C\u002Fstrong> dan \u003Cstrong>Channel\u003C\u002Fstrong>.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"goroutine-channel-konkurensi-ringan-dan-mudah\">Goroutine &amp; Channel: Konkurensi Ringan dan Mudah\u003C\u002Fh2>\n\u003Cp>Fitur paling ikonik dari Go adalah \u003Cstrong>Goroutine\u003C\u002Fstrong>. OS \u003Cem>thread\u003C\u002Fem> biasa bisa makan memori sampai 1-2 MB per \u003Cem>thread\u003C\u002Fem>. Sebuah Goroutine? Cuma butuh memori awal sekitar \u003Cstrong>2 KB\u003C\u002Fstrong>!\u003C\u002Fp>\n\u003Cp>Artinya, kalian bisa menjalankan puluhan ribu sampai ratusan ribu Goroutine sekaligus di satu mesin, tanpa bikin RAM ngos-ngosan.\u003C\u002Fp>\n\u003Cp>Ibaratnya gini. OS \u003Cem>thread\u003C\u002Fem> itu kayak nyewa satu bus besar cuma buat nganter satu penumpang. Goroutine lebih kayak armada sepeda motor lincah yang bisa jalan barengan, ngangkut ribuan penumpang dengan bensin jauh lebih hemat.\u003C\u002Fp>\n\u003Cp>Buat komunikasi antar Goroutine, Go nyediain \u003Cstrong>Channel\u003C\u002Fstrong>. Jadi proses berbagi data antar \u003Cem>thread\u003C\u002Fem> berjalan aman tanpa bentrok atau \u003Cem>race condition\u003C\u002Fem>.\u003C\u002Fp>\n\u003Ch2 id=\"contoh-kode-http-server-sederhana-di-go\">Contoh Kode HTTP Server Sederhana di Go\u003C\u002Fh2>\n\u003Cp>Tanpa perlu install \u003Cem>framework\u003C\u002Fem> atau \u003Cem>library\u003C\u002Fem> pihak ketiga, Go udah dibekali modul standar (\u003Ccode>net\u002Fhttp\u003C\u002Fcode>) yang siap pakai buat bikin \u003Cem>server\u003C\u002Fem> HTTP:\u003C\u002Fp>\n\n\u003Cdiv class=\"code-block-wrapper my-6 not-prose rounded-xl border-2 border-black dark:border-gray-600 shadow-neo overflow-hidden bg-[#24292e] text-[#e1e4e8] transition-all\">\n  \u003Cdiv class=\"code-block-header flex items-center justify-between px-4 py-2.5 bg-[#1f2428] border-b-2 border-black dark:border-gray-600 font-mono text-xs font-bold text-gray-300 select-none\">\n    \u003Cdiv class=\"flex items-center gap-2\">\n      \u003Cspan class=\"w-3 h-3 rounded-full bg-[#ff5f56] border border-black\u002F40 inline-block\">\u003C\u002Fspan>\n      \u003Cspan class=\"w-3 h-3 rounded-full bg-[#ffbd2e] border border-black\u002F40 inline-block\">\u003C\u002Fspan>\n      \u003Cspan class=\"w-3 h-3 rounded-full bg-[#27c93f] border border-black\u002F40 inline-block\">\u003C\u002Fspan>\n      \u003Cspan class=\"ml-2 font-mono font-bold text-xs uppercase tracking-wider text-gray-300\">GO\u003C\u002Fspan>\n    \u003C\u002Fdiv>\n    \u003Cbutton type=\"button\" class=\"copy-code-btn flex items-center gap-1.5 px-3 py-1 text-xs font-bold bg-[#2f363d] text-gray-200 border-2 border-black dark:border-gray-500 rounded-lg shadow-neo-sm hover:translate-x-0.5 hover:translate-y-0.5 hover:shadow-none hover:bg-gray-700 transition-all cursor-pointer\" data-code=\"package%20main%0A%0Aimport%20(%0A%09%22fmt%22%0A%09%22net%2Fhttp%22%0A)%0A%0Afunc%20main()%20%7B%0A%09http.HandleFunc(%22%2F%22%2C%20func(w%20http.ResponseWriter%2C%20r%20*http.Request)%20%7B%0A%09%09fmt.Fprintf(w%2C%20%22Halo%20dari%20HTTP%20Server%20Go%20%26%20Invasikode!%22)%0A%09%7D)%0A%0A%09fmt.Println(%22Server%20berjalan%20di%20http%3A%2F%2Flocalhost%3A8080%22)%0A%09http.ListenAndServe(%22%3A8080%22%2C%20nil)%0A%7D\" title=\"Salin kode\">\n      \u003Csvg class=\"w-3.5 h-3.5 copy-icon-svg\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\">\n        \u003Cpath stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Cspan class=\"copy-text\">Copy\u003C\u002Fspan>\n    \u003C\u002Fbutton>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"code-block-content p-4 overflow-x-auto text-sm font-mono leading-relaxed bg-[#24292e]\">\n    \u003Cpre class=\"shiki github-dark\" style=\"background-color:#24292e;color:#e1e4e8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#F97583\">package\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\"> main\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#F97583\">import\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\"> (\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#9ECBFF\">\t\"\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">fmt\u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#9ECBFF\">\t\"\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">net\u002Fhttp\u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\">\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E1E4E8\">)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#F97583\">func\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\"> main\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">() {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E1E4E8\">\thttp.\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">HandleFunc\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\">\"\u002F\"\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"color:#F97583\">func\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"color:#FFAB70\">w\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\"> http\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">.\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">ResponseWriter\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"color:#FFAB70\">r\u003C\u002Fspan>\u003Cspan style=\"color:#F97583\"> *\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">http\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">.\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">Request\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">) {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E1E4E8\">\t\tfmt.\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">Fprintf\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">(w, \u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\">\"Halo dari HTTP Server Go &#x26; Invasikode!\"\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E1E4E8\">\t})\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E1E4E8\">\tfmt.\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">Println\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\">\"Server berjalan di http:\u002F\u002Flocalhost:8080\"\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E1E4E8\">\thttp.\u003C\u002Fspan>\u003Cspan style=\"color:#B392F0\">ListenAndServe\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\">\":8080\"\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"color:#79B8FF\">nil\u003C\u002Fspan>\u003Cspan style=\"color:#E1E4E8\">)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E1E4E8\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\u003Cp>Cukup simpan kode di atas sebagai \u003Ccode>main.go\u003C\u002Fcode>, lalu jalankan:\u003C\u002Fp>\n\n\u003Cdiv class=\"code-block-wrapper my-6 not-prose rounded-xl border-2 border-black dark:border-gray-600 shadow-neo overflow-hidden bg-[#24292e] text-[#e1e4e8] transition-all\">\n  \u003Cdiv class=\"code-block-header flex items-center justify-between px-4 py-2.5 bg-[#1f2428] border-b-2 border-black dark:border-gray-600 font-mono text-xs font-bold text-gray-300 select-none\">\n    \u003Cdiv class=\"flex items-center gap-2\">\n      \u003Cspan class=\"w-3 h-3 rounded-full bg-[#ff5f56] border border-black\u002F40 inline-block\">\u003C\u002Fspan>\n      \u003Cspan class=\"w-3 h-3 rounded-full bg-[#ffbd2e] border border-black\u002F40 inline-block\">\u003C\u002Fspan>\n      \u003Cspan class=\"w-3 h-3 rounded-full bg-[#27c93f] border border-black\u002F40 inline-block\">\u003C\u002Fspan>\n      \u003Cspan class=\"ml-2 font-mono font-bold text-xs uppercase tracking-wider text-gray-300\">BASH\u003C\u002Fspan>\n    \u003C\u002Fdiv>\n    \u003Cbutton type=\"button\" class=\"copy-code-btn flex items-center gap-1.5 px-3 py-1 text-xs font-bold bg-[#2f363d] text-gray-200 border-2 border-black dark:border-gray-500 rounded-lg shadow-neo-sm hover:translate-x-0.5 hover:translate-y-0.5 hover:shadow-none hover:bg-gray-700 transition-all cursor-pointer\" data-code=\"go%20run%20main.go\" title=\"Salin kode\">\n      \u003Csvg class=\"w-3.5 h-3.5 copy-icon-svg\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\">\n        \u003Cpath stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Cspan class=\"copy-text\">Copy\u003C\u002Fspan>\n    \u003C\u002Fbutton>\n  \u003C\u002Fdiv>\n  \u003Cdiv class=\"code-block-content p-4 overflow-x-auto text-sm font-mono leading-relaxed bg-[#24292e]\">\n    \u003Cpre class=\"shiki github-dark\" style=\"background-color:#24292e;color:#e1e4e8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#B392F0\">go\u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\"> run\u003C\u002Fspan>\u003Cspan style=\"color:#9ECBFF\"> main.go\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\u003Cp>Dalam sekejap, \u003Cem>server\u003C\u002Fem> HTTP berkinerja tinggi kalian udah aktif dan siap melayani \u003Cem>request\u003C\u002Fem>.\u003C\u002Fp>\n\u003Ch2 id=\"tertarik-nyobain-go-di-proyek-baru\">Tertarik Nyobain Go di Proyek Baru?\u003C\u002Fh2>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fgo.dev\u002F\">Go\u003C\u002Fa> membuktikan kalau bahasa \u003Cem>backend\u003C\u002Fem> modern nggak harus rumit dan bertele-tele buat bisa jalan super kencang. Dengan 25 keyword dasar, kompilasi kilat langsung ke \u003Cem>single binary\u003C\u002Fem>, plus keajaiban \u003Ca href=\"https:\u002F\u002Fgo.dev\u002Ftour\u002Fconcurrency\u002F1\">Goroutine\u003C\u002Fa> yang hemat memori (~2 KB), wajar banget kalau Go jadi primadona baru di dunia \u003Cem>cloud\u003C\u002Fem> dan mikroservis.\u003C\u002Fp>\n\u003Cp>Kalau kalian lagi merancang sistem dengan kebutuhan \u003Cem>concurrency\u003C\u002Fem> tinggi, atau pengen bikin \u003Cem>microservices\u003C\u002Fem> yang ramping dan bertenaga, Go jelas layak masuk daftar belajar kalian.\u003C\u002Fp>\n\u003Cp>Selamat ber-Go ria, dan semoga RAM kalian selalu lega walau Goroutine-nya ngebut barengan! 👋\u003C\u002Fp>\n","\u003Cul>\n\u003Cli>Go dikompilasi langsung jadi satu \u003Cem>single binary\u003C\u002Fem> bertenaga tinggi, jadi dia nggak butuh \u003Cem>virtual machine\u003C\u002Fem> atau \u003Cem>interpreter\u003C\u002Fem> eksternal.\u003C\u002Fli>\n\u003Cli>Goroutine cuma makan memori awal sekitar 2 KB per unit, jauh lebih hemat dibanding OS \u003Cem>thread\u003C\u002Fem> yang bisa 1-2 MB.\u003C\u002Fli>\n\u003Cli>Channel bikin komunikasi antar Goroutine berjalan aman dan bebas dari \u003Cem>race condition\u003C\u002Fem>.\u003C\u002Fli>\n\u003Cli>Standard library bawaan Go sangat kaya dan udah siap pakai buat bikin \u003Cem>HTTP server\u003C\u002Fem> tanpa \u003Cem>framework\u003C\u002Fem> pihak ketiga.\u003C\u002Fli>\n\u003C\u002Ful>\n",[124,142,155,168,181,202],{"id":125,"title":126,"title_en":21,"slug":127,"excerpt":128,"excerpt_en":21,"has_translation":15,"published_at":129,"reading_time":130,"hidden_from_listing":15,"tags":131,"thumbnail_image":21,"og_image":134,"series":135,"authors":139},133,"Python Strings: the Badge That Only Worked for One Name","python-strings","The badge script printed the right name for the person who wrote it and the wrong name for everybody else. Slicing counts characters, and a name is words.","2026-10-28T13:00:00.000Z",6,[132,133],"python","string","\u002Fog\u002Fpython-strings.png",{"id":74,"title":136,"title_en":137,"slug":138},"Koleksi dan String","Collections and Strings","python-collections",[140],{"authors_id":141},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},{"id":143,"title":144,"title_en":21,"slug":145,"excerpt":146,"excerpt_en":21,"has_translation":15,"published_at":147,"reading_time":130,"hidden_from_listing":15,"tags":148,"thumbnail_image":21,"og_image":150,"series":151,"authors":152},132,"Python Tuples: Why All Three Points Are the Same Point","python-tuples","Three points walk into a loop and come out identical. The list was never copied three times; the name was. A tuple makes that bug impossible.","2026-10-28T12:00:00.000Z",[132,149],"tuple","\u002Fog\u002Fpython-tuples.png",{"id":74,"title":136,"title_en":137,"slug":138},[153],{"authors_id":154},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},{"id":156,"title":157,"title_en":21,"slug":158,"excerpt":159,"excerpt_en":21,"has_translation":15,"published_at":160,"reading_time":130,"hidden_from_listing":15,"tags":161,"thumbnail_image":21,"og_image":163,"series":164,"authors":165},131,"Python Sets: the Duplicate That Keeps Coming Back","python-sets","A de-duplication loop that works on clean data leaves four tags where there should be two. The bug is case, and the fix is a `set`.","2026-10-28T11:00:00.000Z",[132,162],"set","\u002Fog\u002Fpython-sets.png",{"id":74,"title":136,"title_en":137,"slug":138},[166],{"authors_id":167},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},{"id":169,"title":170,"title_en":21,"slug":171,"excerpt":172,"excerpt_en":21,"has_translation":15,"published_at":173,"reading_time":130,"hidden_from_listing":15,"tags":174,"thumbnail_image":21,"og_image":176,"series":177,"authors":178},130,"Python Dictionaries: the Key That Isn't There","python-dictionary","A word counter dies the first time it meets a word twice. The fix is one line; what takes longer is knowing which of a dict's three lookups to reach for.","2026-10-28T10:00:00.000Z",[132,175],"dictionary","\u002Fog\u002Fpython-dictionary.png",{"id":74,"title":136,"title_en":137,"slug":138},[179],{"authors_id":180},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},{"id":182,"title":183,"title_en":184,"slug":185,"excerpt":186,"excerpt_en":187,"has_translation":12,"published_at":188,"reading_time":14,"hidden_from_listing":15,"tags":189,"thumbnail_image":21,"og_image":196,"series":197,"authors":199},129,"Biar RAG nggak kena 504: pisahin jalur query dan ingestion","So Your RAG Stops Hitting 504: Split the Query Path From Ingestion","rag-pisah-jalur-query-dan-ingestion","Satu service RAG yang merangkap parsing dan menjawab kueri bakal tumbang pas ada yang upload PDF 200 halaman. Obatnya dua jalur dan satu queue.","One RAG service that both parses uploads and answers queries will fall over the moment someone uploads a 200-page PDF. The cure is two paths and one queue.","2026-10-22T01:30:00.000Z",[190,191,192,193,194,195],"rag","cloud-run","cloud-tasks","gcp","serverless","arsitektur","\u002Fog\u002Frag-pisah-jalur-query-dan-ingestion.png",{"id":198,"title":35,"title_en":36,"slug":37},8,[200],{"authors_id":201},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},{"id":203,"title":204,"title_en":205,"slug":206,"excerpt":207,"excerpt_en":208,"has_translation":12,"published_at":209,"reading_time":130,"hidden_from_listing":15,"tags":210,"thumbnail_image":21,"og_image":217,"series":218,"authors":219},128,"Linear atau graf: cara mengatur banyak agent tanpa loop abadi","Linear or Graph: How to Run Many Agents Without an Eternal Loop","multi-agen-linear-atau-grafik","Satu agent dengan dua puluh tool gampang kacau. Begitu beberapa agent saling revisi, kamu butuh graf yang mendukung cycle dan angka yang membuatnya berhenti.","One agent with twenty tools gets messy fast. Once several agents revise each other, you need a graph that allows cycles and a number that makes it stop.","2026-10-21T16:05:00.000Z",[211,212,213,214,215,216],"multi-agent","langgraph","autogen","orkestrasi","checkpoint","llm","\u002Fog\u002Fmulti-agen-linear-atau-grafik.png",{"id":198,"title":35,"title_en":36,"slug":37},[220],{"authors_id":221},{"id":99,"name":100,"slug":101,"role":102,"profile_picture":21},[223,227,230,233,236],{"text":224,"depth":225,"id":226},"Alasan di Balik Kelahiran Go",2,"alasan-di-balik-kelahiran-go",{"text":228,"depth":225,"id":229},"Fitur Unggulan Bahasa Go","fitur-unggulan-bahasa-go",{"text":231,"depth":225,"id":232},"Goroutine & Channel: Konkurensi Ringan dan Mudah","goroutine-channel-konkurensi-ringan-dan-mudah",{"text":234,"depth":225,"id":235},"Contoh Kode HTTP Server Sederhana di Go","contoh-kode-http-server-sederhana-di-go",{"text":237,"depth":225,"id":238},"Tertarik Nyobain Go di Proyek Baru?","tertarik-nyobain-go-di-proyek-baru",1793295833917]