7 comments

[ 2.9 ms ] story [ 22.8 ms ] thread
(comment deleted)
Can I use Exception from betterC with C++ class ?
No. betterC is terrible and limits you with no real benefit outside the first few minutes of playing with it. I wish they'd stop advertising it; real D is better in every way. (you can use regular classes with real D with minimal runtime too: http://dpldocs.info/this-week-in-d/Blog.Posted_2020_07_27.ht... and the new trait the parent link talks about means no more mangle hack like I did last year which also will help it work cross compiler).

betterC just plain disables a bunch of features. With real D, you can start with an empty runtime then enable stuff as you want it.

...or frankly just use the standard runtime and find joy.

unless you are into WASM, and then it's back to betterC.