PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: PureBasic 6.00 Beta 5 released !

Post by RichAlgeni »

infratec wrote: Fri Mar 04, 2022 10:42 pmAn other reason to implement more network stuff instead of 3D stuff.
Agreed. I understand others will use the 3D capabilities. But network extensions would interest me much more.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: PureBasic 6.00 Beta 5 released !

Post by RichAlgeni »

Thank being said, the fact that Raspberry Pi is now included blows my mind! I love it!
User avatar
marcoagpinto
Addict
Addict
Posts: 1039
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.00 Beta 5 released !

Post by marcoagpinto »

@Fred

Could you add the possibility to use -o3 (optimise level 3) in GCC?

Thanks!
Joris
Addict
Addict
Posts: 890
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: PureBasic 6.00 Beta 5 released !

Post by Joris »

A Big Thanks Fred and the PB Team.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.00 Beta 5 released !

Post by mk-soft »

I upgraded my PI 4 today to Raspberry Pi OS (64bit) with desktop.

Installed all required packages according to Simple install of PureBasic. Unpacked PureBasic for Linux Arm64 and started it.
Tested some projects.

It runs ;)

Many thanks to the PB-Team
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
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic 6.00 Beta 5 released !

Post by Tenaja »

Many thanks to the PB-Team
+1
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: PureBasic 6.00 Beta 5 released !

Post by dige »

A great step forward! Thx PB-Team! :D
"Daddy, I'll run faster, then it is not so far..."
box_80
Enthusiast
Enthusiast
Posts: 115
Joined: Mon Sep 03, 2012 8:52 pm

Re: PureBasic 6.00 Beta 5 released !

Post by box_80 »

Thanks PB Team!! :D
Cyllceaux
Enthusiast
Enthusiast
Posts: 510
Joined: Mon Jun 23, 2014 1:18 pm

Re: PureBasic 6.00 Beta 5 released !

Post by Cyllceaux »

Oh... I hate the gcc... everytime you want to do something cool, you see: "Oh, it is in an other version of the gcc"
the mingw-gcc is from 2018 and the modernst CPU in this build is then Zen1 from 2017. Yes, it is a windows-Problem and Yes I can recompile it for windows, too.

So, I mostly use this for Windows. And it work for PB, too.
https://sourceforge.net/projects/gcc-win64/

So, I changed this project: https://www.purebasic.fr/english/viewtopic.php?t=78558
And added a new parameter, So I can do this:

Code: Select all

CompilerIf #PB_Compiler_Backend=#PB_Backend_C
	!//gccflags -mtune=znver3 -march=znver3 ;
	!//gccpath C:\Users\Silko Pillasch\Downloads\gcc11\bin\gcc.exe ;
CompilerEndIf
And yes... PB works fine in gcc-11.1

And a fun thing...

My encryption tool encodes for a 1 GB File:
fasm: 11768ms
gcc8: 12998ms
gcc11: 11889ms
gcc11 with parameter: 6221ms
Last edited by Cyllceaux on Sun Mar 06, 2022 2:07 pm, edited 1 time in total.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: PureBasic 6.00 Beta 5 released !

Post by Psychophanta »

To me is hard to say it, but MS C++ is the most advanced one everytime. 'gcc' is garbage at his side.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Cyllceaux
Enthusiast
Enthusiast
Posts: 510
Joined: Mon Jun 23, 2014 1:18 pm

Re: PureBasic 6.00 Beta 5 released !

Post by Cyllceaux »

Psychophanta wrote: Sun Mar 06, 2022 1:43 pm To me is hard to say it, but MS C++ is the most advanced one everytime. 'gcc' is garbage at his side.
Long time ago, intel and IBM had the most advanced compiler. There were sometimes Performanceboosts up to 80%... But now... I don't know which one is the best.

I like the lcc and the tcc... small, fast but a little bit outdated.
nsstudios
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Aug 28, 2019 1:01 pm
Location: Serbia
Contact:

Re: PureBasic 6.00 Beta 5 released !

Post by nsstudios »

Fred wrote: Wed May 19, 2021 10:08 am

Code: Select all

- Changed the way the map elements are created when using passive syntax, to be more consistent. There is no more a dummy element.
What does this mean?
I thought it was a fix for

Code: Select all

NewMap m()
If m("test")=5: EndIf
Debug MapSize(m()); 1
?
Thank you for the updates, some nice stuff for sure!
User avatar
STARGÅTE
Addict
Addict
Posts: 2226
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PureBasic 6.00 Beta 5 released !

Post by STARGÅTE »

nsstudios wrote: Sun Mar 06, 2022 10:51 pm
Fred wrote: Wed May 19, 2021 10:08 am

Code: Select all

- Changed the way the map elements are created when using passive syntax, to be more consistent. There is no more a dummy element.
What does this mean?
I thought it was a fix for

Code: Select all

NewMap m()
If m("test")=5: EndIf
Debug MapSize(m()); 1
?
Thank you for the updates, some nice stuff for sure!
Now, a map element (used in a comparison or calculation) is allways created. Before, sometimes dummy elements were used for this and the element was not created.
See my example from last year: Map access should not always result in creation of element
So now, the access on a map element always result in creation of this element.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
nsstudios
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Aug 28, 2019 1:01 pm
Location: Serbia
Contact:

Re: PureBasic 6.00 Beta 5 released !

Post by nsstudios »

Thanks for explaining! :)
I was really hoping it would be fixed to only work when assigning a value to it. :(
STARGÅTE wrote: Mon Mar 07, 2022 10:32 am
nsstudios wrote: Sun Mar 06, 2022 10:51 pm
Fred wrote: Wed May 19, 2021 10:08 am

Code: Select all

- Changed the way the map elements are created when using passive syntax, to be more consistent. There is no more a dummy element.
What does this mean?
I thought it was a fix for

Code: Select all

NewMap m()
If m("test")=5: EndIf
Debug MapSize(m()); 1
?
Thank you for the updates, some nice stuff for sure!
Now, a map element (used in a comparison or calculation) is allways created. Before, sometimes dummy elements were used for this and the element was not created.
See my example from last year: Map access should not always result in creation of element
So now, the access on a map element always result in creation of this element.
User_Russian
Addict
Addict
Posts: 1517
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 6.00 Beta 5 released !

Post by User_Russian »

What's this? Why inactive? I can't clean the check mark. Is it a bug?

Image
Post Reply