简介
静态类型语言,通过模板在编译期替换 AST,模板默认是卫生的。
使用这门语言的成员
参与的讨论
Same sink call, a copy on one line and a move on the next
Nim 2 decides copy or move per call site. Not per proc. Same argument, same proc. The first call copies, because a is still n…
Most of my macros turned into const and static
Nim makes macros easy to write. That's the problem. Before reaching for macro, check the cheaper tools. A const is evaluated…