Re:Show HN: TinyGo – LLVM-based Go compiler for microcontrol...
by stmw on Saturday August 18, 2018 @01:19PM
(#17789472)
I actually wouldn't expect Go to be considerably better in memory footprint (or other things) than "embedded" Java in embedded environments. Once you accept the idea of having GC, it puts some constraints on things. Of course, you can't compare "server java" with embedded java -- those are as different as TinyGo and "real" Go, if not more so...
[ Parent
| on HN ]
Re:Show HN: TinyGo – LLVM-based Go compiler for microcontrol...
by lossolo on Saturday August 18, 2018 @02:32PM
(#17789840)
Normal Go is a lot more memory efficient than normal Java, it has value types and no VM/JIT overhead. In my own measurements it was up to 50x times more memory efficient.
Re:Show HN: TinyGo – LLVM-based Go compiler for microcontrol...
by crawshaw on Saturday August 18, 2018 @04:45PM
(#17790560)
Also: UTF-8 instead of UTF-16 can make a surprising difference on memory use, especially if you interact with services in UTF-8 and so spend a lot of memory in Java copying back and forth.