Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 1 hour 31 min ago

Iarpa

Mon, 07/27/2026 - 9:36am
Categories: Hacker News

AI as Normal Technology

Mon, 07/27/2026 - 9:36am
Categories: Hacker News

Show HN: How many more times will you see your mother?

Mon, 07/27/2026 - 9:31am

Article URL: https://countyourtimes.com

Comments URL: https://news.ycombinator.com/item?id=49069478

Points: 1

# Comments: 0

Categories: Hacker News

Pigeongram

Mon, 07/27/2026 - 9:25am

Article URL: https://www.pigeongram.com/

Comments URL: https://news.ycombinator.com/item?id=49069407

Points: 2

# Comments: 0

Categories: Hacker News

Show HN: Arcade.js – Decompiling MAME ROMs into Idiomatic JavaScript with LLMs

Mon, 07/27/2026 - 9:23am

arcade-js is an experiment in using an agentic harness to decompile ROM machine code.

A MAME ROM is a good candidate for porting — you can run it perfectly and capture its state. It is also a challenge — pure machine code running on odd hardware.

To get from machine code to readable JavaScript, we go through several stages:

1) Disassembly — pull the raw bytes apart into instructions and data.

2) Translation — rewrite it one instruction at a time into JavaScript that's provably identical to the original. We call this "assembly-JavaScript": it's JavaScript, but its shape is the assembly's.

3) State testing — run the assembly-JavaScript next to MAME and check that every register, every byte of memory, and the cycle count all track it. Not bit-perfect (real hardware has a CPU-vs-video-beam race we don't chase, etc.) but close enough to catch errors.

4) Decompilation — rewrite that assembly-JavaScript into real, idiomatic JavaScript.

5) Pixel testing — the idiomatic code no longer tracks registers or cycles, so we check the only thing that ultimately matters: the output.

6) Clarification — the surprise, where an LLM reasons about the code and its behavior to create human-readable JavaScript.

We point to two good examples of the technique: Donkey Kong (1981), because everyone has heard of it; and The Pit (1982), because no one has.

https://github.com/qarl/arcade-js/blob/main/games/dkong/idio...

https://github.com/qarl/arcade-js/blob/main/games/thepit/idi...

Note: the repo does not hold the original ROMs (which contain copyrighted artwork). If you want to actually play the games, you must provide your own.

Comments URL: https://news.ycombinator.com/item?id=49069383

Points: 1

# Comments: 0

Categories: Hacker News

A Collection of Definitions of Intelligence

Mon, 07/27/2026 - 8:39am

Article URL: https://arxiv.org/abs/0706.3639

Comments URL: https://news.ycombinator.com/item?id=49068824

Points: 1

# Comments: 0

Categories: Hacker News

Pages