Re:Rome will be written in Rust
by pornel on Wednesday September 22, 2021 @10:21AM
(#28616601)
Rust's stdlib is similarly bare-bones. Rust/Cargo has the same mindset of many small packages as JS/npm. The difference is that in JS abstraction and indirection has a run-time cost, so doing things via packages adds overhead. In Rust, you can have zero-cost abstractions that optimize away. The runtime and code-size cost is often the same whether you call code from a generic 3rd party crate or write it yourself inline in your function.
[ Parent
| on HN ]
There are no comments on this comment yet.