New Rust runtime turned on. What next?
mail.mozilla.org
New Rust runtime turned on. What next?
1–10 of 118 posts
Re: New Rust runtime turned on. What next?
#2 > Despite all these caveats I have a very strong sense that writing the
> runtime in Rust will go a long way to validate Rust in the domains it's
> aiming for: concurrent and systems programming. Even in the task
> scheduler, where there's quite a bit of unsafe code, the shared-nothing
> nature of unique types forces you to consciously break the type system
> to share memory, and that seems to go a long way to making parallel
> programming easier to reason about.
Yes, even just reading it seems much clearer since the mutability,
lifetime and ownership of each value and reference is spelled out, not
just "some Foo* that you have to remember special validity rules about".
It's noticeably easier to reason about. Really interesting!
When Rust matures (and this dogfooding-via-self-bootstrap is going to accelerate its maturation) it's going to be seriously revolutionary for, for example, modern multi-core video game development. Really excited.Re: New Rust runtime turned on. What next?
#3Excerpt from Graydon's (BDFL) reply: > Despite all these caveats I have a very strong sense that writing the > runtime in Rust will go a long way to validate Rust in the domains it's > aiming for: concurrent and systems programming. Even in the task > scheduler, where there's quite a bit of unsafe code, the shared-nothing > nature of unique types forces you to consciously break the type system > to share memory, and…
Re: New Rust runtime turned on. What next?
#4Excerpt from Graydon's (BDFL) reply: > Despite all these caveats I have a very strong sense that writing the > runtime in Rust will go a long way to validate Rust in the domains it's > aiming for: concurrent and systems programming. Even in the task > scheduler, where there's quite a bit of unsafe code, the shared-nothing > nature of unique types forces you to consciously break the type system > to share memory, and…
Very rare thing. Ok maybe not in language design. But rare otherwise.
Re: New Rust runtime turned on. What next?
#5Re: New Rust runtime turned on. What next?
#6So they are still using libuv after the rewrite?
Re: New Rust runtime turned on. What next?
#7I thought this sort of thing was usually handled by the OS. Can you even get raw sockets on most systems? Or by "implemented TCP", do they mean they can give you back a Unix TCP/UDP socket?
Re: New Rust runtime turned on. What next?
#8So they are still using libuv after the rewrite?
Re: New Rust runtime turned on. What next?
#9Excerpt from Graydon's (BDFL) reply: > Despite all these caveats I have a very strong sense that writing the > runtime in Rust will go a long way to validate Rust in the domains it's > aiming for: concurrent and systems programming. Even in the task > scheduler, where there's quite a bit of unsafe code, the shared-nothing > nature of unique types forces you to consciously break the type system > to share memory, and…
Yes, please. Anything but C++. The progress of Rust and Go make me hopeful for the future.
Re: New Rust runtime turned on. What next?
#10(The original message is in Markdown; I just put it in a Gist where it would be rendered as such.)