Better HN
topnewbestaskshowjobs
Log inSign up

doody12

13 karma · joined Jun 9, 2017 (9y ago) · 4 submissions

Submissions

comment 9y ago · link · parent

I think one of the big issues with Rust is that it isn't as portable as C.

Bootstrapping Rust is hard, doing the same for C is simple. I could create a simple C compiler just to bootstrap the real C compiler, something I have actually done once or twice before. That's not something you do with Rust, at least from the limited experience I have with Rust.

comment 9y ago · link · parent

That depends on what you want to learn.

If you want to improve your code reading skills and/or C programming skills, then you can probably go ahead and start reading, for example, the OpenBSD source code, even though you don't have any operating systems knowledge.

comment 9y ago · link · parent

Code quality is hard to measure, but I think that any competent C programmer that reads the source code for OpenBSD will agree that the quality is above average.

OpenBSD is a fork of NetBSD, another project considered to have above average quality source code. Enough so that Spinellis based his book about code reading on the NetBSD source code.

comment 9y ago · link · parent

I disagree, reading quality code, which I would argue that the OpenBSD source is, is one of the best ways to improve.

Also, being able to read and understand code is an important skill in itself.