Re:C, The Beautiful Language
by sid0 on Tuesday March 15, 2011 @02:45AM
(#2326342)
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.
[ Parent
| on HN ]
Which language would you suggest as replacement for writing of sched.c and page_alloc.c?
Re:C, The Beautiful Language
by waynecolvin on Tuesday March 15, 2011 @03:24AM
(#2326434)
Oberon or Modula-2 maybe?
What about Ada?
Last 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.