Re:The C juggernaut illustrated (2012)
by andrewmcwatters on Saturday February 04, 2023 @06:41PM
(#34659705)
Thank you for replying, Walter. I enjoy reading your comments here. :)
Re:The C juggernaut illustrated (2012)
by WalterBright on Saturday February 04, 2023 @06:43PM
(#34659714)
I always like posting about programming!
a few days ago somebody here poked fun at a guy on another (linked from here) forum, for jumping into a discussion of a project's decision to rewrite from C++ to Rust. What had the guy being criticized done to receive rebuke? Suggested they should stop and look at D! I admit I thought to myself, "uh oh, Walter's at it again, all over the internet now!" :)
I like D.
Book by Alexandrescu was like a fantasy novel for young programmers in company where I worked.
One of us discovered this book and tell others. A bit later everybody was "infected".
Mostly javers and dotnetters and it was constant "Wow! It's possible to do such way? Why we don't do that?"
So, you influenced a lot of my friends in a right way.
Thank you!
Re:The C juggernaut illustrated (2012)
by WalterBright on Sunday February 05, 2023 @02:56PM
(#34668548)
Thanks for the kind words! Andrei is indeed a treasure.
Das Better C: https://dlang.org/spec/betterc.html
It's essentially D without the garbage collector or D runtime library. Just the C runtime library.
Das Better C has C syntax and semantics, but leaves behind the C preprocessor. It adds modules, metaprogramming and memory safety (has bounds checked arrays, for example). C compatibility is arranged with ImportC.