News for hackers. Stuff that matters.
Re:TinyGo: New Go Compiler Based on LLVM by IshKebab on Friday July 19, 2019 @04:58AM (#20477132)
Also they're targeting a BBC:Microbit, which has an nRF51822 - the smaller version with only 16 kB of RAM. 16 kB! How is garbage collection going to work here for anything but the most trivial examples?
Re:TinyGo: New Go Compiler Based on LLVM by opless on Friday July 19, 2019 @05:32AM (#20477236)
You can run MicroPython on the nRF51822. That's a GC language. I've ran some fairly complex programs on it.

Lack of careful programming and you run out of memory, but that's more a function of assuming you have a large memory space, not GC in general.

Re:TinyGo: New Go Compiler Based on LLVM by chrisseaton on Friday July 19, 2019 @06:34AM (#20477452)
I think the person you’re replying to means a GC that needs headroom, not a GC like Python’s which generally doesn’t.
Re:TinyGo: New Go Compiler Based on LLVM by masklinn on Friday July 19, 2019 @08:38AM (#20478096)
FWIW micropython replace's cpython's refcount-with-cycle-breaker by a mark-and-sweep GC: https://github.com/micropython/micropython/wiki/Memory-Manag...