News for hackers. Stuff that matters.
Re:Brutal OS reached milestone 4 by Ygg2 on Monday March 28, 2022 @09:47AM (#30830429)
> A language like C but with lambdas isn't really C, not that that's a bad thing.

At that point, why not just use Rust?

Re:Brutal OS reached milestone 4 by msla on Monday March 28, 2022 @02:41PM (#30833998)
Because I might, in some conceivable future, wish to implement that obscure data structure the doubly-linked list.
Re:Brutal OS reached milestone 4 by Ygg2 on Monday March 28, 2022 @10:03PM (#30837901)
Shrug. And?

You can implement it and it's a bit harder in Rust https://rust-unofficial.github.io/too-many-lists/index.html

Re:Brutal OS reached milestone 4 by ianai on Monday March 28, 2022 @04:34PM (#30835228)
Are doubly-linked lists actually rarely implemented? I thought they were the back end of things like python lists, or something similar.
Re:Brutal OS reached milestone 4 by msla on Monday March 28, 2022 @07:02PM (#30836672)
I was being sarcastic.
Re:Brutal OS reached milestone 4 by ianai on Monday March 28, 2022 @11:14AM (#30831347)
Does rust have an equivalent to the classic KR book?
Re:Brutal OS reached milestone 4 by Ygg2 on Monday March 28, 2022 @11:48AM (#30831760)
Did Unix? Does C with lambdas has its K&R?

I don't see why it's some sort of requirement.

Re:Brutal OS reached milestone 4 by anthk on Monday March 28, 2022 @12:36PM (#30832359)
After K&R 2nd Ed. (ANSI C) and Modern C (C99) you can do a lot.
Re:Brutal OS reached milestone 4 by ianai on Monday March 28, 2022 @03:14PM (#30834397)
Someone somewhere once likened UNIX to the OS version of C to me, or something like that. There's also the various books on UNIX from those days.

My question though was more about rust as a language. Does it have a golden standard introduction to it like C does. Not 'some sort of requirement', but genuine interest in a clear path to learn the language.

Re:Brutal OS reached milestone 4 by Ygg2 on Monday March 28, 2022 @10:09PM (#30837942)
> My question though was more about rust as a language. Does it have a golden standard introduction to it like C does.

You'd have to be specific. If you are looking for simplicity, nothing will ever beat C, but just because a languague is simple doesn't mean it's easy to program. See Brainfuck.

Generally Rust Book is considered a gold standard, but I rarely read them unless I am truly at a loss what next.

https://doc.rust-lang.org/book/