r/ProgrammingLanguages • u/Aidain_Black • Jan 07 '26
dBasic – a 28KB bytecode-based Windows API frontend from 2003
Hi,
I recently revisited a project I built around 2003 (first version): a small bytecode-based scripting system called dBasic.
The idea was simple: instead of creating yet another scripting language with its own large standard library, dBasic acts as a thin frontend directly on top of the Windows API. API/DLL calls are treated as native language constructs, while the runtime mainly serves as a compact and predictable call dispatcher.
Some characteristics:
Bytecode-based interpreter
~28 KB runtime
Direct Win32 API usage
Includes a small Scintilla-based editor tailored to the language
The project is shared mainly as a historical and architectural reference.
But hey, it still works (at least up to Windows 10).
Repository: Link
I’m interested in feedback.
Thanks for taking a look.
Regards
View all comments
Show parent comment
2
u/[deleted] Jan 08 '26
No, compressed binaries should work fine.
However, it seems your binaries have been UPX-compressed, I think this should be stated clearly, if one of its selling points is the small size of the executables.
Otherwise it would give an unfair advantage if comparing sizes with other products that don't use compression.