Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 13 Mar 2024 14:05:00 +0000 Go state machine patterns 1 points posted by John Doak https://medium.com/@johnsiilver/go-state-machine-patterns-3b667f345b5e 4838 Wed, 13 Mar 2024 14:05:00 +0000 Go: And Leave Your Java Factories Behind 1 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 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 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 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 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 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 Bencher - continuous benchmarking infrastructure 4 points posted by tomf https://medium.com/orijtech-developers/bencher-b60cc82e3ef1 4625 Wed, 01 Sep 2021 11:25: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 Using ssh and domain sockets for serving 3 points posted by John Doak https://medium.com/@johnsiilver/go-using-ssh-and-domain-sockets-for-serving-3a037e00d5a7?source=user_profile---------0------------------------------- 4651 Fri, 05 Nov 2021 16:17: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 Webassembly running go code in the browser Learning to build a Beautifier JSON online service in Go and make it run in the browser with <b>Webassembly</b> 2 points posted by IVAN CORRALES SOLERA https://ivan-corrales-solera.medium.com/webassembly-running-go-code-in-the-browser-916d87456e5f 4726 Fri, 29 Apr 2022 09:07:00 +0000 Testing Grpc methods 1 points posted by John Doak https://medium.com/@johnsiilver/testing-grpc-methods-6a8edad4159d 4806 Mon, 12 Jun 2023 16:09:00 +0000 Writing an interface that only sub packages can implement 1 points posted by John Doak https://medium.com/@johnsiilver/writing-an-interface-that-only-sub-packages-can-implement-fe36e7511449 4805 Sat, 10 Jun 2023 00:06:00 +0000 Maximizing resilience with graceful shutdown in cloud native golang applications 1 points posted by madflojo https://madflojo.medium.com/maximizing-resilience-with-graceful-shutdown-in-cloud-native-golang-applications-7f0b2edef4a8 4789 Mon, 06 Feb 2023 10:14:00 +0000 Slice length vs capacity in go 1 points posted by teivah https://teivah.medium.com/slice-length-vs-capacity-in-go-af71a754b7d8 4778 Wed, 09 Nov 2022 14:02:00 +0000 Maps and Memory Leaks in Go 1 points posted by teivah https://teivah.medium.com/maps-and-memory-leaks-in-go-a85ebe6e7e69 4771 Wed, 28 Sep 2022 09:54:00 +0000 Making golang packages thread-safe 1 points posted by madflojo https://madflojo.medium.com/making-golang-packages-thread-safe-bb9592aeab92 4769 Mon, 05 Sep 2022 13:57: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