Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    251comments
  2. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    71comments
  3. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    31comments
  4. Italian parliament votes for return to nuclear energy(apnews.com)
    194comments
  5. Gemini 3.8 text-to-speech(blog.google)
    100comments
  6. Radicle: Disclosure of Vulnerability in the Network Protocol(radicle.dev)
    33comments
  7. Jev in 25 Lines of Python(nobodywho.ai)
    182comments
  8. GPT-6 Sol and Luna(openai.com)
    818comments
  9. Claude Opus 5.5(anthropic.com)
    1066comments
  10. Tokens too cheap to meter(jyn.dev)
    153comments
  11. DoorDash Spent $1.4M Trying to Stop Mamdani from Becoming Mayor. Now We Know Why(theintercept.com)
    40comments
  12. Stripe's Knowledge AI Platform(stripe.dev)
    97comments
  13. Show HN: Conway's Game of Life in boot sector(github.com/0xax)
    3comments
  14. Z80 REPL (2018)(abagames.github.io)
    17comments
  15. Claude Code reads AGENTS.md only when telemetry is on [fixed](szypowi.cz)
    236comments
  16. How we made claude.ai 3x faster in two weeks(claude.dev)
    49comments
  17. I don't want the details(michaelheap.com)
    173comments
  18. UK military jamming other nations' satellites to defend itself, BBC told(bbc.com)
    147comments
  19. Show HN: I built a post-mortem debugger for native Windows x64/x86 crashes(forensicdbg.com)
    discuss
  20. Show HN: An atlas of system designs with interactive architecture diagrams(atlas-sysdes.vercel.app)
    2comments
  21. Seattle City Council votes to ban surveillance pricing in sale of groceries(consumerreports.org)
    122comments
  22. QuestDB (YC S20) Is Hiring a Sales Engineer(questdb.com)
    discuss
  23. OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005(cryptocellar.org)
    431comments
  24. LensVLM-9B by Apple(huggingface.co)
    discuss
  25. Web-based IBM 1620 emulator and IPL-V from 1963(github.com/pkimpel)
    7comments
  26. Transit rewards(waymo.com)
    304comments
  27. 28% of job postings on company career sites have been open over 90 days(unlisted.careers)
    245comments
  28. Strands Harness(strandsagents.com)
    86comments
  29. GPT-6 Astra has gained the ability to drive a car(drivingbench.com)
    213comments
  30. What California is learning from solar panels built over irrigation canals(kqed.org)
    677comments

Show HN: Conway's Game of Life in boot sector

12 pointsby 2d agogithub.com
3 comments
Hello HN!

On these weekends, I was sitting and thinking about where our industry is going, and how fun it was earlier, when we wrote more code than chat messages. The thoughts quickly turned into a wish to build something like we did earlier. In my case, it ended up as something much "earlier" than I had in mind initially...

So, Conway's Game of Life running from a 512-byte x86 boot sector. Maybe you will find it interesting. I tried to comment the code as much as possible, which might be especially useful if you are learning assembly.

Have fun!

1h agoHN ↗

One of my favorite simulations! Thanks for sharing, hope the journey was enjoyable and you do more.

Love the use of VGA memory for the simulation grid. Were you able to double buffer, or how did you handle holding the previous state while processing the next one?

13m agoHN ↗

Yes, it was really fun!

Yes, doubled if you meant... To calculate the next generation I dumped the current (vga memory) after the grid is rendered to a buffer in memory and calculating the next one right to video memory back.

6m agoHN ↗

It's a great "DOOM" alternative, it requires a bit less raw resources, and it can be self coded. I managed to code one on an old Nokia phone (apps were Java applet things)