Re:Scala Native
by more_original on Wednesday May 11, 2016 @04:34PM
(#11679012)
Looks like it's currently using the Boehm–Demers–Weiser conservative garbage collector. In scala-native/rtlib/src/main/resources/rt.cpp it includes gc.h and allocates memory using GC_malloc, i.e. not in precise mode.
[ Parent
| on HN ]
Re:Scala Native
by airless_bar on Wednesday May 11, 2016 @04:54PM
(#11679183)
Ouch.
The garbage collector is typically the most difficult part of a language implementation, so I'm not surprised. On the other hand, a simple GC can be sufficient for many projects.
Re:Scala Native
by broodbucket on Wednesday May 11, 2016 @09:13PM
(#11680667)
They can still replace it later once they're further along with the rest of the implementation. I doubt they'll keep it.