3 ms·
Language where most of the libraries are without GC, but has an GC opt in would be interesting. For example only your business logic code would use GC (so you c
by zigzag312 1y ago
Language where most of the libraries are without GC, but has an GC opt in would be interesting. For example only your business logic code would use GC (so you can write it more quickly). And parts where you don't want GC are still written in the same language, avoiding the complexity of FFI.
Add opt-in development compilation JIT for quick iteration and you don't need any other language. (Except for user scripts where needed.)
- MaxBarraclough 1y agoThe D programming language has an optional garbage collector. [0][1] With the @nogc attribute the compiler can check/enforce that your function doesn't depend on the GC. [2] [0] https://dlang.org/spec/garbage.html https://dlang.org/spec/garbage.html [1] https://news.ycombinator.com/item?id=33382159 https://news.ycombinator.com/item?id=33382159 [2] https://dlang.org/spec/function.html#nogc-functions https://dlang.org/spec/function.html#nogc-functions