![]() It's available for Windows, Linux, macOS and Raspberry. PureBasic is a language, you guessed it, sharing some common ground with a very large family of BASIC dialects. In 2004 I stumbled on PureBasic after using many generations of Visual Studio (Visual Basic and Visual C/C++) and I was hooked by experiencing again, after all those years, a sensation similar to the one TP3.0 gave me in 1986. It was something that really impressed me, computers were not as powerful as today and TP3.0 was a joy to use: everything was immediate and the programming cycle was so effortless it was like using an interpreter magically running at the speed of compiled code. It was written in assembly, it was blazing fast and in less than 40 KB you had a compiler, an editor, a linker and a debugger all loaded in RAM at the same time. ![]() I do agree that PureBasic wouldn't be best for a hobbyist like myself, but if you know what you want, and you know how to get it, it could definitely be worth it (free upgrades).While Microsoft was producing its sophisticated but bulky compilers, in 1986 Borland introduced Turbo Pascal 3.0. (Someone correct me if I'm wrong on this.) I think it supports inline assembly too, and can output to MASM, NASM, or TASM syntax. ![]() EXEs, and it is somewhat buggy (e.g., DOS port, which has no maintainer, AFAIK). Too bad I'm too lazy to download/waste time on the CVS versions.įPC sounds like an amazing compiler (downloaded it even though I don't know Pascal, heh), BUT it supposedly produces very large. It supports many libraries (e.g., zlib) and has some good examples and FBhelp. They are still working on the OOP aspect (everything supposedly is in place except classes?), so it's only at 0.17 beta (but still VERY robust). Granted, it uses GNU as (aka, GAS), but it does allow inline assembly too. If you don't like PureBasic (which I haven't tried, but it IS free for AmigaOS), then try FreeBASIC. Ok, I will stop the flood now, more infos are available here: Inline ASM in both form: raw fasm commands (not touched by the compiler at all) and managed asm which allow to use regular BASIC variables, labels etc. Commented ASM output in FASM format on request, so it's possible to examine and tweak the PureBasic generated code to optimize it and reassemble it with your changes. API commands integration, which means than you can freely mix PB commands with native OS commands (most of PB functions actually returns OS handles to manipulate PB objects with API commands easily). Simple, easy to use and learn, powerful commandset (800+ commands, in many domains from applications to games) All is of course compiled to native code. The same is appliable to game commands (DirectX on Windows, SDL on Linux and OpenGL on MacOS X). Of course, each version of PB uses the native command of the host OS, for example on Linux it use GTK for window/control management while on Windows it uses the Win32 API and on MacOS X it uses Carbon. That's means than a source code coded 100% with PB commands can be compiled on any supported plateform. PB actually runs on Windows, Linux, AmigaOS classic and MacOS X (this version is being finialized and use PPC asm code generation). ![]() Very small and fast executables (no DLL, no bloat etc, simple exec start at 2,5kb on Windows), thanks to FASM to allow several lowlevel optimisations (about branching, etc.) and of course its speed, it can assemble very huge files very quickly which is a must have for us. Here is a quick list of the main features of PureBasic : I'm not very familiar with this board, but Thomasz kindly asked me to add a note about PureBasic so I would like to say thanks to him.Īs you probably guessed it, PureBasic (PB in short) is a BASIC variant which uses FASM as assembler on Windows and Linux (x86).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |