News for hackers. Stuff that matters.
Re:TinyGo: New Go Compiler Based on LLVM by mook on Friday July 19, 2019 @12:00AM (#20476065)
While I have no insight to their plans, perhaps a non-GC toolchain could still be used for short-lived programs (such as command line tools)? Don't even need to free anything if it's short enough, the OS can deal with it when the process exits
Re:TinyGo: New Go Compiler Based on LLVM by antisemiotic on Friday July 19, 2019 @06:28AM (#20477431)
>a non-GC toolchain could still be used for short-lived programs (such as command line tools)

Or missile firmware: https://groups.google.com/forum/message/raw?msg=comp.lang.ad...

Re:TinyGo: New Go Compiler Based on LLVM by iampims on Friday July 19, 2019 @12:56AM (#20476282)
You can already do this: GOGC=off [1]

[1] https://blog.cloudflare.com/go-dont-collect-my-garbage/

Re:TinyGo: New Go Compiler Based on LLVM by aykevl on Friday July 19, 2019 @09:28AM (#20478437)
https://tinygo.org/usage/important-options/ Take a look at the `-gc` flag. The values have changed in the latest version (need to update the docs!) but it does provide an option to disable the GC entirely.