How I use D

oddp oddp at posteo.de
Mon Jun 29 19:28:58 UTC 2020


> I've tried hard to find a better language than D for my work
Didn't want to derail the forum discussion, thus an off-list message:

What's your take on nim then? Some stuff regarding your post:

- python-esque syntax with d-like performance, lower mem footprint
- also solid type inference story
- semi-realtime gc (and more); all around better than d's gc options
- UFCS
- similar compile-time execution capabilities, hygienic macros
- inline asm statements
- directly include c and cpp headers via pragmas, since nim compiles to c or cpp
- large stdlib; more data structures, parseutils, etc.
   (although nothing as fleshed out as std.algorithm)
- safer defaults, inspired by ada; static verification in the works
- community of similar size and as many third-party libs, it seems

Currently looking at both d and nim myself.


More information about the Digitalmars-d mailing list