Remix.run Logo
glimshe 6 days ago

This is great. I've been around since the BASIC days and I always found awesome that most older personal computers had a programming language available within seconds of turning the computer on!

I did a lot of hobby programming in BASIC. But I wonder how many commercial applications were written with it. Did small or big businesses write their own BASIC programs for internal needs?

turbo_wombat 6 days ago | parent | next [-]

The original version of Ultima I was written in a mixture of BASIC and assembly. BASIC is pretty slow, but most BASIC implementations let you call into optimized assembly routines.

Though, past a certain point of complexity, performance aside, assembly might be more readable than BASIC because BASIC relied on line numbers for jumping around, whereas assemblers offered named labels.

CamperBob2 6 days ago | parent [-]

The original version of Ultima I was written in a mixture of BASIC and assembly.

True that. Who could forget "One moment for house-cleaning!" as it ran a FRE(0) every time you saved.

(... uh, everybody?)

WorldMaker 5 days ago | parent | prev | next [-]

Enough small businesses wrote little BASIC programs that Visual Basic was a huge deal for small businesses at the time. There were a lot of business apps written in VB. There are still a weirdly high number of business apps written in VBA for Access and Excel each year in some industries.

HankStallone 5 days ago | parent | prev [-]

I think there were a lot of small commercial applications if you count programs you could order from the little ads in the back of magazines. BASIC was fine for something like a recipe or address database, that didn't involve any graphics or sound.

int_19h 5 days ago | parent [-]

BASIC had great facilities for both graphics and (matching the hardware of that era). Various simple primitives like LINE and CIRCLE baked into the language itself, the PLAY statement, ON PEN for light pens and ON STRIG for joysticks. There were quite a few video games for the likes of C64 and ZX Spectrum written in BASIC, usually with machine code snippets for perf-critical stuff.

HankStallone 4 days ago | parent [-]

Depends on the version of BASIC. The BASIC 2.0 in the C64 didn't have those things, but 7.0 in the C128 had graphic and sound commands. Unfortunately, the C128's near-100% compatibility with the C64 meant that very few games were written to take advantage of its new abilities. It made more sense to keep making games for the C64 and its much bigger market.