Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. One Year of Sponsored Servo Development(servo.org ↗)
    87comments
  2. Show HN: I built a new version of my fun spatial 3D online meeting app(flat.social ↗)
    9comments
  3. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    1comments
  4. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    324comments
  5. My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it(jakeasmith.com ↗)
    51comments
  6. Better Vector Search for Long Documents: Chunking Inside Manticore Search(manticoresearch.com ↗)
    6comments
  7. CCC invites all model citizens to 40C3(ccc.de ↗)
    15comments
  8. Neovim have a ~$800k Bitcoin donation sitting untouched since 2023
    130comments
  9. Keys Not Included: recovering the signing keys for US driver's license barcodes(ryan.science ↗)
    85comments
  10. The Relation Between Mathematics and Physics by Paul Dirac(cam.ac.uk ↗)
    30comments
  11. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    124comments
  12. GLM Built Its Own Inference Infrastructure(z.ai ↗)
    130comments
  13. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    139comments
  14. Lucasart's Afterlife(togameforlife.wordpress.com ↗)
    24comments
  15. Online Z3 Guide(microsoft.github.io ↗)
    8comments
  16. Small programming tricks(will-keleher.com ↗)
    255comments
  17. Cloudflare/Security-Audit-Skill(github.com/cloudflare ↗)
    20comments
  18. Comparison of Malloc() Algorithms(egbert.net ↗)
    28comments
  19. Developing provably correct Rust code with Verus(amazon.science ↗)
    31comments
  20. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    246comments
  21. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    34comments
  22. Backups Aren't Simple(filipovski.net ↗)
    174comments
  23. An Archive of Colour Gradients(shef.ac.uk ↗)
    2comments
  24. HarnessTax: How Much Does the Harness Matter for Coding Agents?(harnesstax.github.io ↗)
    64comments
  25. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    394comments
  26. The engineering behind the US Strategic Petroleum Reserve(johnjwang.com ↗)
    96comments
  27. A 32-year-old bug walks into a Telnet server(watchtowr.com ↗)
    36comments
  28. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    77comments
  29. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    89comments
  30. Japan's book scene is moving from bookstores to libraries(untranslatedjp.substack.com ↗)
    97comments

One Year of Sponsored Servo Development

202 pointsby 5h agoservo.org
78 comments
4h agoHN ↗

What can one actually do with Servo today?

It’s apparently still not ready to be used as a browser engine (and may never be), so what exactly is it for?

4h agoHN ↗

long term browser compatibility

Making a new browser engine hurts browser compatibility more than it helps it. It now becomes one more target that needs to be tested against, limitations need to be kept tracked of, etc. The best thing for long term browser compatibility is focusing resources into Blink. In regards to the standard we can use LLMs to cross reference the spec, with tests, and with the implementation to make sure all match.

4h agoHN ↗

Ah, you must be too young to have experienced early Internet Explorer, which attempted just this.

2h agoHN ↗

Internet Explorer was not open source acting as engine everyone's browser could use and it got abandoned by Microsoft. It is not the same situation.

2h agoHN ↗

One could argue that effectively Blink is also not open source. At any rate users don't have power over it, as witnessed by the manifest v3 stuff jammed down our throats.

2h agoHN ↗

Monocultures are bad full stop. Blink is corporate controlled open source, which has been clearly less than.

4h agoHN ↗

yeah in a perfect world google dictates how the standard will evolve, we kill all competition so we're sure that you have only one target to build your software against, I'm sure a monopoly will greatly improves innovation and not be used to stiffen competition. /s

2h agoHN ↗

Using Blink doesn't mean you have to defer all decisions to Google. You just benefit from not having to duplicate work.

1h agoHN ↗

Except one does since Google is the primary maintainer. Anyway, work on other browser engines is not duplicated or wasted.

17m agoHN ↗

And you can't do what Google doesn't want you to do. That's a nice ad blocker you have there, shame if we removed support for it.

4h agoHN ↗

The best thing for long term browser compatibility is focusing resources into Blink.

That’s what makes Google more dominant, and if you think that’s a good idea you should really put down your LLM and go read up on a bit of history. Do you want to live in a world where a single company controls your access to the web? Are you eager to navigate through ad pages with a little bit of web? To have even more of your data mined?

Browser diversity may be a bit annoying for developers, but it is good for users, and developers are users too. When there’s a lack of diversity, everyone but the dominant player is squeezed.

2h agoHN ↗

Google's dominance comes from market share not from owning upstream. If a different fork took 90% market share that fork would have the dominance and power.

1h agoHN ↗

And that market share is maintained by integration with Android and low-key sabotage of others browsers, especially Firefox. Similar to how Microsoft maintained its monopoly decades ago.

4h agoHN ↗

The best thing for long term browser compatibility is focusing resources into Blink.

Lol, for Blink perhaps, what about the rest of the ecosystem, the web and the users, like the ones who don't even use Blink?

Very idealistic point-of-view with no basis in reality, sadly, because wouldn't it be nice if we could care about just one engine?

3h agoHN ↗

Couldn't agree more. Looking at [1], it seems to me like Servo has a much better adoption story than Ladybird. The latter seems to be just building a browser that's going to be crashy and not really work on the web. The former is addressing problem spaces where, even with the limitations of the half-finished state it's in, it can be usefully applied: WebView/Electron-replacement and headless browsers. Things not currently on this list that could/should be: HTML rendering for desktop E-Mail clients. Also, I wonder to what extent they're implementing paged media and capable of targetting PDF output or similar (like weasyprint). That could be another domain, where you don't need full web-scale abilities.

And yet, somehow, Ladybird seems to be the darling of the masses (in certain circles at least). Doing vibe-ports to Rust, while going closed-contribution also, in my mind, sits in a marked contrast to the origin story that initially generated so much goodwill.

[1] https://servo.org/made-with/

3h agoHN ↗

servo is incredibly cool. super easy API to embed, and to build browsers around it.

2h agoHN ↗

I use servo to render e-ink UIs and screenshot them to push to the displays. About 10% of the memory usage and 5% of the render time as doing the same thing with headless chrome. It doesn’t handle every possible feature, but it handles enough that it’s never been an issue when it’s my only target rendering environment. I love it.

1h agoHN ↗

It’s not really a finished product yet (in terms of being production-ready), but it would already be usable as an embedded kiosk for applications where you own the pages being accessed.

4h agoHN ↗

Feels like ladybird is going to Linux Servo

4h agoHN ↗

I remember waiting on the Mozilla project to deliver something that could browse as well on linux as closed source browsers on windows/mac did.

It... took... long...

But there it was. And it still works.

4h agoHN ↗

Was this recent? Because Firefox were the browser that worked better than all the rest, for quite many years, maybe 2005-2010, and Firefox had no competition basically until Chrome arrived on the scene.

Just the fact that Firefox got browser tabs before anyone else, and Firebug, just took it to another level compared to all the other browsers available at the time.

3h agoHN ↗

Firefox was bad on linux for a long time. Even running the windows ff build via wine/proton got you better performance than the "native" build (I think that was around 10 years ago).

2h agoHN ↗

Much longer than 10 years! I’ve been on Linux since 2008 an it was never a problem.

3h agoHN ↗

Hardware accelerated video decoding (for video playback or for WebRTC) is available via VA-API for both X11 and Wayland. Since firefox-101.0.1-4 package it's enabled by default for Intel/AMD users.

From https://fedoraproject.org/wiki/Firefox_Hardware_acceleration

I think that was around 2022-23.

I remember this affecting my laptop video watching a lot. Google meet feeling sluggish on Firefox is also something I remember until very recently..

2h agoHN ↗

Google still tries to sabotage Firefox experience on Google Apps, especially Meet but also YouTube and sometimes Google Sheets/Docs as well.

They want to degrade the experience just enough to get you fed up with FF and go (back) to Chrome, without making it absolutely obvious that's what they're doing.

They often label these things as "regressions" because they don't test on Firefox and take forever to fix them. But I can't help but believe it's intentional.

1h agoHN ↗

Yes, exactly. Google products working worse on Firefox is a problem with Google, not Firefox. I'm not sure why the conflict of interest isn't more obvious.

3h agoHN ↗

Your history is off. Opera was the first mainstream browser to implement tabs and boy was Opera also much faster than Firefox at its peak (both UI, resource usage, and rendering) which overlaps that “peak” Firefox period by a lot.

Firefox was great because it was open source but it wasn’t ever really the “best” browser - it was the best open source browser.

2h agoHN ↗

it was the best open source browser.

Yes that was implied because IE was not mentioned either!

1h agoHN ↗

When the original Phoenix browser was released, Explorer was in the middle of its slumber with the dreadful v6. Phoenix might not have been as feature-full as IE6, but it was very much the superior experience. It made browsers fun again.

1h agoHN ↗

They are clearly progressing now as a project and the world definitely needs what they are building - it's literally something you can download and run right now.

Rust was started in 2006 (20 years ago) and is now one of the most powerful programming languages, while the Servo project was started in 2012. If they reach parity and beyond of current browsers this could clearly become one of the most important browser engines in the future. Effort very well spent in my opinion.

4h agoHN ↗

I really wish a patron would step up and sponsor this project. Not just by money, but also by plugging it in their browser-carrying products. Maybe Hauwei of Samgsung; they now sling a browser derived of another for-profit --usually competitor-- company's browser.

4h agoHN ↗

I don't really see why they would do that?

54m agoHN ↗

Being dependent on a direct competitor is not a comfortable position to be in. It's ameliorated significantly by Chromium being open source, but not completely.

4h agoHN ↗

So right now Servo is funded by the community, and this is no good because why? Instead you propose that this project should be funded by a for-profit company with it's own objectives in this world (that often starts with "more money"), again leading me to ask why?

The setup right now seems to give enough people enough time to work on it to move forward, why on earth would you want to involve companies infamous for their shit software quality, like Samsung?

3h agoHN ↗

Probably because broad adoption would help making it a real option to use in the near future?

So sure, Samsung would bundle it with their usual crap, but if it helps making the engine more mature, great, but I also don't see why they would in the first place.

3h agoHN ↗

It had broad adoption, Mozilla threw it away.

The same would occur again.

3h agoHN ↗

Servo never had. But yes, mozilla management let FF go down the drain.

54m agoHN ↗

Down the drain? Firefox is still a great browser.

13m agoHN ↗

Their performance is not great comoared to the competition and their market share is at 3.7% and falling. The only thing that keeps me there, is ublock origin. The moment ladybird or a a servo base browser becomes an option I switch.

And if FF also starts to restrict UO, I just go to chrome then. I assume many think like me.

2h agoHN ↗

In fairness, while there was definitely Mozilla mismanagement, there was also a massive monopolistic marketing/bundling campaign by Chrome. Google search and other properties pushed Chrome, Google paid application publishers to bundle Chrome the way they bundled adware, and so on.

1h agoHN ↗

Servo was not intended to replace Gecko. By all reports it was an experimental component, many of whose findings were used in Gecko.

That folks want to take it further is admirable. But doubtful Mozilla could have afforded to with their existing commitments.

3h agoHN ↗

So right now Servo is funded by the community, and this is no good because why?

Because look at Mozilla... You need to get the browser in front of people. A browser that works on the real web, is such a huge project, you cannot do it as a hobby community-funded project for ever. You need user-share-%.

Samsung can put it in front of Samsung appliance users.

1h agoHN ↗

Samsung has put Enlightenment 17 in front of every Tizen user. I am not seeing the flood of apps implemented on EFL coming out

1h agoHN ↗

Instead you propose that this project should be funded by a for-profit company with it's own objectives in this world (that often starts with "more money"), again leading me to ask why?

You understand that Mozilla Firefox is not funded by the "community" and is completely funded by Google's money. Even donating does not fund the browser.

Mozilla knows that the open source "community" has no money, and cannot replace the amount of money Google is paying them and the employees who work on the browser.

The question is are you ready to fill the $600M a year black hole for Google to NOT pay Mozilla to fund Firefox?

It only makes sense for Servo to get funding from for-profit companies at this point, which is one of the only ways open source can work.

3h agoHN ↗

Huawei are funding Servo. They have a small full time team on it and are the main reason the project got revived in 2022.

2h agoHN ↗

That’s interesting, anyone have more info on how why this came about? The why is pretty clear at least.

2h agoHN ↗

It came about because US sanctions on Huawei mean that they are unable to make contributions to any of the major browser engines which are all controlled by US entities.

1h agoHN ↗

I was not aware of this, and now I suddenly understand the weird hate that the project gets from drive-by commenters. (I don’t agree with it, but I can see a plausible motivation.)

4h agoHN ↗

Hot take... There is something about programming projects spending 10x (or 1000x) the effort to parallelize execution when everything is still restricted by von Neumann architecture.

3h agoHN ↗

This. I don't want your browser engine to use all my cores. I want the rest of my cores to be compiling C++.

3h agoHN ↗

Thanks to the scheduler, you can do both!

3h agoHN ↗

that's something you, the user, are free to enforce with priorities, pinning, etc.

3h agoHN ↗

It is not really about reserving cores.

Just that - even if you distribute work to a number of cores (that itself limited), you still need to sync the execution. So unless you have some bigger chunks of computation, the performance increase will be very small.

And yes, there are bigger chunks of work when rendering a web page, but that is typically already outside the css engine and can be distributed without having to rewrite the core engine.

But my comments are a bit generic here, so I am open to comments regarding this particular project.

59m agoHN ↗

Servo also had some other novel architectural ideas IIRC, not directly related to paralelism, but it's been a while since I was looking into that, I don't remember much.

2h agoHN ↗

I want all my software to use all my cores, because I'll have twice as many within 5 years.

52m agoHN ↗

Will you though? I like the adage: "We used to write software like hardware will get twice as fast every 2 years. Now we should write software like hardware will get twice as expensive every 2 years."

1h agoHN ↗

It's more efficient to use all the cores briefly and go back to whatever background task than have long running mixed load. This also matches performance expectations, you generally want the web page displayed _now_ and the compile to finish ASAP while accepting it will take _some_ time.

1h agoHN ↗

Assuming it is "briefly" and not indefinitely. See: cloudflare, excessive js, etc.

1h agoHN ↗

As someone who had their first internet connection through NLnet in the 90s (later UUnet I think?), I’m so pleasantly surprised the impact that the organization has for open source projects globally.

51m agoHN ↗

I didn't know about this but of NLnet history. I assumed you had been mistaken so I looked it up. That's really cool!

1h agoHN ↗

Servo uses mozjs which is just rust bindings for SpiderMonkey which is still C++.

All this effort to use rust and yet they would not rewrite the JS engine which is the biggest attack surface for memory vulns.

1h agoHN ↗

Why would it help? Rust doesn’t do anything to make generated assembly code safer.

1h agoHN ↗

You don't have to have a JIT to have a JS VM ?

54m agoHN ↗

But you would want one to get competitive performance.

1h agoHN ↗

I'm glad we have an alternative to ladybird, since I haven't been a fan of the direction of the project for a bit.

49m agoHN ↗

What in particular? I've enjoyed watching some of the community update videos and dev videos, but haven't followed the project closely.

41m agoHN ↗

Would also be interested to hear why. Personally I used to watch serenityOS and only recently relooked into it to see the main guy was no longer leading it but working on ladybird full time

20m agoHN ↗

They announced they are doing an AI assisted rewrite of parts of their code into Rust. That would alienate some.

https://ladybird.org/posts/adopting-rust/

Myself, my annoyance with Ladybird is that restarted everything from scratch. There are components of servo that are really good and basically complete. Why not use those components and concentrate on the components where you have design conflicts with Servo?

25m agoHN ↗

Any idea how much this has cost them?

Some non-profits have their HQ in the valley and pay SF salaries when they could just as well have paid a fraction of that to a very competent developer elsewhere.