Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 25 Sep 2024 08:02:00 +0000 Go state machine patterns 3 points posted by John Doak https://medium.com/@johnsiilver/go-state-machine-patterns-3b667f345b5e 4838 Wed, 13 Mar 2024 14:05:00 +0000 Trampled-over Go Devs find Donald J. Trump inspirational 1 points posted by pj https://medium.com/@rocketlaunchr.cloud/bfb19d508356 4869 Thu, 31 Oct 2024 22:15:00 +0000 Go: And Leave Your Java Factories Behind 2 points posted by John Doak https://medium.com/@johnsiilver/go-and-leave-your-java-factories-behind-179067818e9f 4837 Tue, 12 Mar 2024 16:33:00 +0000 Go optional arguments in the age of generics 1 points posted by John Doak https://medium.com/@johnsiilver/go-optional-arguments-in-the-age-of-generics-f8eba23103ad 4866 Tue, 22 Oct 2024 21:43:00 +0000 Fighting zombie dependencies in go 8 points posted by kenny https://dlorenc.medium.com/zombie-dependencies-77c34740a7a8 4557 Fri, 12 Mar 2021 07:11:00 +0000 Understanding allocations in Go 7 points posted by gopher https://medium.com/eureka-engineering/understanding-allocations-in-go-stack-heap-memory-9a2631b5035d 4546 Tue, 23 Feb 2021 20:32:00 +0000 How to structure a go command line project 5 points posted by madflojo https://medium.com/swlh/how-to-structure-a-go-command-line-project-788c318a1d8c 4634 Mon, 20 Sep 2021 14:20:00 +0000 Go errors with additional details 5 points posted by romanyx https://romanyx90.medium.com/go-errors-with-additional-details-66873577f3a9 4587 Tue, 04 May 2021 18:25:00 +0000 How to write accurate benchmarks in Go #golang 4 points posted by teivah https://teivah.medium.com/how-to-write-accurate-benchmarks-in-go-4266d7dd1a95 4767 Wed, 31 Aug 2022 10:56:00 +0000 Profile photos, privacy, and social media 4 points posted by pj https://medium.com/@rocketlaunchr.cloud/profile-photos-privacy-and-social-media-e66a908cd054 4711 Thu, 07 Apr 2022 07:37:00 +0000 When to Use Generics in Go? 4 points posted by teivah https://teivah.medium.com/36d49c1aeda 4666 Wed, 15 Dec 2021 21:55:00 +0000 Go call option that can be used with multiple methods 3 points posted by johnsiilver https://medium.com/dev-genius/go-call-option-that-can-be-used-with-multiple-methods-6c81734f3dbe 4760 Sat, 06 Aug 2022 15:55:00 +0000 Organizing projects and defining names in Go 2 points posted by Elton Minetto https://medium.com/inside-picpay/organizing-projects-and-defining-names-in-go-7f0eab45375d 4803 Fri, 26 May 2023 11:56:00 +0000 Socket Options and Go: multiple listeners, one port 2 points posted by madflojo https://madflojo.medium.com/socket-options-go-multiple-listeners-one-port-7e5257044bb1 4795 Wed, 05 Apr 2023 02:29:00 +0000 Go: support universal binaries using shell script 2 points posted by johnsiilver https://medium.com/@johnsiilver/go-support-universal-binaries-using-shell-script-ec9478ac716 4763 Thu, 18 Aug 2022 16:27:00 +0000 Test smarter not harder: harnessing table tests in Go 1 points posted by madflojo https://madflojo.medium.com/test-smarter-not-harder-harnessing-table-tests-in-go-f752890c2676 4815 Mon, 31 Jul 2023 22:37:00 +0000 A tale of three kings - Python, Elixir and Go #performance How we tested Python, Elixir and Go’s abilities to rebuild some of Unbabel’s core services 16 points posted by norbertfuhs https://medium.com/unbabel-dev/a-tale-of-three-kings-e0be17a16e2b 1880 Mon, 06 Mar 2017 17:38:00 +0000 Running go on low memory devices 15 points posted by kenny https://medium.com/samsara-engineering/running-go-on-low-memory-devices-536e1ca2fe8f 2590 Wed, 30 Aug 2017 18:53:00 +0000 A walkthrough of pkg strconv 14 points posted by kenny https://medium.com/@benbjohnson/go-walkthrough-strconv-7a24632a9e73 1083 Sun, 18 Sep 2016 06:37:00 +0000 Iterative optimization on hot paths 13 points posted by kenny https://medium.com/samsara-engineering/iterative-optimization-on-hot-paths-c89827749c20 3595 Thu, 04 Oct 2018 19:28:00 +0000 How I write Go HTTP services after seven years – Mat Ryer – Medium I’ve been writing Go (Golang when written down) since r59 — a pre 1.0 release — and have been building HTTP APIs and services in Go for the past seven years. At Machine Box, most of my technical work… 13 points posted by kenny https://medium.com/@matryer/how-i-write-go-http-services-after-seven-years-37c208122831 3333 Thu, 10 May 2018 06:41:00 +0000 Introducing vice - go channels across many machines #concurrency #goroutines <p name="bd61" id="bd61" class="graf graf--p graf-after--figure">Concurrency is a great way to get more stuff done faster. Go channels are perfect for enabling multiple concurrent goroutines to safely communicate within a single process, but if we want to let multiple machines/nodes communicate in a similar way, we have to write completely different code and integrate with messaging queues, gRPC, or something else. Until now.</p> 13 points posted by kenny https://medium.com/@matryer/introducing-vice-go-channels-across-many-machines-bcac1147d7e2 2445 Fri, 28 Jul 2017 14:28:00 +0000 Code boilerplate, is it always bad? #errors #python 13 points posted by kenny https://medium.com/@shazow/code-boilerplate-is-it-always-bad-934827efcfc7 2163 Wed, 03 May 2017 19:49:00 +0000 Http load balancing on grpc services #grpc 13 points posted by lolly https://medium.com/@gdm85/http-load-balancing-on-grpc-services-e3d702db05d7 1192 Thu, 03 Nov 2016 10:37:00 +0000 Calling go from swift 13 points posted by drogo https://medium.com/@rakyll/calling-go-from-swift-be88709942c3 150 Tue, 06 Oct 2015 16:05:00 +0000 Deploy Full Serverless Applications with a Single Command One of our main objectives with the Fn Project is to have a very easy and elegant user experience. From your first touch with our quickstart to building and deploying complex applications, we want to… 12 points posted by kenny https://medium.com/fnproject/deploy-full-serverless-applications-with-a-single-command-4f16e3707d26 3070 Wed, 03 Jan 2018 18:47:00 +0000 Bit hacking with go In the good old days of computing when memory was expensive and processing power was at premium, hacking on bits directly was the preferred (in some cases the only) way to process information. Today, direct bit manipulation is still crucial in many computing use cases such as low-level system programming, image processing, cryptography, etc. 12 points posted by andythomas https://medium.com/learning-the-go-programming-language/bit-hacking-with-go-e0acee258827 1667 Fri, 03 Feb 2017 10:17:00 +0000 Why go? 12 points posted by drogo https://medium.com/@joaoh82/why-go-ef8850dc5f3c 1249 Mon, 21 Nov 2016 18:58:00 +0000 Daily code optimization using benchmarks and profiling #gophercon #profiling A gophercon india 2016 talk by Karthic Rao - need some help with analyzing whether algorithm A performs faster than B? Or can I know whether method A performs better than method B? Or is approach A to send JSON response to the client performs better than approach B? How to find answers for everyday performance related questions? 12 points posted by lolly https://medium.com/@hackintoshrao/daily-code-optimization-using-benchmarks-and-profiling-in-golang-gophercon-india-2016-talk-874c8b4dc3c5 612 Sat, 20 Feb 2016 23:58:00 +0000 Introducing silk - markdown driven api tests #docs 12 points posted by kenny https://medium.com/@matryer/introducing-silk-markdown-driven-api-tests-1f8cfb0ef99a 599 Wed, 17 Feb 2016 22:21:00 +0000 Doing Well by Doing Bad: Writing Bad Code with Go What if easy-to-understand code is not in my best interest. Maybe I should write unmaintainable code for the job security? Which got me thinking about how to bring bad design to Go programs. 11 points posted by kenny https://medium.com/capital-one-tech/doing-well-by-doing-bad-writing-bad-code-with-go-part-1-2dbb96ce079a 3613 Tue, 16 Oct 2018 20:00:00 +0000 Go code refactoring : the 23x performance hunt – Val Deleplace – Medium I read an article called "Good Code vs Bad Code in Golang" and tweaked the provided source code to make the execution time as fast as possible. 11 points posted by kenny https://medium.com/@val_deleplace/go-code-refactoring-the-23x-performance-hunt-156746b522f7 3380 Mon, 11 Jun 2018 16:08:00 +0000 Should I Rust, or Should I Go Blogpost comparing Rust with Go&nbsp; by Atari Safari <br> 11 points posted by norbertfuhs https://medium.com/@atari.safari/should-i-rust-or-should-i-go-59a298e00ea9 2879 Thu, 02 Nov 2017 10:45:00 +0000 Building distributed systems and Microservices in Go with Nats Streaming 11 points posted by Brian Flannery https://medium.com/@shijuvar/building-distributed-systems-and-microservices-in-go-with-nats-streaming-d8b4baa633a2 2801 Sat, 14 Oct 2017 16:36:00 +0000 Streaming IO in Go #medium Blogpost about IO streaming basics with io.reader and io.writer by @VladimirVivien the author of Learning Go Programming https://www.packtpub.com/application-development/learning-go-programming<br> 11 points posted by norbertfuhs https://medium.com/learning-the-go-programming-language/streaming-io-in-go-d93507931185 2655 Thu, 14 Sep 2017 17:35:00 +0000 What is the future for go? 11 points posted by tomf https://medium.com/@IndianGuru/what-is-the-future-for-go-e002b06a240b 2179 Sun, 07 May 2017 13:31:00 +0000 5 Reasons Why We switched from Python To Go #medium Blog post by @tigranbs Founder/CEO at TreeScale.com 11 points posted by norbertfuhs https://medium.com/@tigranbs/5-reasons-why-we-switched-from-python-to-go-4414d5f42690 2049 Fri, 07 Apr 2017 05:39:00 +0000 Golangspec - to understand Go’s specification 11 points posted by lolly https://medium.com/golangspec 1368 Fri, 16 Dec 2016 09:21:00 +0000 Go walkthrough of the fmt pkg 11 points posted by kenny https://medium.com/@benbjohnson/go-walkthrough-fmt-55a14bbbfc53 1094 Wed, 21 Sep 2016 16:57:00 +0000 A walkthrough of the io package 11 points posted by kenny https://medium.com/@benbjohnson/go-walkthrough-io-package-8ac5e95a9fbd 969 Mon, 01 Aug 2016 19:31:00 +0000 Making the switch from node.js to Go at digg 11 points posted by kenny https://medium.com/@theflapjack103/the-way-of-the-gopher-6693db15ae1f 735 Sat, 26 Mar 2016 17:23:00 +0000 I wrote some golang and it felt great 10 points posted by kenny https://medium.com/@chrisgregori/i-wrote-some-golang-and-it-felt-great-3c3367a67db5 2184 Mon, 08 May 2017 14:32:00 +0000 Don't use go's default http client 10 points posted by Jingtao https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779 2103 Wed, 19 Apr 2017 15:43:00 +0000 Linux netlink and Go 10 points posted by kenny https://medium.com/@mdlayher/linux-netlink-and-go-part-1-netlink-4781aaeeaca8 1789 Tue, 21 Feb 2017 21:16:00 +0000 Chaos prediction using aws machine learning, go, and the mandelbrot set 10 points posted by kenny https://medium.com/@_orcaman/chaos-prediction-and-golang-using-aws-machine-learning-to-mispredict-the-mandelbrot-set-45a87a72b2f 1162 Sun, 23 Oct 2016 20:04:00 +0000 A walkthrough of the go encoding package 10 points posted by gopher https://medium.com/@benbjohnson/go-walkthrough-encoding-package-bc5e912232d 995 Wed, 17 Aug 2016 15:23:00 +0000 How to fuzz Go packages #tutorial #testing #fuzzing 10 points posted by kenny https://medium.com/@dgryski/go-fuzz-github-com-arolek-ase-3c74d5a3150c 684 Fri, 11 Mar 2016 08:51:00 +0000 So you want to write a package manager 10 points posted by kenny https://medium.com/@sdboyer/so-you-want-to-write-a-package-manager-4ae9c17d9527 581 Fri, 12 Feb 2016 17:24:00 +0000 A replacement for database sql 9 points posted by pj https://medium.com/@rocketlaunchr.cloud/a-replacement-for-database-sql-f25d01fbe9b1 4293 Mon, 13 Apr 2020 23:50:00 +0000 Golang: are we webassembly yet? For the past several months, I’ve been working on an open source project called <a href="https://waxosuit.io/" class="bz dk lv lw lx ly" target="_blank">Waxosuit</a>&nbsp;— a secure, cloud-native host runtime for WebAssembly modules. This project is written in <a href="https://github.com/waxosuit/waxosuit" class="bz dk lv lw lx ly" target="_blank">Rust</a>&nbsp;and takes advantage of a number of incredibly powerful Rust libraries and tools for manipulating and interpreting WebAssembly modules. Since before I wrote the first line of code, I’ve always anticipated creating a Go SDK for building guest modules (currently Waxosuit only has a <a href="https://github.com/waxosuit/wascap-guest" class="bz dk lv lw lx ly" target="_blank">Rust guest SDK</a>). I started looking into the Wasm ecosystem for Go and was surprised to discover a number of gaps. 9 points posted by kenny https://medium.com/@KevinHoffman/golang-are-we-webassembly-yet-e0a2e180fc98 4106 Sun, 08 Sep 2019 07:31:00 +0000