News for hackers. Stuff that matters.
Re:Servo Revival: 2023-2024 by cies on Wednesday January 08, 2025 @04:52AM (#42632591)
All this discussion (hate) on the effort to "rewrite in Rust"...

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)

Re:Servo Revival: 2023-2024 by alraj on Wednesday January 08, 2025 @06:47AM (#42633215)
Why is Zig here?
Re:Servo Revival: 2023-2024 by cies on Wednesday January 08, 2025 @08:54AM (#42634211)
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. :)
Re:Servo Revival: 2023-2024 by edoceo on Wednesday January 08, 2025 @09:40AM (#42634708)
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!
Re:Servo Revival: 2023-2024 by ivolimmen on Wednesday January 08, 2025 @09:07AM (#42634352)
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.
Re:Servo Revival: 2023-2024 by LeFantome on Wednesday January 08, 2025 @09:58AM (#42634899)
I have been running COSMIC on my laptop and really enjoying it. It is only going to get better from Here.
Re:Servo Revival: 2023-2024 by kragen on Wednesday January 08, 2025 @10:27AM (#42635192)
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.

Re:Servo Revival: 2023-2024 by geodel on Wednesday January 08, 2025 @11:17AM (#42635694)
Exactly. The problem is You do the rewrite because I like Rust.
Re:Servo Revival: 2023-2024 by kragen on Wednesday January 08, 2025 @11:24AM (#42635777)
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.
Re:Servo Revival: 2023-2024 by endymi0n on Thursday January 09, 2025 @06:29AM (#42644205)
You folks might like the work being done at turso :D https://turso.tech/blog/introducing-limbo-a-complete-rewrite...
Re:Servo Revival: 2023-2024 by kragen on Thursday January 09, 2025 @07:26AM (#42644579)
Haha, thanks for the tip! libSQL and Limbo do sound pretty interesting.