Page 39 of 42

Re: PureBasic 6.00 Beta 10 released !

Posted: Wed Jun 22, 2022 4:31 pm
by skywalk
This is why I prefer structured variables to hold parameter values.
The underlying structure can grow without serious code impacts.

Re: PureBasic 6.00 Beta 10 released !

Posted: Wed Jun 22, 2022 5:18 pm
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.

Re: PureBasic 6.00 Beta 10 released !

Posted: Wed Jun 22, 2022 10:58 pm
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.

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:00 pm
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

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:23 pm
by IceSoft
Thanks. Fred!

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:28 pm
by Lord
Is it christmas time? :D

Thanks Fred!

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:28 pm
by marcoagpinto
Thanks, Freddy!!!!

:)

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:31 pm
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!

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:34 pm
by Psychophanta
Many thanks :)

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:45 pm
by thyphoon
Thanks Fed and all contributor 🥰

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:53 pm
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.

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:53 pm
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.

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 4:54 pm
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.

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 5:26 pm
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
===========

Re: PureBasic 6.00 released !

Posted: Fri Jun 24, 2022 5:46 pm
by Janni
Thanks for your hard work! I'm only a beginner, but looks to be working fine on Linux Mint 20.3.