A friend of mine is considering using FreeBASIC in a critical production environment. They currently use GWBasic, and they want to make a soft transition towards more modern languages. I am just worried that there might be undetected bugs in the software. I see that their version number is 0.22.0, which indicates, that it is not quite mature yet. I also read this discussion, without being able to conclude. Also on their Sourceforge pages there is no indication of whether it is Alpha or Beta (which anyways is not a very good indicator). Does anyone have own experience about the maturity, ideas on how to judge the maturity, or know of companies using FreeBASIC in a critical production environment?
7 Answers
PureBasic is probably your best bet instead of FreeBASIC but if i was you, i'd probably change to a more modern and robust language such as C# or Python.
- 2,067
I hope it's not too late to dig up an old thread.
I have used FreeBASIC in an industrial environment for 5+ years, and have found it to be rock solid. It actually worked very well back around 0.1, with growing QuickBASIC compatibility, and has slowly grown to exceed those roots and become more "serious" but can be told to work in a near 100% QB compatible mode. Fairly large releases only see the version number go up by 0.01.
I suggest your friend takes the GWBASIC to MS QuickBASIC, which should be quite easy (I've done it before, isn't it designed for 100% compatibility?). FreeBASIC then gives you a '21st century' option to run natively as a 32 bit app should anyone feel the need. Otherwise with Windows 7 etc, you're stuck using a VM running DOS or something.
- 104
Imho the best BASIC to use for upgrading from GWBASIC is PowerBasic (www.powerbasic.com). Many have done this before, so there's quite a lot of experience in Powerbasic's user community should you need assistance there.
Also Powerbasic is a high quality product with almost no problems/bugs and actively developed. It's not free ($199) but worth every penny.
FYI: I'm not affiliated with them and use VB.NET myself (for professional reasons; otherwise it would be Powerbasic ...).
Powerbasic is quite mature, and I would heartily recommend it, especially if dependability and great support are important to you. I personally don't use it anymore because it is not really designed for games programming - for which I use (and recommend) the cross-platform BlitzMax.
That being said, Freebasic should not be too much of a hurdle if you're coming from GWBasic, and seems to be reasonably stable as well. Documentation and forum support are better than average as well.
Still, if I were a company (as opposed to an individual) looking for a solution that will be there and supported for the foreseeable future, I would go with something like Powerbasic. here is a program that can convert QBasic to Powerbasic: http://www.powerbasic.com/support/downloads/files/QB2PBv2.zip
Hope this helps! Russell
- 31
These are the following BASIC dialects which are good both as compiler and embeddable script:
- Gambas
These are the following BASIC dialects which are good only as compiler but can embed other scripts: - Jabaco
- ObjectiveBASIC
- FreeBASIC
- ChipmunkBASIC
These are the following embeddable BASIC dialects which are good, and can be embedded into other basic dialects depending on the frameworks:
- ScriptBAISC
- Maven‑SB4J
- AJBASIC
All these can also be used for making GUI applications which differ with each other, database connecting tools, and in the area of embeddable applications (webserver pages), ScriptBASIC and Gambas-GBS3 are already there, whereas if you can get FB‑curl and FB‑simplewebserver and integrate them into FreeBASIC framework, then also FreeBASIC‐server‐pages (if they are not there then you may have to download and copy‐paste the library and header files under the lib and include directory of FreeBASIC respectively). Even Jabaco can embed Maven‑SB4J, or ObjectiveBASIC and ChipmunkBASIC can embed AappleScript and ScriptBASIC respectively. So these are likely to have have solution for most of the requirements.
If you are very particular with GW‑BASIC compatibility then choose bwBASIC (GW‑BASIC enhanced for FreeBSD and Linux), but I don’t think there is much of any difference with some others.
However for graphics with bwBASIC you have to contend with x11 based options or wait until it adds support for tk, fox, and other well known toolkits.
If you are willing to look for:
Robust VB‑like development environment + BASIC server pages, then choose Gambas or Jabaco with Maven‑SB4J.
Robust interpreter supported with a thin but good IDE: FreeBASIC, and if you can get FB‑curl and FB‑simplewebserver and integrate them into FreeBASIC framework, then also FreeBASIC‐server‐pages.
Robust web-engine for basic server pages, then ScriptBASIC, and ThinBASIC.
So, these are all robust and may become usable at least after adding some few modules.
Borrowed some minor features from Python/Perl/Ruby: ScriptBASIC (and also yaBASIC3)
Easy and very standard syntax: would be oBASIC (openBASIC) in future, currently FreeBASIC and ScriptBASIC are two varied flavors or traditional basic, whereas Gambas and Jabaco are a varied VB6 dialects.
- 111
- 31
- 2
What exactly is your use case? Or rather your friend's use case. I would be directing them toward Python (or any of the other widely used but also simple languages out there) but perhaps there is some specific reason why they need to be using a BASIC dialect.
I'm all for playing around with various languages in personal projects, but for critical production purposes I generally stick to languages that are widely known, widely supported, and very battle-tested.
- 2,631
Then there is java-api support or japi for scriptbasic, yabasic2 and jabaco, which is cross-platform.
But of course now a days many basic-dialects have other cross platform toolkits too, which can soon pave way for quality applications in the future.
- 31
- 2