We ported the original Doom to SQL

(cedardb.com)

71 points | by Vaslo 1 day ago

8 comments

  • soltanov 1 hour ago
    Less lines of code than vanilla C while abusing query planning as a state machine is peak engineering malpractice. I love it.
    • Alive-in-2025 57 minutes ago
      Yes, this is fantastic! I'm trying it right now. I look forward to the day when LLM inferencing can be done in a sql query and take less than the age of the earth to do something. This works way better than I would have expected, since, well, it's sql all the way down.

      I noticed the cedardb.com blogpost on the project is slashdotted at the moment, but the game itself plays just fine.

  • ralfd 19 minutes ago
    I want to point out that they set up an EU and US multiplayer server! Nice touch.
  • pmkary 6 minutes ago
    This should be illegal :)))) Wow!
  • emsixteen 30 minutes ago
    Meanwhile I'm too inept to get WordPress to load dynamic content faster than molasses.
  • paul-vernon 11 days ago
    > The game logic is just ~5900 lines of SQL. While this sounds a lot, it’s definitely less than the original C source code which does the same in about 9000 lines!

    Nice

  • smalltorch 11 days ago
    Thats ridiculous I love it. The visual in the bottom right it a great illustration.
  • builder_woody 56 minutes ago
    [flagged]
  • dang 1 day ago
    (This has been posted numerous times but none of them made the front page. I've made a new copy of the earliest one that got comments.)