[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: compiler-ldc.png (8 KB, 256x256)
8 KB
8 KB PNG
D is such a cool language. I am having a lot of fun writing my new hobby project in it. It's not corporate-dictated, memory-safe with an easy opt-out when needed, and retains all the cool features from C++.

Such a disgrace it never got popular and instead we got an obstructionist language with a nonsense syntax and a brutally slow compiler.
>>
>>107728228
what's the use case of actually using D instead of just using the betterc compiler feature it has?
>>
>>107728228
I couldn't have said it better myself, OP.
>>
>>107728228
Based. If troons had known about it, they all would have ack'd sooner.
>>
>>107728283
It's nice to use the runtime when writing a desktop app, for example. Also, the std has json support out of the box which C++ doesn't have.
>>
>>107728228
Yes it absolutely does. I use it for big buck commercial software. D's biggest problem is it is very bad at cheerleading itself and selling it to people who unfortunately get steered to Rust or Go or Zig instead. It literally is the best language you're not using. The metaprogramming and reflection capabilities are off the absolute chain and it is syntactically a million times cleaner and more elegant than any alternative. It also natively imports and links against C. Got a C library? Congrats, you have a D library.
>>
>>107728228
>all the cool features from C++
So function overloading, the auto keyword, and lambdas?
Sounds like a shit language (just like C++)
>>
>>107728373
All implemented better than C++. D mogs C++ so hard it's unreal.
>>
>>107728379
Think of it as c++ without the pozz and backwards compatibility with plain C that doesn't feel like you dumped that shit on top of it without any care.
>>
>>107728373
Let me see: templates, compile-time expressions, RAII (in D as an opt-in thought), multi-paradigm support, ranges. Quite a few with many others not listed, and D adds more to it.
>>
File: 1761837973952312.png (695 KB, 600x800)
695 KB
695 KB PNG
>>107728228
Beef > C# > D > C++ > C > being muslim



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.