timotheecour / D_vs_nim

comparison of D vs nim
Apache License 2.0
62 stars 14 forks source link

CTFE update #6

Closed mratsim closed 6 years ago

mratsim commented 6 years ago

Nim allows reading from files and executing command (UNIX/windows) at compile-time.

Only limitation is no type that is heap allocated at run-time. You can heap allocate at compile-time in macros though, they are turned into const/static at runtime.

timotheecour commented 6 years ago

thanks!