When comparing PureBasic vs twinBASIC, the Slant community recommends PureBasic for most people. In the question“What are the best BASIC-like programming languages?” PureBasic is ranked 2nd while twinBASIC is ranked 3rd. The most important reason people chose PureBasic is:
Can create single file executables without the need to install other libraries, run time environments, etc.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Standalone executables
Can create single file executables without the need to install other libraries, run time environments, etc.
Pro The syntax is very beginner-friendly
Pro Same code on Windows, OS X and Linux
Same code can be compiled natively, without any interpreter for OS X, Windows or Linux, using the native GUI toolkit of the OS
Pro Many integrated features
Many libraries available without additional installations : 2D & 3D, database, network, sound, xml, JSON, http...
Pro Allows to program at a lower level than most alternatives
Pro Lifetime license
Pay once, use forever.
Pro Constantly updated
Pro Supports ARM in addition to x86, AMD64 and others
Pro Can compile to plain C code
Pro Grest user community / forums with the developer very active
Pro 100% Backward Compatible with VB6/VBA
Any code that runs in VB6 will run in twinBASIC (once v1 is released). Code that runs in VBA will also run in twinBASIC, though you need to account for any dependencies on the host application's object model (e.g., the Excel or Access Application object).
Pro No runtime requirement
The lack of a runtime dependency makes twinBASIC applications very lightweight and portable. Additionally, compiled executables only include necessary code from any referenced libraries. The classic "Hello, World" program compiles down to an 8 KB .exe with no external dependencies.
Pro Compile DLLs to extend VBA functionality
Can be used to extend VBA functionality by compiling standard and ActiveX DLLs in both 32 and 64bit.
Pro 64bit compilation is supported
64bit compilation is supported, as well as 32bit.
Pro At last! a replacement for VB6
At last there is a replacement for Microsoft VB6 - and for VBA too - twinBASIC programming.
Cons
Con Limited free version
Free version is limited to 800 lines and can not create DLL's.
Con Some bugs are present on the Linux platform
Con Slightly bogged syntax
Sometimes the syntax bogs down, just a little with long procedure names and such. A truly minor issue.
Con Not RAD
Not a RAD environment.