Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

D comes close ... it too has a full-language comptime interpreter and other metaprgramming features (though not as rich as Nim's), statically typed, optional garbage collection, and you can write

#!/usr/bin/env rdmd

[D code]

and run it as if it were an executable. (The compilation is cached so it runs just as fast on subsequent runs.)



Think it comes down to preferences and situation. Languages like Jai, Vlang (optional GC), and C3 are viable and they offer compile time too.




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

Search: