Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Sun, 03 Oct 2021 08:27: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 A use case for Go generics in a Go compiler #experiencereport #go2 This is a (very) rare work-related entry. I mostly work on the compiler for a programming language named “Go”, and one of the problems we face is if and how we should add “generics” to a future version of Go. I can’t possibly summarize easily for a non-technical reader, but the TLDR version is (1) lots of other languages have generics (2) we’re pretty sure they’re useful (3) but they come with associated costs and complexity and we’re not sure they’re worth it. Also, “generics” is not just a single thing, there’s several semantic variants and several ways to implement them (for example, erased versus dictionary-passing versus template-stamping).  6 points posted by daenney https://dr2chase.wordpress.com/2017/08/09/a-use-case-for-go-generics-in-a-go-compiler 2499 Thu, 10 Aug 2017 13:51:00 +0000 The go compiler needs to be smarter 5 points posted by kenny https://lemire.me/blog/2020/06/04/the-go-compiler-needs-to-be-smarter 4372 Fri, 05 Jun 2020 05:00:00 +0000 Go compiler internals - adding a new statement to go 5 points posted by lolly https://eli.thegreenplace.net/2019/go-compiler-internals-adding-a-new-statement-to-go-part-1 4040 Fri, 05 Jul 2019 07:01:00 +0000 Go compiler intrinsics 4 points posted by kenny https://dave.cheney.net/2019/08/20/go-compiler-intrinsics 4087 Sun, 25 Aug 2019 11:17:00 +0000 Announcing Project Athens and GopherSource for the Go community 4 points posted by John Doak https://open.microsoft.com/2018/08/28/announcing-project-athens-gophersource-go-community/ 3523 Tue, 28 Aug 2018 19:05:00 +0000 Bloaty puffs and the go compiler 3 points posted by kenny https://paper.dropbox.com/doc/Bloaty-Puffs-and-the-Go-Compiler--A4OkwhhEeIDfusOEt5ZYie6jAg-YiblPOe6AD2tKfEj5RzFT 4407 Wed, 22 Jul 2020 12:45:00 +0000