grin-compiler / grin

GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support.
https://grin-compiler.github.io/
1.03k stars 38 forks source link

Question: does GRIN requires a runtime? #122

Open wongjiahau opened 3 years ago

wongjiahau commented 3 years ago

Currently I plan to compile my language into GRIN, but I'm not sure if I will need to a runtime for things like garbage collecting.

csabahruska commented 3 years ago

Currently GRIN does not provide a native runtime system, but it will eventually. At the moment the native LLVM codegen backend uses a simple bump allocator without GC. The reason the GC is not implemented yet because I'm still busy with the GHC Haskell frontend.