frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Quake ported to safe Rust, playable in browser

https://quake-srp.pages.dev/
75•ilreb•1h ago

Comments

NSUserDefaults•48m ago
Safe rocket jumping? Unlikely.
shoobiedoo•10m ago
It's much safer now that it's written in rust

.... /s, if it needed to be said

Panzerschrek•43m ago
How? Was it a LLM-assisted rewrite?
schleck8•43m ago
Naturally
NooneAtAll3•18m ago
who's on first?
tw1984•40m ago
probably done completely by LLM
aizk•26m ago
Mindboggling that people used to do this by hand.
rvz•16m ago
Of course it was.
CBLT•40m ago
Damn, no results when I grep for 0x5f3759df in the source[0].

[0] https://github.com/terrapapagalli1516/quake-srp

airesQ•30m ago
That's for quake 3, the fast inverse square root was not present in quake 1.
onion2k•40m ago
Code lives here - https://github.com/terrapapagalli1516/quake-srp (SRP stands for 'slop rust port'.)

I think 'standing on the shoulders of giants' is the phrase for something like this. It's the confluence of browser rendering, WASM, Rust, and LLMs. For me it's less a demo of what AI can do, and more a showcase of the human effort from the past few decades on the parts that needed to fall into place for an LLM to come in at the (relatively speaking) last second and claim a win. Sure, an LLM did the port from C to Rust, but think of all the things needed for it to all work. That's pretty damn amazing, and it wasn't done with AI.

pixelpoet•30m ago
The port to Rust was superfluous though, could've gone directly from C to wasm. But then you miss out being able to say Rust Rust Rust...
flowerthoughts•40m ago
That's darn nice. I didn't even have to push the turbo button to be able to run it on my phone.

I wholeheartedly bless this slop.

Found the repo in the Reddit post:

https://github.com/terrapapagalli1516/quake-srp

https://www.reddit.com/r/quake/comments/1x1ch14/quake_srp_sl...

koala_man•37m ago
I would never have imagined a phone web browser capable of this in 1996 between playing Quake and testing out the hot new JavaScript powered mouse rollover image effects in Netscape Navigator 2.0
aroman•33m ago
Oh my god, and the author even supplied a "proof"[0] visual diff harness... that it replicates the original game pixel for pixel.

Just the cherry on top of great demonstration of our collective new superpower: asking computers to do something we can describe how to do, but would (probably) never take the time to do ourselves.

[0] https://github.com/terrapapagalli1516/quake-srp/tree/main/or...

ChickeNES•30m ago
tbh I thought this was a commonly used technique even prior to LLMs? I know I've been using it extensively myself, but I was inspired by Dolphin's extensive visual CI system.
aroman•28m ago
If it is common in the world of video game porting, that just shows my ignorance. I'm familiar with visual diffs in CI for e.g. web development (comparing a static component), but to do that to compare frames over time in a video game/3D environment is new to me.

There are so many more degrees of freedom, which I can see Claude handled... mipmaps, subtle differences in lighting/positioning/compositing etc.

koito17•23m ago
Even then, visual diffs were pretty flakey for web development, because one's OS and browser choice would slightly alter the exact pixels blitted to the screen. At least this was the case for the tests that would simply match pixels instead of computing a sort of visual hash.

It's also partly why some people preferred snapshot tests that compared the DOM tree instead, though that was brittle in other ways (e.g. tests would break if an application's frontend used a major UI library and an update to the library permuted the order of classes in some part of the HTML).

cush•33m ago
It's so smooth
pixelpoet•29m ago
It was smooth on a 90 MHz Pentium1 from 1996
dr_hooo•11m ago
Mr moneybags over here... True, but for mere mortals that was a pretty high bar. Speaking from experience from fighting a 486DX2-80
sergiotapia•30m ago
We're in a renaissance, every day more and more games are just playable in browser: https://x.com/RadiantOpti/status/2108068632991256995

You can play Half Life right now, with one click.

franze•29m ago
ok this beats my doom minesweaper mashup [1] by far

[1] https://dreadsweeper.franzai.com/

fragmede•15m ago
Hah! That's great!
aizk•23m ago
This may sound funny but I feel games would lose a lot of fun if they were all written in rust and had classes of bugs just not available to them. For better or for worse quirks and bugs in games have shaped how people approach games, and also have given games charm for decades.
kibwen•9m ago
Fortunately for gamers, Rust doesn't do anything to stop physics engines from going haywire or preventing players from clipping out of bounds. A Mario 64 written in Rust still has parallel universes.
DylanMerigaud•16m ago
Clean launch, good luck!
dwroberts•9m ago
‘Safe rust’ just being used to mean ‘no unsafe’ is kind of a shallow understanding of the language. You can write code without unsafe that is not really ideal at all eg abusing vector/slice indexing to create a kind of interior mutability that the borrow checker is blind to. Which as a C port I’m going to guess it probably ends up doing
iwassayinbourns•8m ago
This is cool. Do Quake 3 next.
tnolet•10m ago
For web UI tests this is mainly solved, at least when using Playwright. It allows setting thresholds, percentages and some other config items to allow some small differences in pixels. https://playwright.dev/docs/test-snapshots#options
King-Aaron•20m ago
Yeah cool.

How long before the same thing is done to like, banking back ends? Wallstreet proprietary software? Amazons logistics and distribution systems?

It seems like we might be weeks/days/hours before a situation where someone back engineers and spoofs a system so pivotal to modern human society that the plug needs to be pulled.

brobdingnagians•9m ago
If someone recreates Amazon's logistics and distribution systems they could try to compete with Amazon? But they'd also need the connections, distributors, transportation, etc. same with banking software, you need capital to be a bank not just software, and if they have the capital then the technology is working we intended making it easier to make new things and innovate, or at least just compete?
dyauspitr•8m ago
Or they can just take your money and not send out anything.
King-Aaron•7m ago
No, I am not talking about "taking over" companies and trying to emulate them and do business yourself. You just need to be able to break trust in the api calls and no one knows if a purchase order or transaction is legitimate.

Obviously you need to have access to the keys, BUT I don't see this as a dealbreaker anymore because you just get your agents to go and find them.

hypfer•8m ago
I mean some people (me included) have been begging society to pull that plug since over 10 years now.

The plug being "the cloud" and "hooking everything up to the same internet".

These confusion attacks can only confuse people, because critical systems can exist in the same space where entertainment systems and all other categories of systems live. This was wrong even before LLMs.

brobdingnagians•6m ago
The visual diff harness was probably how they got rid of a lot of visual bugs, just tell the LLM to keep going until the pixels match exactly as the verification criteria

Agency offers staff two years pay if they can replace themselves with AI

https://mumbrella.com.au/agency-offers-staff-two-years-pay-if-they-can-replace-themselves-with-ai...
1•jyhrow•1m ago•0 comments

Twin study sheds new light on screen time and mental health

https://news.ki.se/twin-study-sheds-new-light-on-screen-time-and-mental-health
1•XzetaU8•1m ago•0 comments

Logo.66576a96.png (256×71)

https://labs.google/flow/tv/_next/static/media/logo.66576a96.png
1•treasure2seek•4m ago•0 comments

Giving and taking credit in big tech companies

https://www.seangoedecke.com/giving-and-taking-credit/
1•gfysfm•5m ago•0 comments

Whooping Cranes Learned to Migrate by Following Costumed Pilots

https://theverifiedpost.com/article/whooping-cranes-ultralight-costumed-pilots-operation-migration
1•kgolubic•6m ago•0 comments

Trump honors Microsoft's CEO after Vance drops H-1B visa hammer on the company

https://www.washingtonpost.com/politics/2026/10/08/trump-microsoft-nadella-musk-ai/2a7fcefa-c33f-...
2•snikolaev•8m ago•0 comments

Nace reports higher document parsing scores than GPT-6 Astra at 1/10 the cost

https://www.nace.ai/blog/document-intelligence-launch
1•ilreb•9m ago•0 comments

RosCept: Discover Smart Solutions for a Better Future

https://www.facebook.com/RosCeptTry/
1•lillianlindseyy•10m ago•0 comments

The era of speedball capitalism has dawned

https://www.economist.com/business/2026/09/30/the-era-of-speedball-capitalism-has-dawned
2•fragmede•11m ago•0 comments

Ask HN: Are you a subscribed LLM or a locally deployed open-source model?

1•hanstyle•12m ago•0 comments

JSP: A Practical Method of Program Design (1979)

https://archive.org/details/jsppracticalmeth0000inge
1•turtleyacht•13m ago•0 comments

Frisco Was a Welcoming Place for Indian Immigrants. Then Came the Influencers

https://www.texasmonthly.com/news-politics/frisco-indian-immigrants-influencers/
1•littlexsparkee•15m ago•0 comments

Show HN: HCSM – An Open Framework for the Hodge Complex Standard Model

https://github.com/007STAN/HODGE-COMPLEX-STANDARD-MODEL-HCSM-
3•007STAN•20m ago•1 comments

Temporal Continuity API

https://api.rscapex.com
2•TomKrysos•22m ago•1 comments

Anthropic pulls Startup program revoking pending offers

https://twitter.com/claudeai/status/2108404561413349695
5•imdsm•23m ago•0 comments

Keys and Values Don't Always Belong Together

https://tidesdb.com/articles/keys-and-values-dont-always-belong-together/
2•alexpadula•28m ago•0 comments

Ask HN: Matter: Doesn't Matter?

3•macro-b•31m ago•1 comments

Show HN: Hallowed Concepts – Risk of Rain 2 guides and browser-local run tools

https://hallowedconcepts.com/
1•richardharmer•33m ago•0 comments

MXC - a sandboxed code execution system

https://github.com/microsoft/mxc
2•nreece•36m ago•0 comments

Anthropic Says Users Can't Be Needlessly Cruel to Claude

https://www.macrumors.com/2026/10/08/anthropic-user-guideline-update/
4•tosh•38m ago•0 comments

Show HN: Vane – An open-source native Mac browser

https://github.com/notnaki/vane
2•notnaki•39m ago•1 comments

Physics-to-Math Research – an experimental Skill for scientific reasoning

https://github.com/ZWY-research/physics-to-math-research
1•Panda_14569•39m ago•0 comments

Show HN: Is this AI training on my prompts? A dated record of the fine print

https://trainedon.me/
1•tux404•41m ago•0 comments

Firebase's Global Outage

https://blog.pragmaticengineer.com/the-pulse-firebases-global-outage-poor-response/
1•EnnEmmEss•42m ago•0 comments

Show HN:APIFlow Studio – Open-source, offline-first Postman alternative

https://apiflowstudio.onrender.com/
3•yashpateldev•47m ago•1 comments

The Negotiator II – A 5-48V power supply in your wallet

https://anasmalas.com/bcv2/
2•AnasMalas•47m ago•2 comments

Codex Cloud shipped with Tailscale support. Nobody told us

https://tailscale.com/blog/codex-cloud-tailscale
2•tosh•48m ago•0 comments

Star Wars Author Timothy Zahn Will Write First Star Trek Graphic Novel

https://nerdist.com/article/exclusive-star-wars-author-timothy-zahn-to-write-first-star-trek-grap...
1•Tomte•50m ago•0 comments

Claude release: Dashboard for data visulization and Motion for data Animation [video]

https://www.youtube.com/watch?v=en0GuyhieQk
1•yuanBuilds•54m ago•1 comments

Show HN: Which Show HN Projects have licenses that you can use

https://thoughtwave.com/radar
1•jkalbfeld•55m ago•0 comments