12 ms·
I like it, use it, and teach it. - It's both fast for prototyping and also scales well for large applications. - Compiles very fast with DMD and supports many
by MikeShah 3y ago
I like it, use it, and teach it.
- It's both fast for prototyping and also scales well for large applications.
- Compiles very fast with DMD and supports many platforms with LDC and GDC.
- CTFE (compile-time function execution) is a big win.
- standard library has enough of the common things (json, sql, csv, curl, sockets, etc.) that I need for my domain. Other stuff I can usually find a package or C library to read in if needed.
- most of the defaults seem right to me in the language versus C++ (variable initialization, struct as value type by default, explicit casting, module system, thread-local data, etc.)
Ecosystem does need a boost but I think that's actively developing, so code-d plugin for VSCode is a good place for most to start (I prefer VIM). Ecosystem seems to be slowly and steadily growing otherwise.
I can post links to more video tutorials if useful (disclaimer: I made them :) ).
- fuzztester 3y agoPlease do, I am interested.
- MikeShah 3y agoHere is my playlist: https://youtube.com/playlist?list=PLvv0ScY6vfd9Fso-3cB4CGnSlW0E4btJV&si=AVjIdbiAbJf0xAdE https://youtube.com/playlist?list=PLvv0ScY6vfd9Fso-3cB4CGnSl... Some more upcoming videos will include some tools for D's ecosystem. I can also recommend Ali's book here as a reference to the language: http://ddili.org/ders/d.en/ http://ddili.org/ders/d.en/
- fuzztester 3y agoThanks.