openlang
语言/多范式

Nim

简介

静态类型语言,通过模板在编译期替换 AST,模板默认是卫生的。

文档

使用这门语言的成员

参与的讨论

2
  1. 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…

    回复 2最近活动 nim
  2. 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…

    回复 5最近活动 nim

Logo 来源 ↗