5 ms·
The idea is to take all the concepts we like about UNIX and iterate on them. It's UNIX as if it was invented now. For example, let's have a C compiler but let's
by monax 5y ago
The idea is to take all the concepts we like about UNIX and iterate on them. It's UNIX as if it was invented now. For example, let's have a C compiler but let's add lambda and a more complete type system. Or let's have a shell, but let's have full ide like autocomplete to it. Or instead of plain text, let's use JSON
- ianai 5y agoSick. How far along is it? Any chance of bringing in Plan9 type ideas/concepts? Ie being able to mount remote compute resources similar to mounting file systems in UNIX? (As the one real plan9-ism in mind at the moment.)
- monax 5y agoWe are still early in development; it still lacks proper filesystem and networking support
- humanrebar 5y agoA language like C but with lambdas isn't really C, not that that's a bad thing. I was a little surprised that a compiler was in scope given the amount of other work that needed to be written and (hopefully) supported, though I guess that's a different issue.
- Ygg2 5y ago> 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?
- ianai 5y agoDoes rust have an equivalent to the classic KR book?
- Ygg2 5y agoDid Unix? Does C with lambdas has its K&R? I don't see why it's some sort of requirement.
- anthk 5y agoAfter K&R 2nd Ed. (ANSI C) and Modern C (C99) you can do a lot.
- ianai 5y agoSomeone 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.
- Ygg2 5y ago> 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/ https://doc.rust-lang.org/book/
- msla 5y agoBecause I might, in some conceivable future, wish to implement that obscure data structure the doubly-linked list.
- ianai 5y agoAre doubly-linked lists actually rarely implemented? I thought they were the back end of things like python lists, or something similar.
- msla 5y agoI was being sarcastic.
- Ygg2 5y agoShrug. And? You can implement it and it's a bit harder in Rust https://rust-unofficial.github.io/too-many-lists/index.html https://rust-unofficial.github.io/too-many-lists/index.html
- skissane 5y ago> A language like C but with lambdas isn't really C, not that that's a bad thing. The C standard working group is currently debating whether to add lambdas to the language: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2924.pdf http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2924.pdf
- bitshiffed 5y agoIt's not standard, but Blocks (w/ clang & compiler-rt) have been around in C for a while. https://en.wikipedia.org/wiki/Blocks_(C_language_extension) https://en.wikipedia.org/wiki/Blocks_(C_language_extension)
- __d 5y agoWhat (if any) is the overlap with Plan9 (and its various forks and derivatives, including Inferno)? Given KenC, I was amused to see that Brutal has its own C variant too!