| |
A developer has created PL/CBMBASIC, a PostgreSQL extension that allows users to write database functions using authentic Commodore 64 BASIC V2 code from 1982. The extension runs the original 6502 ROM interpreter compiled into C within PostgreSQL's backend, executing functions roughly 1,000 times faster than original hardware while maintaining the quirks and limitations of classic BASIC, such as mandatory line numbers and variable name truncation. The implementation creatively maps Commodore 64 concepts to SQL, treating the database as "device 8" (the original disk drive) and enabling data access through traditional BASIC file I/O commands.
Read Full Article →
← More Tech news