CP/M User
Veteran Member
I was wondering if anyone had any thoughts about how QBasic would deal with certain problems while shifting from it's Interpreted Form into the Compiled format, or if it's being written in a certain way to avoid certain problems.
I can only draw upon experiences from my own system (Amstrad CPC) and Locomotive BASIC. It's a fine language, though it wasn't bundled with Compiler as standard, so many 3rd Party software houses made their own Compilers based on the language, lots of them lack the use of Floating Numbers (not all, but many) and it's left me with the feeling that certain parts of the Language are omitted because they have written something which is emphasised on Speed rather than Accuracy, though again I don't know if it's due to the way an Interpreted language can do certain things which are more problematic in Z80 Assembly.
In recent years a Cross Compiler was written (under Windows), it too wants to create something which is close to that BASIC, but it also wants to enhance it's performance with speed, though it seems to sacrifice in a number of other areas, I have a List somewhere translated documentation of the differences & there's a Website if anyone wanted to see it. A few years ago I tried writing a Game for it, but some frustrating issues left me to leave that Compiler and code it in Pascal instead and I had no problems completing the project with that. Execution times were excellent and I only thing I had to worry about was running out of memory as I only had 20Kb.
I don't know if the problem is QBasic runs under DOS on 16-Bit Platform and 16-Bit Assembly has more provisions to make Interpreted Languages much easier to translate to. Please share your thoughts.
I can only draw upon experiences from my own system (Amstrad CPC) and Locomotive BASIC. It's a fine language, though it wasn't bundled with Compiler as standard, so many 3rd Party software houses made their own Compilers based on the language, lots of them lack the use of Floating Numbers (not all, but many) and it's left me with the feeling that certain parts of the Language are omitted because they have written something which is emphasised on Speed rather than Accuracy, though again I don't know if it's due to the way an Interpreted language can do certain things which are more problematic in Z80 Assembly.
In recent years a Cross Compiler was written (under Windows), it too wants to create something which is close to that BASIC, but it also wants to enhance it's performance with speed, though it seems to sacrifice in a number of other areas, I have a List somewhere translated documentation of the differences & there's a Website if anyone wanted to see it. A few years ago I tried writing a Game for it, but some frustrating issues left me to leave that Compiler and code it in Pascal instead and I had no problems completing the project with that. Execution times were excellent and I only thing I had to worry about was running out of memory as I only had 20Kb.
I don't know if the problem is QBasic runs under DOS on 16-Bit Platform and 16-Bit Assembly has more provisions to make Interpreted Languages much easier to translate to. Please share your thoughts.