PureBasic 6.40 beta 1 is ready, surprise inside !

Developed or developing a new product in PureBasic? Tell the world about it.
threedslider
Enthusiast
Enthusiast
Posts: 612
Joined: Sat Feb 12, 2022 7:15 pm

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by threedslider »

Fred and Team are awesome as always !

Thanks for sharing
PrincieD
Addict
Addict
Posts: 913
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by PrincieD »

Excellent work Fred and team!

Quick and dirty optimisation for string comparison - check if the prefixed length int are equal first? - you're probably already doing this but just thought i'd mention it.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
skywalk
Addict
Addict
Posts: 4315
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by skywalk »

Yup, tried alpha4 and same crash for Ucase(mystruct\myfilepath$).
I don't have time yet to dig into this, but if I comment out a resetstructure(mystruct, mystruct_info) I get a little further until another structured string access error involving mystruct\mystr$ + Space(10).
My fear is this breaks a LOT of my structured string use. :(
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 18531
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by Fred »

Which compiler do you use ? Does it crash with a small snippet ?
User avatar
skywalk
Addict
Addict
Posts: 4315
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by skywalk »

Yes, I always use the C backend.
I tried snippet but not extensive enough to match error. Ran out of time. Like I mentioned, I comment out reset structure and it got me past 1 error but onto another structured string error.
The common issue is working with structured strings: ucase(), space(), etc.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
minimy
Addict
Addict
Posts: 899
Joined: Mon Jul 08, 2013 8:43 pm
Location: off world

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by minimy »

Thanks again for this new version.
As far as I have been able to test, I have not detected any errors. (Win11x64)
If translation=Error: reply="Sorry, Im Spanish": Endif
Fred
Administrator
Administrator
Posts: 18531
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by Fred »

2026-02-27: beta 1 is out, the assembly x86 backend is also fully working, on Windows and Linux ! All packages are now availables for testing, as usual.
Axolotl
Addict
Addict
Posts: 944
Joined: Wed Dec 31, 2008 3:36 pm

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by Axolotl »

Thanks again!
Just yesterday I was wondering when the next version would be released! (Maybe I should think like that more often... :oops:)
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
User avatar
skywalk
Addict
Addict
Posts: 4315
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by skywalk »

Thanks for the beta!
I am still crashing hard(repeating error stream in debugger window) upon access of structured strings.
Win11 25H2, PB v340b1 x64, CBE+opt|ASM, no purifier.

@Fred - I might have time this weekend to debug or maybe I can PM this source entirely?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 18531
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by Fred »

Sure, you can send me the source if it's easily compilable via PM
User avatar
skywalk
Addict
Addict
Posts: 4315
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by skywalk »

Yes, it is only pbi(xincludes) files.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
STARGÅTE
Addict
Addict
Posts: 2314
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by STARGÅTE »

Fred wrote: Fri Feb 27, 2026 1:44 pm 2026-02-27: beta 1 is out, the assembly x86 backend is also fully working, on Windows and Linux ! All packages are now availables for testing, as usual.
What about the purifier? Will it come back to working or will it be removed?
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
Fred
Administrator
Administrator
Posts: 18531
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by Fred »

Purifier should be working as expected
User avatar
STARGÅTE
Addict
Addict
Posts: 2314
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by STARGÅTE »

Fred wrote: Fri Feb 27, 2026 9:21 pm Purifier should be working as expected
No, not in my project.
If I start compiling with debugger and enabled purifier, the debugger crashes before the code is running.
I try to reduce the code to a minimum, if I find the origin.
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
ColeopterusMaximus
User
User
Posts: 83
Joined: Fri Oct 29, 2010 11:29 am

Re: PureBasic 6.40 beta 1 is ready, surprise inside !

Post by ColeopterusMaximus »

Trying Linux version, noticed Inkey() segfaults.

Also when using ReplaceString() #PB_String_InPlace returns constant not found.

Shall I post this on the bug section?
Post Reply