On Wednesday, 23 January 2019 at 09:14:18 UTC, Bienlein wrote:
On Friday, 18 January 2019 at 08:55:23 UTC, Paulo Pinto wrote:
D really needs its killer use case if it is to move away from
that list.
D is a lot like Scala on the JVM: Both language have myriads of
language features and bells and whistles, but there is no
killer feature in the language itself.
For me the killer feature is meta-programming. No other language
comes close.
Take the wasm-reader [1] library I recently wrote for instance.
While not feature complete - nor a fair direct comparison - it is
far less code than anything in C++ [2] or Rust [3].
[1]
https://github.com/skoppe/wasm-reader/blob/master/source/wasm_reader/reader.d
[2]
https://github.com/WebAssembly/binaryen/blob/master/src/wasm/wasm-binary.cpp
[3]
https://github.com/rustwasm/twiggy/blob/master/parser/wasm_parse/mod.rs