PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.00 Beta 10 released !

Post by skywalk »

This is why I prefer structured variables to hold parameter values.
The underlying structure can grow without serious code impacts.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
jacdelad
Addict
Addict
Posts: 1431
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: PureBasic 6.00 Beta 10 released !

Post by jacdelad »

Using a structure looks good at first glance, but can produce more work for the compiler: Like in the Windows APIs, when new parameters are introduced the structure grows. The API needs to know whether these parameters are set or not (because they maybe can be zero or empty), so I have to pass the size of the structure (which ultimately defines its version). So the future PureBasic compilers would have to "know" all versions of the structure and the programmer still had to define which version to use.
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.00 Beta 10 released !

Post by skywalk »

Yes, but structures prevent function creep.
Imagine dozens of functions to pass a single parameter or worse, dozens of parameters within a function call.
Yes, the sizeof(mystruct) might change, but it is easy peasy.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 released !

Post by Fred »

The final version is available on your accounts ! It's been a long journey, more than a year and half to create the update, but the support of new processors (and new OS), a brand new compiler backend, the upgrade of some core libraries, many bug fixes and new features included will make it worthwhile ! Thanks a lot for your patience, and looking forward for future versions !

If some of you can tests the demo packages on your computers/OS to see if all works as expected, I would be very grateful :)

https://www.purebasic.com/french/download.php
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: PureBasic 6.00 released !

Post by IceSoft »

Thanks. Fred!
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

Re: PureBasic 6.00 released !

Post by Lord »

Is it christmas time? :D

Thanks Fred!
Image
User avatar
marcoagpinto
Addict
Addict
Posts: 939
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.00 released !

Post by marcoagpinto »

Thanks, Freddy!!!!

:)
User avatar
marcoagpinto
Addict
Addict
Posts: 939
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.00 released !

Post by marcoagpinto »

Silly question:
- Changed: InitNetwork() is no more needed to use network functions (deprecated)
Has it been deprecated? Beta 10 said it reverted changes from beta 9.

Thanks!
User avatar
Psychophanta
Addict
Addict
Posts: 4968
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: PureBasic 6.00 released !

Post by Psychophanta »

Many thanks :)
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 327
Joined: Sat Dec 25, 2004 2:37 pm

Re: PureBasic 6.00 released !

Post by thyphoon »

Thanks Fed and all contributor 🥰
hoerbie
Enthusiast
Enthusiast
Posts: 119
Joined: Fri Dec 06, 2013 11:57 am
Location: DE/BY/MUC

Re: PureBasic 6.00 released !

Post by hoerbie »

Thanks Fred, but what is now with HttpTimeout()?
Was it removed? At the first post of this thread the newest entry lists it as "added", but trying to enter it on MacOS x64 gives an error.
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 released !

Post by Fred »

marcoagpinto wrote: Fri Jun 24, 2022 4:31 pm Silly question:
- Changed: InitNetwork() is no more needed to use network functions (deprecated)
Has it been deprecated? Beta 10 said it reverted changes from beta 9.

Thanks!
Only for the HttpTimeout(). InitNetwork() is now deprecated.
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 released !

Post by Fred »

hoerbie wrote: Fri Jun 24, 2022 4:53 pm Thanks Fred, but what is now with HttpTimeout()?
Was it removed? At the first post of this thread the newest entry lists it as "added", but trying to enter it on MacOS x64 gives an error.
You're right, I clarified the statement.
User avatar
useful
Enthusiast
Enthusiast
Posts: 366
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 6.00 released !

Post by useful »

win10x64, PB6x64Demo C back
Linker Error
unresolved external symbol '_f_heapdestroy_'
...
asm ok
===========
win10x64, PB6x86Demo C back
Linker Error
unresolved external symbol '_f_heapdestroy_'
...
asm ok
===========
Last edited by useful on Sat Jun 25, 2022 2:10 pm, edited 1 time in total.
Dawn will come inevitably.
User avatar
Janni
Enthusiast
Enthusiast
Posts: 127
Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway

Re: PureBasic 6.00 released !

Post by Janni »

Thanks for your hard work! I'm only a beginner, but looks to be working fine on Linux Mint 20.3.
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
Post Reply