PureBasic anyone?

Started by MikeHart, September 11, 2017, 11:11:30

Previous topic - Next topic

dawlane

At the moment there is no perfect cross-platform solution out there. The best you'll get is possibly Qt, but you have to do everything the Qt way. That includes working with the licence restrictions and choose either using C++ or go Python.

When it comes to Lazarus and OS X. I've found that using the Qt version from fink appears to be the best option and if I remember you can compile 64bit GUI's with it.

MikeHart

Quote from: dawlane on September 13, 2017, 09:23:56
When it comes to Lazarus and OS X. I've found that using the Qt version from fink appears to be the best option and if I remember you can compile 64bit GUI's with it.
The other day I installed 1.8 on Windows. Checkmarked the QT gui set for a project. Guess what, it tells me to build a qt related dll first. NOPE! They could have shipped it with it already.

dawlane

Yes, when it comes to Lazarus you do have to build a number of things if you want to use them and clear cut documentation is rare; makes BRL's docs look professional.
I most cases you just need to install the lpk, compile then install which I believe you have to do with QtPas4/5. I've got 1.8.0 RC4 installed so I will have a go at getting Qt5 up and working with it.


Lazarus Qt on Linux has two issues:

       
  • Qt4 has a rendering problem with Combo box.
  • You cannot have the required Qt5.6 on any release below Ububtu 16.10
So you have to use the GTK+2 version. GTK+3 is nowhere near ready.


Think I should start another topic for Lazarus.

Hotshot

I used it sometime but I hate start and stop drawing commands thought!

Qube

I purchased PureBasic about 8 hours ago and have had a quick play...

Am I missing something or does it actually spit out super speedy code and performance?. From the quick play about I've done so far it seems bloomin fast. From pure logic to 3D and pushing 1000's of 2D sprites around it all appears to run at crazy speeds.

For those more familiar with PureBasic, what am I missing? as from early tests it appears pretty decent.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

MikeHart

I am only touching the gui stuff to write a code editor. It suits that job pretty well. Game wise i would say the biggest lack is a decent sized game related community. For the 3d part it utilizes the Ogre 3D engine.


Updates are rather rare. But it seems to be supported. Why did you got it? What made you curious?

Steve Elliott

Yes Pure BASIC is very fast.

The syntax, lack of OOP features and the community aren't really interested in games put me off.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

dawlane

QuoteAm I missing something or does it actually spit out super speedy code and performance?.
At a guess the super speedy code and performance would be down to using pre-compiled, optimised libraries and output to fasm assembly.

Purebasic's community game wise isn't that big and for a cross platform tool, the members are more obsessed with posting topics/examples on Windows than any of the other target operating systems.

sphinx

PureBasic is great, at least the developer is enhancing since it was ever released!
Kind regards,
Maher F. Farag
www.ancientsoft.com
www.osakit.com

Qube

QuoteGame wise i would say the biggest lack is a decent sized game related community.
I noticed that the community is more towards apps but I'm not too worried about that.

QuoteUpdates are rather rare. But it seems to be supported. Why did you got it? What made you curious?
I've been curious about it for years but I think years and years ago that the 2D side was not great and pretty slow ( I seem to remember that ).

I started looking at it again about two weeks ago and bought a license yesterday. First play about shows it's very fast but I was wondering if there was some massive gotcha in regards to it's gaming abilities ( I know it does not support mobile ). I also like that is has cross platform for GUI apps.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

sphinx

It has some good GUI builder tools but it could be even better it it has Firefly Visual Designer as PowerBasic and FreeBasic have!

It is one of the best GUI I've ever seen that's similar to Visual Basic for Event Driven Programming model.
Kind regards,
Maher F. Farag
www.ancientsoft.com
www.osakit.com

ms62

#26
The same as Dawlane above. It's proceture is odd, generally, it is a verbose language. Also, I like languages that use "new". GlBasic, PureBasic and AGK, don't use it and that make thinking along the coding little uneven in my case, because I come from C road. I think, the reason I like Blitz languages is just that.

However, it uses ogre and its 3D shadows is number one. Those who love the language are lucky people, because I think it does a lot.  I finished a small database app using its csv and sqlite library. I tried to love it, but as it is verbose, I couldn't stand.

fairgood

I always thought PB was on a par with Blitz for speed even for games
Krylar who ran Blitzcoder moved to PB and wrote a book on making 2d games

Has anyone used B4J by the basic4android developer ?

muruba

Quote from: dawlane on September 13, 2017, 09:23:56
At the moment there is no perfect cross-platform solution out there.

Oh yes there are at least 2:)

Swing GUI Builder

JavaFX Scene Builder

EdzUp

I have PB installed as well :)