Re:Is C++ fast?
by rurban on Friday January 18, 2019 @11:27AM
(#18940399)
Most managed language runtimes I know allow you to opt out of a GC, or to tune it to your workload.
[ Parent
| on HN ]
That's different from "I do not want a disabled GC baked into my program." It is relevant, especially to embedded coding with its ornery size restrictions.
In embedded environments the GC is fundamentally different to a large RAM machine. There a simple boehm-gc is enough and still faster, safer and smaller than refcounting. It can be made incremental.
On big machines a copying collector with a nursery is much faster and safer if you can deal with the pauses.
Memory safety is still an issue I heard.