Hi Fred, and happy holidays !
Nsstudios (Enne) and me have compiled this list of questions for you about Pure/SpiderBasic, and Fantaisie software in general. I hope they’re all okay to ask !
Part 1: Private Life
Quin: It’s been quite some time since the last interview with you. What does your personal situation look like now? Do you have any kids, where are you living, etc?
Hi Quin and Enne, thanks for coming up with this interview ! On a personal standpoint, my life greatly changed since the last interview which was almost ten years ago. I’m married since 10 years, got 2 boys which are now 8 and 5 so they are old enough to get back some free time the evening/night 😄. We live in the Paris suburb, and I have a daily work in a big french bank named SG.
Quin: How do you feel about where PureBasic/SpiderBasic currently stand? You just did the major SB 3.00 release and the first beta of PB 6.20 dropped just a few days ago. How do you feel about the direction of Fantaisie Software’s products in recent months/years?
I’m pretty proud of where we actually stand, with two robust products which found their audience. Please bear in mind that while I’m the main guy working on these products, I get help from many other people to improve the final products (to translate the docs, to do some IDE enhancement, to help with the 3D engine, even writing new libraries). For PureBasic, which is the more complex of the both due to the native machine code nature of the compiler, I feel like it’s now a mature product which covers a lot of area and allow to write very fast native looking cross platform programs and games. The time spent these last years to fix many remaining issues pays off and the new bugs reports are less frequent that it once was. About SpiderBasic, it’s a bit different as it’s still a kind of new product for me, even if it has like 10 years now ! It takes more time to get things rights but the latest 3.00 version is very big step forward with an integrated web view, debug output in the IDE and a new mobile UI. More people are actually building apps with it, so it’s a good sign for the future.
Quin: How much time do you tend to spend on SpiderBasic vs. PureBasic? In general, does one take priority over the other?
I try to not to, but PureBasic was getting more attention lately due to some important changes (new CRT, old timers bug fixes, new C back-end, OGRE3D update). I expect this to change starting from this year to have more evenly spread time across these two.
Quin: How do you decide what exactly to work on? Is it whatever seems most manageable, or something that presently interests you?
Lately it was more doing the essential stuffs on PureBasic to keep it up-to-date and working on new OS. There were not that much new features in the last few years and I hope it will change as I indeed prefer to write some new code which enhance the compiler/command-set than fixing things which used to work in the past.
Enne: How did you come up with the idea to make PureBasic? What would you do differently if you were to make PB today? Do you have any regrets?
PureBasic finds its root in the (old) Amiga days and is a spiritual successor of BlitzBasic. At that time, there was accelerators cards which were released on Amiga using PowerPC chips (the Amiga used 680×0 chips) and BlitzBasic wasn’t supporting these. So I wrote a kind of fork from scratch to support PowerPC. It started like that, and then when the Amiga finally died, I moved on PC and ported PureBasic for x86. If I were to start PureBasic nowadays, it would be a different product because I have a lot more experience now. But I got this experience while building PB, so you it’s hard to have any regrets. I think the only regrets I have is to have spend so much time on now dead ASM back-end/API (PowerPC for macOS, x86 for macOS, Carbon for macOS). I should have switch to a C back-end much sooner.
Enne: Do you use PureBasic or SpiderBasic for your projects outside of PB/SB development? Can you tell us what you use them for if so?
I use PB to build tools for managing PB and SB build process. Except from that I don’t use them anymore for other projects. I would like to find the time to use SB to build a good kid game for Android/iOS but right now it’s out of reach.
Enne: What do you find most rewarding about maintaining PureBasic and SpiderBasic?
The most rewarding thing is to see this heathly community around these products, with good help results. I like to follow the projects done with these products as well.
Quin: How do you balance your personal life with maintaining and developing PB and SB?
I keep some time for the family on the week-end and during the vacation, it’s not difficult. The evenings are for development though (and I can be up late) !
Quin: While SB certainly isn’t a dead product, it’s been observed that its forums are nowhere near as active or lively as the PB forums, despite its age. Is this something you see ever possibly changing? I for one love SB, I think it just hasn’t had its moment in the sun.
It’s hard to get a spot in the mobile app development as there is so many tools which are free and got the momentum. But I still think it’s getting better and if SB works as it should (which is not always the case TBH) it should find its audience. It’s a good all-in-one package which can deliver complex mobile apps in a BASIC way, with no additional setup to do. Time will tell !
Part 2: Computer Programming / Business in General / PB Team-Work
Quin: Is there any kind of approval process for pending changes (e.g., if you make a change, does it have to get approved by anyone else on the team)?
No, I approve my own work 😄. And if someone else contribute for internal libraries (for example Timo (Fr34k) for the internal libraries or Pf Shadoko for the OGRE 3D engine) he can push directly and I will change the things later if needed.
Enne: How profitable is PureBasic, considering its single payment model? What are your thoughts on switching PB to a different payment model?
It’s profitable because the cost of shipping a software is low, but it doesn’t bring a lot of money, that’s why I get a daily job. In France new taxes are coming for small businesses this year so I’m planning to switch to same payment model than SpiderBasic soon (1 year free update included, then if you need the most recent version you have to subscribe for another year at a discounted price).
Enne: I recently saw that DLL hijacking protection was sponsored by a forum member. Is sponsoring features something anyone can do? How does someone go about it, and what are the requirements? Would you accept syntax additions through sponsorship?
Yes, everyone can contact me trough PM on the forum or email to discuss about sponsored features. I don’t accept everything, it needs to be something useful for the whole community. Once we agree on a price, I give a reasonable time-frame for the implementation and it will make it way for the next major release. Prices are usually low for specific development, between 100 and 500 €.
Quin: There are some things (like faster strings) that would be amazing to have implemented but aren’t super fun to work on. At what point do you buckle down and decide to do something even if it’s not enjoyable to code?
I do major overhaul only if really necessary. Faster strings could be cool (mostly with cached length) but for speed critical apps, you can work with string builders or directly with pointers. Actually, a string rework seems very cool to work on, but it’s too time consuming right now.
Enne: How manageable would you say the compiler source code is, given how long PureBasic has existed?
I would say it’s barely manageable and very messy. The whole project is a pain to work but I guess it’s not that unusual for a project which has grown over 30 years. I won’t do the Netscape mistake (a must read BTW) to ditch all this working code to restart from scratch and hope for the best.
Enne: What are the biggest challenges of working on PureBasic and SpiderBasic as a small team?
The biggest challenges are to keep up with the ever coming changes in the IT world. Nothing is definitive you always have to keep up the pace. For example, Windows is now on ARM64 with Copilot+ PC and we needed to support it quickly. Also finding the time to deliver the products with new features on regular basis is not an easy task.
Part 3: PureBasic / SpiderBasic History and Review
Enne: If I understand correctly, you have expressed explicit dislike of adding OOP to PB, yet the IDE itself features simulated OOP through virtual tables. Why are you against adding OOP support to the language?
OOP is an advanced programming concept which is not inline with BASIC and the PureBasic target which is to allow people with few programming knowledge to learn and create something. Small OOP programs are OK to me, but my experience is it quickly become hard to maintain and to understand, and side effects can very quickly become a nightmare.
Quin: Following up on the OOP question, is something like allowing us to declare procedures on structures ever going to be a possibility, thus eliminating the need for a virtual table and datasection, just having the compiler do it for you, including management of the *This pointer?
This is not real OOP and it could be something doable. Inheritance, overriding, polymorphism, scopes won’t be available so it would greatly reduce the possible side-effects.
Enne: PB updates often include tooling and library improvements, but the syntax seems stagnant. Why is that? Are there specific reasons why syntax additions or updates are rare?
Yes, because it takes a lot of time as you need to change the code emitting backends (x86, x64, C). If one day only the C backend is remaining, I guess the syntax additions would be easier to do.
Quin: Is there any chance of SpiderBasic/PureBasic ever compiling to WebAssembly?
No, I don’t think so.
Enne: What would you suggest to someone interested in making their own compiler, but who finds the task daunting?
Just start and don’t look ahead. PB hasn’t been done in one day, it’s years of building blocks. You can also start by reading books about how doing your own compiler, as there is a lot of frameworks available to ease this task. PB is a full custom compiler which has some advantages (fast) but also some drawbacks (single pass).
Quin: What are the most significant milestones in the development of PureBasic and SpiderBasic that you’re particularly proud of?
For PB:
- First released version on Amiga 680×0
- First true multi-platform release (Windows and Linux)
- True multi-platform IDE (Win32, GTK, Cocoa, QT)
For SB:
- First Android and iOS app creation
- Integrated Web View and debugger
- Mobile UI
Part 4: Questions About the Future of PureBasic / SpiderBasic
Enne: What are your thoughts on the future of PureBasic and its sustainability? In which direction would you like it to go? Are there any plans or things you’re currently working on that you can share with us?
As I don’t rely on PureBasic incomes I can say it will continue for years and years. I actually don’t have any plan to stop, as PureBasic has never been in any better shape than now and I can steadily improve it, step by step. I also like very much working on it and it’s definitely a big part of my life and my identity. The current plans are to finally review all the IDE bugs from the English forum and start to fix them. I also want to review the remaining bugs in the Windows sub-forums to see what can be done. About the new features, I would like to add an HID/USB lib to PB.
Enne: How do you envision the long-term evolution of SpiderBasic? Are there specific features or goals you hope to achieve?
The next steps is to allow Android app creation on Linux/macOS and then add more commands to create a native-looking app with all the standard feature you can expect.
Quin: What do you think is the biggest challenge in keeping PureBasic and SpiderBasic relevant for future developers?
You need to follow the trends, and keep giving something powerful and easy enough to use so it worths the invested money. For example, it would be great to have better result for PureBasic code generation from the IA bots, as it will quickly become a must have for all the languages. Those which won’t be good in IA will probably be deprecated fast.
Enne: How do you plan to handle maintaining PureBasic and SpiderBasic over the next decade? Are there any thoughts on succession or expanding the team?
I guess, unless the sales starts to rocket, nothing will really change on this side, as I can’t afford to pay anyone else. One way to expand the team would be to switch fully to Opensource but then it will be hard to monetize the projects and while it’s not enough for a full salary, it still helps !
Thank you both and see you !