D vs nim
Dennis
dkorpel at gmail.com
Thu May 3 20:57:16 UTC 2018
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote:
> Funnily, none of these languages have a "static if" construct,
> nor do Rust, Swift and Nim. Not one that I could find, anyway.
What qualifies under "static if"? Because Rust, Swift and Nim do
have conditional compilation.
https://doc.rust-lang.org/book/first-edition/conditional-compilation.html
https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Statements.html (conditional compilation blocks)
https://nim-lang.org/docs/manual.html#statements-and-expressions-when-statement
More information about the Digitalmars-d
mailing list