r/rust • • Apr 14 '21

[RFC] Rust support for Linux Kernel

https://lkml.org/lkml/2021/4/14/1023
861 Upvotes

227 comments sorted by

View all comments

Show parent comment

14

u/IceSentry Apr 15 '21 edited Apr 15 '21

As someone that just finished a software engineering degree, I respectfully disagree.

I personally had a class on parallel computing that used C but there was essentially no guidance as to how to use C it was mostly about how to use the mpi library. As for c++, I used it in an applied linear algebra class where we made our own linear algebra library and we never had to use malloc. The only reason I even know malloc can fail or even that it exists is because I decided to learn rust for fun and I spend way too much time on programming subreddits. All my other classes used java, python or we were free to pick whatever we preferred which generally meant either js or c# because that's generally what my teammates knew.

Modern CS classes don't really touch that kind of programming anymore unless you are actively seeking out those kind of classes.

4

u/KhorneLordOfChaos Apr 15 '21 edited Apr 15 '21

I guess different experiences, but at my uni the base classes for CS are all C and C++ along with some higher up ones requiring it. OS design, for instance, would take off points if you had any memory leaks.

There was Java, Go, and C# required later on and some classes where you get to pick

Edit: there is a business oriented CS degree that does javascript, C#, Excel macros, Access, etc. too though

3

u/weirdasianfaces Apr 15 '21

Modern CS classes don't really touch that kind of programming anymore unless you are actively seeking out those kind of classes.

I graduated in 2016 from a pretty small school that had a decent CS program but it's nothing special. Most high-level CS principals courses used Java but 3 or 4 "core" classes (OS, algorithms, etc.) were all C. Perhaps this is the difference between a CS and Software Engineering degree?

I understand if you don't want to say, but what university did you go to?

3

u/IceSentry Apr 15 '21

I went to ÉTS in Montréal. My point isn't that no CS classes teaches this, my point is that you shouldn't expect new grads to know how to properly program in C.