96 points | 5d ago | Discuss on Hacker News | Back to Radar
Show HN: I wrote a BASIC interpreter that boots on UEFI machines - https://news.ycombinator.com/item?id=49410814 - Aug 2026 (44 comments)
I still think VB.NET is vastly more readable than C/C#/Java etc.
Unfortunately it was a one-to-one match to C#.
It would have been much netter if it was based on Visual Basic 6
VB.NET can do everything what you can do with C#. Saying that C# is better than VB.NET is like saying that French is better than Spanish.
For example, the new async/await runtime model is also for VB.
VB 6 way to do COM still wins out, though.
VB.NET and C# was treated as equals for a long time. I believe MS initially expected VB.NET to be the mainstream .net language, while C# was a compromise to attract Java and Delphi users.
But the transition from VB to VB.NET was not handled well. VB was very well liked by its users (even if non-users looked down on it) but VB.NET was worst of both worlds. Too different from VB to be smooth upgrade, and still nok considered as professional a language as C#
The real Visual Basic not by Microsoft is TwinBASIC(closed source).
I feel like that kind of event-driven programming model was very intuitive, even for younger audiences.
https://www.codemag.com/article/0505051/What%27s-New-in-Visu...
And I've upvoted and favorited, because this is the most out of date comment I've read on hn so far. ;)
Later, the VAX had BASIC with functions and subroutines and dropped the line numbers and this version of BASIC was significantly better. It was procedural, but you could organize your code into modules, keeping it readable and maintainable.
Eventually the non line number BASIC spread to the PC. Microsoft Professional Development System, then Visual BASIC.
Check PureBasic. https://www.purebasic.com/
Compiles to native, interfaces to C libraries, available on most platforms...
Fast during development, fast results, flexible, well conceived, a pleasure to work with...
The project started in 2003 - the market was different then. Curated products of that kind were normal (and an honest linear attempt to finance the endavour).
That is the real 'what if it had not gone out of fashion' path. VB/DOS definitely went out of fashion. GUI BASICs became fashionable, instead. Everyone who does a 'visual' BASIC nowadays does a GUI one.
The headlined BASIC is nothing like a VB/DOS for EFI, though.
That wasn't the case with GW-BASIC, due to how MS-DOS came to be.
However the idea of an EFI BASIC does sound rather nice, assuming the whole plethora of graphics programming as well.
Other take the easy way out with RISC OS for the Raspberry PI, which has BASIC as main programming language alongside Assembly.
I'm talking more about the distinction between VB/DOS and VB/Windows. They both did the whole WIMP thing, with a visual editor to construct the forms for one's programs, but VB/DOS used a TUI rendering that drew everything with VGA character graphics and used the firmware low-level keyboard access for input; whereas of course VB/Windows used the Windows GUI.
A VB/DOS-alike that ran on EFI and did the whole form-based programming thing, would use the EFI text input and output protocols, which know Unicode, waiting for events, and standardized scan codes and modifiers.
There is no major call for it, as you say, when bootstrapping an entire operating system is so easy. But it would be interesting to see someone tackle it from the point of view of what VB/DOS would look like today if it ran directly on the firmware, spoke Unicode, and ran in protected mode
A Phoenix like BIOS UI.
- SOUND PRELOAD
- SOUND INFO
- SOUNDGROUP
- SOUNDNAME$
- SOUNDAVAILABLE
- LOADWAV
- PLAYWAV
- STOPWAV
- WAITWAV
- PAUSEWAV
- RESUMEWAV
- WAVCTL
- DELWAV
- WAVACTIVE
- WAVPLAYING
- WAVSTATE
- WAVPOS
- WAVLENGTH
- WAVLOADED
- WAVSLOT
- WAVCHANNEL
- LOADMID
- PLAYMID
- STOPMID, WAITMID, DELMID, etc.
What a terribly designed language.If you were a new computer user in 1980, your Appie II+ or PET 8032 booted straight into BASIC, and it was a good-enough tool that could do productive development for the entire life of the machine there.
But if you were a new computer user in 1990, you didn't have that. They gave you GW-BASIC, and if you're lucky a separate manual rather than a vague chapter in the main DOS manual. This might be enough to give you some initial experience with programming, but you have a bunch of hard brick walls.
Your machine might have 640k-4Mb of memory, but GW-BASIC can only meaningfully work with 64k of it. You can't access the mouse or any post-EGA graphics modes without a LOT of assembly shimming. If you had a sound card, it was outside the built-in tooling.
Remember, this is a few years before the Internet being widely available, and stuff like the GNU project being widely accessible. This is probably the best development tool you have available
If you wanted to go further in programming, it meant buying a boxed compiler that probably cost well in excess of USD100, and was for a completely different language than the one you had cut your teeth on.
But if you wanted "The GW-BASIC I already understand, but more", you want this.
If you're curious about it, you can download it for free here: https://simpl-pseudocode.itch.io/simpl
Comments are loaded live from Hacker News and are not stored by Mid or Real.
_wire_ 5d ago on HN
mdp2021 4d ago on HN