Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. One Year of Sponsored Servo Development(servo.org ↗)
    54comments
  2. Neovim have a ~$800k Bitcoin donation sitting untouched since 2023
    21comments
  3. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    304comments
  4. My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it(jakeasmith.com ↗)
    37comments
  5. Keys Not Included: recovering the signing keys for US driver's license barcodes(ryan.science ↗)
    72comments
  6. GLM Built Its Own Inference Infrastructure(z.ai ↗)
    74comments
  7. The Relation Between Mathematics and Physics by Paul Dirac(cam.ac.uk ↗)
    24comments
  8. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    121comments
  9. Better Vector Search for Long Documents: Chunking Inside Manticore Search(manticoresearch.com ↗)
    discuss
  10. OpenAI Model Misalignment Report(openai.com ↗)
    43comments
  11. Iran school bombing: grounds to believe US was behind atrocity, UN finds(theguardian.com ↗)
    1comments
  12. Online Z3 Guide(microsoft.github.io ↗)
    6comments
  13. Lucasart's Afterlife(togameforlife.wordpress.com ↗)
    18comments
  14. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    122comments
  15. Small programming tricks(will-keleher.com ↗)
    243comments
  16. Comparison of Malloc() Algorithms(egbert.net ↗)
    18comments
  17. Backups Aren't Simple(filipovski.net ↗)
    160comments
  18. Developing provably correct Rust code with Verus(amazon.science ↗)
    22comments
  19. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    34comments
  20. Cloudflare/Security-Audit-Skill(github.com/cloudflare ↗)
    16comments
  21. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    245comments
  22. A 32-year-old bug walks into a Telnet server(watchtowr.com ↗)
    28comments
  23. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    363comments
  24. HarnessTax: How Much Does the Harness Matter for Coding Agents?(harnesstax.github.io ↗)
    55comments
  25. The engineering behind the US Strategic Petroleum Reserve(johnjwang.com ↗)
    88comments
  26. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    78comments
  27. PCB is brought to you by Fable 5(a6mzero.com ↗)
    58comments
  28. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    69comments
  29. The Return of Sail Power: Cargo Ships Are Turning Back to the Wind(gcaptain.com ↗)
    72comments
  30. Japan's book scene is moving from bookstores to libraries(untranslatedjp.substack.com ↗)
    82comments

One Year of Sponsored Servo Development

136 pointsby 3h agoservo.org
52 comments
3h 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?

2h 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.

2h agoHN ↗

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

1h 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.

44m 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.

34m agoHN ↗

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

2h 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

1h agoHN ↗

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

2h 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.

1h 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.

2h 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?

1h 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/

1h agoHN ↗

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

30m 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.

2h agoHN ↗

Feels like ladybird is going to Linux Servo

2h 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.

2h 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.

2h 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).

44m agoHN ↗

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

1h 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..

33m 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.

17m 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.

1h 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.

46m agoHN ↗

it was the best open source browser.

Yes that was implied because IE was not mentioned either!

16m 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.

2h 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.

2h agoHN ↗

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

2h 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?

2h 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.

2h agoHN ↗

It had broad adoption, Mozilla threw it away.

The same would occur again.

2h agoHN ↗

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

40m 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.

1m agoHN ↗

Servo was not intended to replace Gecko. By all reports it was an experimental component, maybe 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.

2h 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 ↗

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

48m agoHN ↗

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

45m 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.

2h 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.

1h 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++.

1h agoHN ↗

Thanks to the scheduler, you can do both!

1h agoHN ↗

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

1h 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.

26m agoHN ↗

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