Why is Zig here?
Shit, should have been Zed. The editor.
Re:Servo Revival: 2023-2024
by actionfromafar on Wednesday January 08, 2025 @09:02AM
(#42634293)
It would have been funny to suggest rewriting Zig in Rust. :)
Rewrite Rust in Zig.
Re:Servo Revival: 2023-2024
by nasretdinov on Wednesday January 08, 2025 @01:31PM
(#42637034)
Honestly either should be more than possible to do, although not sure how beneficial. It would certainly be very funny if Zig compiler would be implemented in Rust and, simultaneously, Rust compiler would be written in Zig
Re:Servo Revival: 2023-2024
by throwawaymaths on Wednesday January 08, 2025 @02:17PM
(#42637482)
zig compiler does lots of things for speed that would push it well into unsafe rust, or unchecked rust (like using u32 index tags in arrays instead of pointers)
Re:Servo Revival: 2023-2024
by nasretdinov on Wednesday January 08, 2025 @03:58PM
(#42638365)
Even better! It would be a great opportunity for the author(s) to rewrite it in idiomatic Rust!
Re:Servo Revival: 2023-2024
by actionfromafar on Wednesday January 08, 2025 @04:19PM
(#42638556)
Or idiomatic COBOL!
Re:Servo Revival: 2023-2024
by throwawaymaths on Wednesday January 08, 2025 @08:19PM
(#42640519)
trades speed for safety. i like it!
I took a look at COSMIC and it really looks nice. I am not interest in it because it is written in Rust but it simply looks nice and the window management also looks promising. I hope to run it on my main machine soon.
I have been running COSMIC on my laptop and really enjoying it. It is only going to get better from
Here.
Polars, a Rust replacement for Pandas.
Rewriting things in Rust is a reasonable thing to do. I think the hate is for people who criticize existing software for being written in C on the grounds that hypothetically someone could rewrite them in Rust.
"I rewrote SQLite in Rust" would be praiseworthy (assuming it's true). "Why don't you rewrite SQLite in Rust?" is trolling.
Exactly. The problem is You do the rewrite because I like Rust.
To be fair, this is a deal I would totally take, at my normal consulting rates. I'll be slower than Rust superfans, but I'm probably cheaper too.
You folks might like the work being done at turso :D
https://turso.tech/blog/introducing-limbo-a-complete-rewrite...
At the same time these projects are soooo promissing (to me -- it may be purely subjective).
By these projects I mean:
Servo and Verso
Redox OS
System76's COSMIC Desktop's EPOCH
RipGrep
Deno
Zig
tree-sitter
And lots of web dev libs and frameworks: Actix, Leptos, Dioxus...
Currently a web dev stack can run on Redox OS and use significantly less resources than Alpine! (and this stack has not even had the years of tuning Alpine had)