Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C++ is still trying to catch up with:

- compile time function execution

- modules

- no preprocessor

- memory safe arrays

- preprocessor replacement

- ranges

and so on.



> C++ is still trying to catch up with (...)

C++ modules are indeed a mess, but you are fooling yourself if you believe that the preprocessor of all things is a compelling reason to switch. In fact, I think you unwittingly proved my point on how interest in D fizzed out the moment C++11 was released.


> if you believe that the preprocessor of all things is a compelling reason to switch

The preprocessor is an unhygienic, ugly mess. Just look at the system .h files, which should be a showcase on how to use it correctly. I stand by my assessment of it.


As I am oblivious to D, may I ask if there are suitable GUI toolkits for it, or bindings? I typically use wxWidgets in C++ land.


https://wiki.dlang.org/GUI_Libraries

wxD is the wxWidgets library.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: