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.
[ Parent
| on HN ]
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...