5 ms·
> A Modern C Development Environment OK fine > 09 Aug 2023 huh? the correct answer to this question should be "get a time machine and go back to 2003 or some
by 38 3y ago
> A Modern C Development Environment
OK fine
> 09 Aug 2023
huh? the correct answer to this question should be "get a time machine and go back to 2003 or something. why people insist on carrying on with C in the face of its glaring issues is beyond me. I am not advocating for any specific language, because several other languages are around that might be a better fit. Rust, Zig, D, Nim, Go. just please let C die already.
- znpy 3y ago> why people insist on carrying on with C in the face of its glaring issues is beyond me. Most people and companies cant delay new features and bug fixes for years with the excuse of “we’re rewriting the thing in $currently_trending_language”
- 38 3y ago> $currently_trending_language by your definition, is that any language less than 50 years old?
- seabass-labrax 3y agoThat would be more like 30 years since C was truly trendy, and maybe 20 in some areas like embedded software engineering and games development. C was the top of the pile for decades, and I think when you compare it strictly to other languages that were available during that time it becomes clear why (not that is necessarily better than those other languages, but why it was so terrifically popular).
- pjmlp 3y agoAh, that is why we now have everyone cheering for Zig, which is basically Modula-2 (1978) with C like syntax. Apparently since the Morris worm (1988), it took a while to undestand what kind of features C was capable of.
- The_Colonel 3y agoFrom the languages you listed, only Zig is somewhat suitable as a C replacement, and it hasn't even reached v1.0.
- 38 3y ago> suitable as a C replacement nope. they all are. all depends on the use case. if your use case is "must do 100% of what C can do, no exceptions" then of course that leaves one option. but for many programmers the trade offs today are not in favor of C, and haven't been for some years.
- WhereIsTheTruth 3y agoProgrammers doesn't define requirements, the task define the requirements If you need to target very tiny boards, none from that list are suitable C replacements, _maybe_ zig and D with betterC since they both provide an inline assembler Otherwise we'll end up with companies using Raspberry Pi 4 for their fleet of scooters because "i can run nodejs on it" (hyperbole, but you get the idea) https://news.ycombinator.com/item?id=37016842 https://news.ycombinator.com/item?id=37016842
- kawogi 3y agoNot sure if that counts, but I successfully wrote Rust programs for several embedded systems and microcontollers. The smallest one was an ATTiny 13A (64 bytes of RAM).
- lelanthran 3y ago> Not sure if that counts, but I successfully wrote Rust programs for several embedded systems and microcontollers. > The smallest one was an ATTiny 13A (64 bytes of RAM). It counts, but at that point (64bytes of RAM) there is no benefit to using Rust.
- tialaramex 3y ago
- 0xfedbee 3y agoNo. I just started a mega project in my company in C11 3 months ago and we already have insane velocity with zero problems. I intend to start many more in C in coming months. Sorry.
- 5ADBEEF 3y agofair point. thankfully gcc will compile c++