Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.


They can still replace it later once they're further along with the rest of the implementation. I doubt they'll keep it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: