PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

Re: PureBasic 6.00 Beta 1 released !

Post by Marc56us »

Yeeeesssss ! :D
Raspberry Model B
Debian

Code (console for now)

Code: Select all

OpenConsole()
PrintN("Hello 1st PureBasic program on Raspberry pi!")
Input()
CloseConsole()
End
compile

Code: Select all

# ./pbcompiler HelloPureBasic.pb -e HelloPureBasic
PureBasic 6.00 Beta 1 - C Backend (Linux - arm32)
Loading external modules...
Starting compilation...
Starting compilation...
7 lines processed.
Creating the executable.

- Feel the ..PuRe.. Power -
Run

Code: Select all

# ./HelloPureBasic
Hello 1st PureBasic program on Raspberry pi!
"Hello World" works so the rest will follow. 8) :P
Fred
Administrator
Administrator
Posts: 16618
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by Fred »

The IDE runs, so it should be no problem. BTW, I'm using the IDE using ssh+X redirect and VcXsrv on Windows, and the IDE is displayed on the Windows which makes the dev very easy.
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 6.00 Beta 1 released !

Post by kenmo »

Awesome! Excited for RasPi as a new target platform, and more Linux focus (as Windows/Mac have been driving me more toward the Linux world :lol: )
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

Re: PureBasic 6.00 Beta 1 released !

Post by Marc56us »

Fred wrote: Fri Nov 26, 2021 3:52 pm The IDE runs, so it should be no problem. BTW, I'm using the IDE using ssh+X redirect and VcXsrv on Windows, and the IDE is displayed on the Windows which makes the dev very easy.
Yes! It works. :D
Thanks for the tip.
It took me a long time to get it to work: I thought VcXsrv was not working because I had a black screen for several minutes but it was due to the extreme slowness of the Raspberry 2 compared to my PC.

PB Windows 10 with above PB on Raspberry (remote display with VcXsrv)
Image
Awsome, Fred and Team :!:

Well, now I have to remember everything I did to get here... (fortunately by doing it in command line it's enough to take the history files and to make cards of it)

:wink:
Last edited by Marc56us on Fri Nov 26, 2021 5:11 pm, edited 1 time in total.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.00 Beta 1 released !

Post by mk-soft »

Big thanks,

The WebGadget runs again on Ubuntu 21.04 :wink:
So my WebKitGadget project is obsolete. :twisted:

Under macOS it is still a problem with the IDE. Maybe I have time to find the crash in the next days.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Wolfram
Enthusiast
Enthusiast
Posts: 567
Joined: Thu May 30, 2013 4:39 pm

Re: PureBasic 6.00 Beta 1 released !

Post by Wolfram »

Thanks Fred!

Can someone give me an example how to use the C backend on macOS please?
macOS Catalina 10.15.7
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.00 Beta 1 released !

Post by mk-soft »

Wolfram wrote: Fri Nov 26, 2021 6:49 pm Thanks Fred!

Can someone give me an example how to use the C backend on macOS please?
Open the purebasic.app package with the Finder and select the file pbcompilerc in the compilers folder. Copy the path at the bottom from Finder of the status bar (context menu).
Under pb settings in compilers, insert and add the path.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Seymour Clufley
Addict
Addict
Posts: 1233
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: PureBasic 6.00 Beta 1 released !

Post by Seymour Clufley »

Thank you for this. It must have been a huge amount of work, so please know that it is appreciated.
Now please, for the love of God, make it easier to donate to you - including crypto.
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
User avatar
idle
Always Here
Always Here
Posts: 5042
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: PureBasic 6.00 Beta 1 released !

Post by idle »

congratulations on the long slog to get the c backend running on arm really looked forward to this for a long time
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8425
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PureBasic 6.00 Beta 1 released !

Post by netmaestro »

So when we push 'compile/run' from the IDE with Beta 1 for Windows are we automatically getting the C backend?
BERESHEIT
User avatar
fsw
Addict
Addict
Posts: 1572
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: PureBasic 6.00 Beta 1 released !

Post by fsw »

Hi Fred,
Thank you very much, for the M1 version.
Will download it right away!

Question: does PB use Metal on macOS or do you plan to use it in the future?

Thank you for your dedication to this neat programming language.

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.00 Beta 1 released !

Post by skywalk »

Fred, you always make the Holidays special! This is my favorite gift :mrgreen:
Can't wait to unwrap it...
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
DeanH
Enthusiast
Enthusiast
Posts: 223
Joined: Wed May 07, 2008 4:57 am
Location: Adelaide, South Australia
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by DeanH »

Thank you very much for completing the Beta test version! I have recompiled all 12 of my library system's exe's using the 64-bit C backend. The compiler crashed twice but recompiling immediately worked. Apart from this, everything appears good. So far I have not seen any major speed differences between the C and ASM compilations.

I noticed the SQLite verison is still 3.33. Is that to be updated in the final release? The current version is 3.36. It contains some useful extra functions such as Drop Column.
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 198
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by Otrebor »

Thank you for your great work!!
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: PureBasic 6.00 Beta 1 released !

Post by StarBootics »

Hello everyone,

Just finish the work prior to be able to compile my Model Editor for my game project with the V6.00 Beta 1. With the ASM Backend it took very small amount of time to Compile. With the C backend without any optimization it took a little bit of time and with optimization it took a while but it was expected. What was not expected is the difference of the final rendering after a surface normal smoothing operation. See the difference in the picture here : https://www.dropbox.com/s/cev4oyptnu5fn ... n.jpg?dl=0

I know the algorithm responsible for the normal smoothing but it will take time to narrow down the problem of what is happening differently between the None Optimize and the Optimize output done by the C Backend.

Maybe this weekends ...

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
Post Reply