frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
217•sam-bee•3h ago•103 comments

We found an undocumented bug in the Apollo 11 guidance computer code

https://www.juxt.pro/blog/a-bug-on-the-dark-side-of-the-moon/
207•henrygarner•4h ago•119 comments

Show HN: A cartographer's attempt to realistically map Tolkien's world

https://www.intofarlands.com/atlasofarda
69•intofarlands•2h ago•13 comments

Dropping Cloudflare for Bunny.net

https://jola.dev/posts/dropping-cloudflare
137•shintoist•1h ago•62 comments

Every GPU That Mattered

https://sheets.works/data-viz/every-gpu
199•jonbaer•6h ago•108 comments

Identify a London Underground Line just by listening to it

https://tubesoundquiz.com/
105•nelson687•4h ago•31 comments

Running Out of Disk Space in Production

https://alt-romes.github.io/posts/2026-04-01-running-out-of-disk-space-on-launch.html
89•romes•4d ago•40 comments

9 Mothers (YC P26) Is Hiring – Lead Robotics and More

https://jobs.ashbyhq.com/9-mothers?utm_source=x8pZ4B3P3Q
1•ukd1•1h ago

Show HN: Stop paying for Dropbox/Google Drive, use your own S3 bucket instead

https://locker.dev
147•Zm44•3h ago•125 comments

Wi-Fi That Can Withstand a Nuclear Reactor: This receiver chip can take it

https://spectrum.ieee.org/robotics-in-nuclear-industry
37•voxadam•4d ago•1 comments

Blackholing My Email

https://www.johnsto.co.uk/blog/blackholing-my-email/
109•semyonsh•6h ago•7 comments

My Experience as a Rice Farmer

https://xd009642.github.io/2026/04/01/My-Experience-as-a-Rice-Farmer.html
257•surprisetalk•5d ago•121 comments

SQLite in Production: Lessons from Running a Store on a Single File

https://ultrathink.art/blog/sqlite-in-production-lessons
45•thunderbong•3d ago•22 comments

Show HN: Pion/handoff – Move WebRTC out of browser and into Go

https://github.com/pion/handoff
55•Sean-Der•2h ago•11 comments

AI may be making us think and write more alike

https://dornsife.usc.edu/news/stories/ai-may-be-making-us-think-and-write-more-alike/
138•giuliomagnifico•3h ago•132 comments

DeiMOS – A Superoptimizer for the MOS 6502

https://aransentin.github.io/deimos/
38•Aransentin•3h ago•10 comments

You can't cancel a JavaScript promise (except sometimes you can)

https://www.inngest.com/blog/hanging-promises-for-control-flow
17•goodoldneon•1h ago•10 comments

Floating point from scratch: Hard Mode

https://essenceia.github.io/projects/floating_dragon/
60•random__duck•2d ago•10 comments

Haunting Photos Show the Aftermath of the Kursk Submarine Disaster in 2000

https://rarehistoricalphotos.com/kursk-submarine-disaster-photos/
68•mooreds•4d ago•12 comments

Breaking the console: a brief history of video game security

https://sergioprado.blog/breaking-the-console-a-brief-history-of-video-game-security/
53•sprado•5h ago•11 comments

Sam Altman may control our future – can he be trusted?

https://www.newyorker.com/magazine/2026/04/13/sam-altman-may-control-our-future-can-he-be-trusted
1697•adrianhon•1d ago•704 comments

Record wind and solar saved UK from gas imports worth £1B in March 2026

https://www.carbonbrief.org/analysis-record-wind-and-solar-saved-uk-from-gas-imports-worth-1bn-in...
57•mindracer•2h ago•19 comments

Hybrid Attention

21•JohannaAlmeida•1h ago•4 comments

Show HN: Ghost Pepper – Local hold-to-talk speech-to-text for macOS

https://github.com/matthartman/ghost-pepper
424•MattHart88•19h ago•189 comments

Three hundred synths, 3 hardware projects, and one app

https://midi.guide/blog/three-hunded-synths-one-app/
92•ductionist•9h ago•10 comments

Issue: Claude Code is unusable for complex engineering tasks with Feb updates

https://github.com/anthropics/claude-code/issues/42796
1233•StanAngeloff•1d ago•673 comments

Second Revision of 6502 Laptop

https://codeberg.org/TechPaula/LT6502b
87•uticus•4d ago•17 comments

Solod – A subset of Go that translates to C

https://github.com/solod-dev/solod
162•TheWiggles•14h ago•37 comments

Launch HN: Freestyle – Sandboxes for Coding Agents

https://www.freestyle.sh/
299•benswerd•22h ago•151 comments

A cryptography engineer's perspective on quantum computing timelines

https://words.filippo.io/crqc-timeline/
519•thadt•23h ago•214 comments
Open in hackernews

DeiMOS – A Superoptimizer for the MOS 6502

https://aransentin.github.io/deimos/
38•Aransentin•3h ago

Comments

kstrauser•1h ago
That’s incredibly clever and a fun read. Well done!

I imagine lots of demo coders glancing back and forth between that writeup and their own carefully hand-tuned assembly.

Aransentin•1h ago
Thank you!

Demo coding is indeed the primary usecase for this, and the reason for why I started tinkering on it in the first place. That, and people who make homebrewed NES / C64 video games should find it fairly useful for optimizing tight loops and such.

HarHarVeryFunny•1h ago
If you assume that A * 10 isn't going to overflow, so that ASL A moves 0 into the carry flag (so no need for CLC), then instead of using the undocumented RRA opcode, you can just do:

sta $00

asl a

asl a

adc $00

asl a

This is also 7 bytes, but is faster since adc $00 is 3 cycles, vs rra $00 being 5 cycles.

The A = max(A, X) example is certainly interesting, but not very useful since it loops through the code twice (very slow) and assumes that $8a is available. The much faster obvious version only adds one byte:

stx $00

cmp $00

bcs done

txa

done:

Aransentin•1h ago
Sure. Note that I picked those examples to demonstrate the two fairly quirky classes of things the optimizer tends to find. If the programmer has different requirements they can specify that, and it'll spit out the examples you gave (or something equivalent).
HarHarVeryFunny•47m ago
I like the idea of exhaustive search, which the simplicity of the 6502 seems ideally suited for, but the search speed seems a bit limiting. I wonder if there's not potential for more generation restriction (e.g. code can only use a specific N bytes of zero page) and heavy search pruning to speed it up? If it could generate optimal 20-30 op sequences in semi-reasonable time that'd make it very useful.
Aransentin•41m ago
Having it only use operations that use a specific set of zero-page addresses is already supported, yep!

20-30 ops is probably impossible, unfortunately. The combinatorial explosion is just too enormous.

peterfirefly•34m ago
e-graphs have been repeatedly reinvented across decades for many purposes. One of them is superoptimization.

https://en.wikipedia.org/wiki/E-graph

https://www.cs.cornell.edu/courses/cs6120/2025sp/blog/supero...

https://github.com/philzook58/awesome-egraphs

vibecoderking93•1h ago
Great
rbanffy•27m ago
Interesting and fun read - we are well into the terrain of what was completely impossible to do back then. Now I can't wait to see a faster AppleSoft ROM ;-)
potus_kushner•9m ago
reminds me a bit of https://pubby.games/codegen.html just that its approach seems way more refined and useful.