News for hackers. Stuff that matters.
Re:Servo is now available on crates.io by 9fwfj9r on Monday April 13, 2026 @09:56AM (#47752045)
It's a great move. The early development of Rust aimed to support Servo. However, it's still disappointing that the script engine uses SpiderMonkey, which is purely C++.
Re:Servo is now available on crates.io by drzaiusx11 on Monday April 13, 2026 @10:12AM (#47752271)
It's best not to try and eat the elephant in one bite, which is perhaps where this project went wrong initially. Maybe this is a symptom of learning from past mistakes rather than a flaw.
Re:Servo is now available on crates.io by saghm on Monday April 13, 2026 @10:20AM (#47752393)
My understanding is that the original intent of Servo was to be a way to develop features and port them over to Firefox itself (which did happen with at least a few features), and the relatively slower pace of developer is more due to Mozilla laying off everyone who was working on it. (Yes, presumably many of the same people are involved, but I would expect that being able to work on something full time without needing another source of income will end up making progress faster than needing to find time outside of work and balance between other things in life, ideally in a way that avoids burnout).
Re:Servo is now available on crates.io by drzaiusx11 on Monday April 13, 2026 @11:09AM (#47753143)
My understanding was that from day one the desire was to make a complete "web rendering & layout engine" and only pivoted to shipping smaller sub-components like Stylo (stylesheets) when it appeared to be "taking too long." I followed the project from the early days through the layoffs, but I may be misremembering things.
Re:Servo is now available on crates.io by saghm on Monday April 13, 2026 @01:43PM (#47755467)
Interesting, it's certainly possible I was never aware of the super early days.
Re:Servo is now available on crates.io by swiftcoder on Monday April 13, 2026 @10:12AM (#47752273)
There are what, 5+ rust javascript engines that claim to be production-ready? Bolting one of those on in place of spider monkey seems like a reasonable future direction
Re:Servo is now available on crates.io by mort96 on Monday April 13, 2026 @11:02AM (#47753036)
What do you mean by "production ready" here exactly? In a web browser context, the JS engine is expected to have a high performance optimising JIT compiler. Do the existing Rust JS engines have that?
Re:Servo is now available on crates.io by 8NNTt8z3QvLT8tp on Monday April 13, 2026 @11:26AM (#47753387)
There's something to be said for the security benefits of not having a JIT though. Especially if you've used Rust for the engine you should have pretty solid security.
Re:Servo is now available on crates.io by px43 on Monday April 13, 2026 @12:09PM (#47754164)
Yeah, having a code section that is writable and executable is a huge no-no from a security standpoint. JIT is a fundamentally insecure concept, just in general. By definition it's trading security for speed.
Re:Servo is now available on crates.io by epcoa on Monday April 13, 2026 @02:59PM (#47756438)
lol
Re:Servo is now available on crates.io by mort96 on Tuesday April 14, 2026 @03:33AM (#47762451)
I mean they're right.
Re:Servo is now available on crates.io by swiftcoder on Monday April 13, 2026 @11:05AM (#47753074)
I honestly don't know, but they do say "production ready" on their marketing pages, so...

For an example of what I mean, see JetCrab: https://jetcrab.com

Re:Servo is now available on crates.io by CryZe on Monday April 13, 2026 @11:18AM (#47753267)
This doesn't implement a JS engine, it's just a wrapper around boa.
Re:Servo is now available on crates.io by mort96 on Monday April 13, 2026 @11:14AM (#47753218)
That page says:

> Complete JavaScript execution pipeline from source code parsing to bytecode execution.

So it's a bytecode interpreter, not a JIT.

It might still be production ready for a bunch of use cases. I may use it as a scripting layer for some pluggable piece of software or a game. I wouldn't consider it appropriate for a "production ready web browser" which intends to compete with Firefox and Chrome.

EDIT: Also for some reason all its components are called v8_something? That's pretty off putting, you can't just take another project's name like that.. and from the author's Reddit comments it seems to be mostly AI slop anyway. I'm guessing Claude wrote the "production ready" part on the website, I wouldn't trust it.

Re:Servo is now available on crates.io by nicoburns on Monday April 13, 2026 @12:03PM (#47754057)
They're all more than 10x slower than SpiderMonkey.
Re:Servo is now available on crates.io by depr on Monday April 13, 2026 @11:24AM (#47753364)
They may be production-ready in some sense but they're not ready to be put in Firefox, and/or they are v8 bindings.
Re:Servo is now available on crates.io by siwatanejo on Tuesday April 14, 2026 @10:38PM (#47774035)
wait, Servo is a js engine? I thought it was only about rendering websites
Re:Servo is now available on crates.io by tialaramex on Monday April 13, 2026 @10:03AM (#47752151)
I mean SpiderMonkey works, and presumably is fairly self-contained, so I can see why replacing that isn't attractive unless you believe you can make it significantly better in some way.