Technology & AI
Someone got Doom in an SQL database
Source: Ars Technica - All content · Published

"Rendering Doom in a database is obviously a bad idea," Lukas Vogel writes in a lengthy blog post explaining how exactly he managed to render Doom using an SQL database. OK, that's not entirely accurate. The SQLDoom project uses a small Python client to handle input and output, d
"Rendering Doom in a database is obviously a bad idea," Lukas Vogel writes in a lengthy blog post explaining how exactly he managed to render Doom using an SQL database. OK, that's not entirely accurate. The SQLDoom project uses a small Python client to handle input and output, drive the game's timing, and display each frame to the screen.
Behind that, a series of CedarDB tables tracks the game geometry and state, while about 1,300 lines of SQL queries spread across 89 common table expressions implement the game logic and generate 35 bitmap framebuffers per second. In this, SQLDoom is a major improvement over Vogel's previous DoomQL project , which last year set out to build "a multiplayer Doom-like shooter entirely in SQL." Unfortunately, that effort ended up with raycasting-based, grayscale ASCII graphics that were more akin to the simplistic 90-degree-angled maps of Wolfenstein 3D . The newer SQLDoom, on the other hand, generates full-color 640x480 frames that look like they could have come from the original Doom executable.
Read full article Comments
Related stories

Lyft agrees to pay $272.5 million to settle worker classification lawsuit
Uber and Lyft were sued by the state of California in 2020 for misclassifying employees as contractors.
Engadget - Technology News & Expert Reviews ·
Sean Parker is rebuilding Stability AI around music
Sean Parker, who once taught the music industry what asking for forgiveness looks like, is now back with the labels' blessing and money.
TechCrunch ·

Meta open sources code to let you make Muse AI gadgets
Meta now lets you make your own Muse gadgets that feature the company's new AI agent with code that the company open sourced . The company suggests projects like loading Muse on a color E Ink display to show reminders, adding it to an HDMI stick so you can display Muse on a big s
The Verge ·

Amazon’s $1B plan to combat data center backlash draws more backlash
On Friday, Amazon committed to donating more than $1 billion over the next five years to communities neighboring data centers. In a press release , Amazon Web Services’ CEO Matt Garman said that communities would decide how to prioritize funds across “education, job training, ene
Ars Technica - All content ·

Netflix is pivoting away from prestige
Many of Netflix's biggest critically acclaimed hits have been the products of its multiyear production deals with noted directors like David Fincher and Shawn Levy. In the past few weeks, though, the streamer has brought some of those partnerships to an end in a way that feels in
The Verge ·