Currently ScalaNative is single threaded. But we can used POSIX API (for example) to create and manage threads (ans also shared resources).
My questions are related to the garbage collector:
- is it safe to use scala native and its default GC (immix) with threads ?
- if the answer is yes. This solution may be not as efficient as expected; is there some benchmarks ?
- if the answer is no. Is it clever to change the GC to Boehm which is claimed to be concurrent ?