News for hackers. Stuff that matters.
Re:The Resurgence of C Programming by pavanky on Tuesday December 27, 2016 @12:58PM (#13264692)
The C compiler is often the first thing ported over to new architectures because it is fairly easy to do. Rust probably will not come close to being that universal.

On the desktop side of things, it will probably continue to be the favored systems language until universities start incorporating rust into their curriculum. Very few people have the motivation and incentive to learn a new language to accomplish something they can accomplish in a language they already know.

Re:The Resurgence of C Programming by _yosefk on Tuesday December 27, 2016 @01:07PM (#13264755)
I ported C compilers (badly) and manage people who do it (well.) Today you port LLVM, either yourself or using a commercial LLVM backend generator. This makes Rust nearly as accessible as C (in that the platform vendor will bundle clang with some platform-specific extensions but not a Rust frontend with similar extensions. But the heavy lifting is the backend.)

This is not to say that Rust will spread like wildfire, just that porting C isn't easier.

Re:The Resurgence of C Programming by sitkack on Tuesday December 27, 2016 @01:25PM (#13264893)
There is also the chance to port backend formats like Mir [0] or Wasm [1] besides LLVM.

[0] https://blog.rust-lang.org/2016/04/19/MIR.html

[1] http://webassembly.org/

Re:The Resurgence of C Programming by sitkack on Tuesday December 27, 2016 @01:19PM (#13264826)
One way for Rust to become more pervasive in the University scene is for it to become an ICPC [0] language of which only Java, C/C++ and Python are currently used [1].

[0] https://en.wikipedia.org/wiki/ACM_International_Collegiate_P...

[1] https://icpc.baylor.edu/worldfinals/programming-environment

Re:The Resurgence of C Programming by sgift on Tuesday December 27, 2016 @01:02PM (#13264719)
> The C compiler is often the first thing ported over to new architectures because it is fairly easy to do. Rust probably will not come close to being that universal.

Seems to be a good place to ask: Is there a comparison out there of the complexity of a "typical" C compiler versus the Rust compiler? To check if it would be actually possible to port Rust to new platforms easily?

Re:The Resurgence of C Programming by pklausler on Tuesday December 27, 2016 @01:06PM (#13264750)
Data point: in 1998, I wrote a C compiler from scratch (preprocessor to assembler) for a new ISA (Cray X-1) to support s/w development in a simulation environment, and it took me about 3 months and 6KLOC to get something that could build IRIX (later Linux) correctly.
Re:The Resurgence of C Programming by zzzcpan on Tuesday December 27, 2016 @01:11PM (#13264769)
Yeah, porting LLVM IR should be much easier these days. Not that it matters though, C legacy is not going anywhere.
Re:The Resurgence of C Programming by steveklabnik on Tuesday December 27, 2016 @01:09PM (#13264763)
There's been at least four or five universities that have taught classes in Rust; I believe there's two active ones this semester, and one or two more next semester. It's a start...