3 ms·
In principle, you could build a web server in classic QBasic: although it has no native networking support, it supports loading and calling machine code functio
by skissane 2y ago
In principle, you could build a web server in classic QBasic: although it has no native networking support, it supports loading and calling machine code functions written in assembly. So, you could write assembly code to call a DOS networking API (such as packet driver), and then use that to build a web server in classic QBasic. I expect the performance will be terrible, but probably someone will eventually do it (not me) just to show it can be done.
- deleted 2y ago[deleted]
- pjmlp 2y agoI am quite sure you would need QuickBasic proper for that, however I don't have the manual around to confirm that.
- starik36 2y agoIf I remember correctly, you had to run qbasic.exe with a /L switch to load 3rd party library.
- skissane 2y agoQBASIC had the CALL ABSOLUTE statement for calling machine language code. It didn’t require QuickBasic, the QBASIC that can with MS-DOS had it. Also GW-BASIC had it before it. You store the machine code as a list of integers in a DATA statement.