Skip to main content

BBC Basic

A competitor to Liberty Basic from across the pond entered my radar in recent months. It's called BBC Basic for Windows and it's maintained by Richard T. Russell -- a sort of British Carl Gundel.

I was sufficiently impressed to buy a license and try it out as a testing tool for a project.

BBC Basic has a rich history that involves the BBC Micro and Acorn computers. The history of Acorn Computers parallels that of famous American companies like Apple and Commodore.

BBC Basic for Windows is a little more complicated than Liberty Basic, but it is also much faster and more powerful. I'll post updated Sieve benchmarks comparing Liberty Basic, Run Basic and BBC Basic in coming weeks.

Liberty Basic and Run Basic were developed with different tools and differing philosophies:

  • Liberty Basic was written in Smalltalk and has some of Smalltalk characteristics like big strings and really big integers. To understand what I mean, open a workspace in Squeak Smalltalk and evaluate the following: 1024 factorial.
  • BBC Basic was written in assembly language. It's fast, but has legacy power-of-two limits like 65535 character strings and program lines that can't exceed 251 characters.
  • Liberty Basic has integrated user interface statements. BBC Basic, however, keeps the core language small and moves user interface functions to external libraries. Liberty Basic doesn't support code libraries.

My evaluation of BBC Basic continues, and I'll have more to say about it in future posts.

Comments

Popular posts from this blog

BASIC turns 50

Well, the BASIC language actually turned 50 on May 1, 2014, and I'm very late to the party. Born at Dartmouth in 1964 (along with the first commercial time sharing), here is the university's tribute page . There is even a great 38 minute documentary that they made for the occasion. 10 PRINT "ENJOY" 20 GOTO 10

Tiny Basic tinkering

One of the examples on the Run Basic website is a port of Tiny Basic . It's fun to play with and is very much like the interactive, command line Basics found on early personal computers. In fact, I think Tiny Basic was the dialect used on the TRS-80 Model 1. I'm currently working on modifying Tiny Basic to run the Sieve benchmark. Tiny Basic needs two things: profiling and array support . I've already added profiling support for the RUN command. Tiny Basic now displays the running time of a program in milliseconds. The last step is to add array support. Tiny Basic only supports the numeric variables 'a' to 'z'. I'm adding a single array to the environment in order to port the Sieve program. The array will be called a(). I will post the modified Tiny Basic code to the Run Basic Programming Wiki when finished. The whole point of this exercise, however, is to see how fast the Tiny Basic interpreter runs the Sieve benchmark and compare it to the others i...

Run BASIC Hosting Service Launched

The new Run BASIC hosting service launched at midnight! Please visit http://runbasichosting.com for more details. Monthly and annual subscriptions are available. Run BASIC , a product by ShopTalk Systems, is a tool that makes it easy to create your own web applications. No computer science degree required . Run BASIC Hosting is a service that makes it easy to deploy your applications to the Internet. No IT experience required .