3 ms·
If you mean Go is closer to C than Rust is to C, I guess that's correct. But neither are alternatives to C.
by zare_st 3y ago
If you mean Go is closer to C than Rust is to C, I guess that's correct.
But neither are alternatives to C.
- pjmlp 3y agoThey certainly are, outside the religious UNIX and embedded groups that cannot grasp anything beyond C.
- lelanthran 3y agoYou keep going on as if C programmers only use it because they are not as smart as you, who punts C++ all the time. I wonder if you are unable to understand that for some people and some problems, having fewer footguns is a benefit.
- pjmlp 3y agoLots of experience meeting such folks for several decades, since 1993, to be more precisely. Lots of Usenet discussions on the matter, and other places.
- Gibbon1 3y agoYou ever wrote firmware for a wireless sensor that fits in 16k of flash?
- pjmlp 3y agoMy first computer developing software was a Timex 2068. Have you ever produced commercial software for 8 bit machines?
- Gibbon1 3y ago8 bits yes. But can't actually care about the register size of the uP I use. Currently it's ARM. What's important is the RAM and ROM limitations. Plus meeting latency deadlines. Power requirements. That the program never gets shut down for years. That there will be no one to intervene when something goes wrong. Current product I work on has shipped a few million units. If someone needs to replace one that's failed it costs more than the unit itself. It'd been nice not to use C. Be nice if C had a few improvements to make it more ergonomic and safer.
- lelanthran 3y agoIt sounds like a very long winded way of agreeing that you are, indeed, unable to understand why fewer footguns is seen as a benefit.
- pjmlp 3y agoOnly by those that never bothered to understand ISO C legalese, and actual implementations.
- zare_st 3y agoThen those outside groups should make a software foundation that's attractive enough to replace UNIX. I see Debian today tinkering with two additional kernels - FreeBSD and Hurd, and both are written in C. Until some kernel 100% written in Rust/Go/modern C++ starts being attractive for OS integration there is absolutely no point in claiming it's possible and even a better choice. C has lost a lot of ground since 30 years ago, rightfully. User applications with GUI used to be written in something like C89. Games too. It's some people that just cannot grasp that it and its ecosystem have a huge merit over 'alternatives' when it comes to the ground it retained and still holds today.
- BlarfMcFlarf 3y agoDoing a top down rewrite of an OS is an absurd task, so regrardless of merit, C is going to retain its place there by momentum. If it’s going to be replaced at all, it will be incrementally, and until recently, the powers that be have kept other languages out of that space (and for good reason, since multiple languages interacting have complexity costs, again regardless of individual language merits). But we have started seeing just a bit of Rust support in Linux now…