Re:TinyGo: New Go Compiler Based on LLVM
by munificent on Thursday July 18, 2019 @08:15PM
(#20475204)
Conservative GCs don't know which bytes in memory are actually pointers, so they treat every word in memory as being a pointer if it looks like one. This means if you have some other value that happens to look like a pointer — in this case a float — the GC will think it's pointing to some other memory and keep that memory around even though it isn't used.
[ Parent
| on HN ]
There are no comments on this comment yet.