4 ms·
This sort of idiocy is what holds computer science back. C, because of how close to the metal it is, is pretty much the ugliest language in wide use, and the fa
by sid0 16y ago
This sort of idiocy is what holds computer science back. C, because of how close to the metal it is, is pretty much the ugliest language in wide use, and the fact that we know a lot more about programming languages and user interfaces now than when C was designed doesn't help. It should only be used as a last resort, when you really need the speed, and even then one should keep an eye out for alternatives.
- varjag 16y agoWhich language would you suggest as replacement for writing of sched.c and page_alloc.c?
- waynecolvin 16y agoOberon or Modula-2 maybe?
- sid0 16y agoLast resort, remember. I'm not saying C doesn't have its place -- I'm saying that it should be used as little as possible. While I guess there's no other option for a memory allocator, it should be quite possible to write a scheduler in another, better systems language like Rust. edit: actually, possibly not -- Rust might be a little too abstract. My point still stands, though.
- gnuvince 16y agoWhat about Ada?