News for hackers. Stuff that matters.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by Shadonototro on Monday May 10, 2021 @05:54AM (#27104336)
I always said this, C is so huge that it make no sense to try to "replace" it, you'd better make sure you can easily consume that ecosystem

That's a step in the right direction! I love D!

Re:Adding ANSI C11 C compiler to D so it can import and comp... by pjmlp on Monday May 10, 2021 @07:39AM (#27104827)
True, but we can still try to fix it somehow, because certain eco-systems will never move beyond C and it would be nice not to have to worry about its famous issues as we do to this day.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by galangalalgol on Monday May 10, 2021 @09:30AM (#27105771)
Rewrite it all in Rust! I mean D! Or... Zig maybe? Lots of valid IOT languages, but how many are actually in refrigerators or mice or keyboards or car door oepners? That is a lot of inertia.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by pjmlp on Monday May 10, 2021 @03:49PM (#27110102)
My point was fixing C, the ecosystems that value it after 50 years aren't going to rewrite their code into something else, as much as many of us would like it to happen.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by galangalalgol on Monday May 10, 2021 @04:17PM (#27110383)
Yes, I was agreeing with you and forgot to tag my snarkyness as such.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by pjmlp on Tuesday May 11, 2021 @01:20AM (#27114490)
Ah, sorry if I missed then.

Here is one example from Apple in that regard, search for "Memory safe iBoot implementation".

https://manuals.info.apple.com/MANUALS/1000/MA1902/en_US/app...

Re:Adding ANSI C11 C compiler to D so it can import and comp... by mariusor on Monday May 10, 2021 @11:22AM (#27106971)
> C is so huge

Are you sure you're not thinking about C++? C is a small language.

Re:Adding ANSI C11 C compiler to D so it can import and comp... by ZuLuuuuuu on Monday May 10, 2021 @11:54AM (#27107435)
I think by being huge he/she means C is very popular and there is so much code out there already written in C.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by ksec on Monday May 10, 2021 @11:47AM (#27107340)
In the sense of its ecosystem and current usage.