PureBasic 6.01 LTS is released !

Developed or developing a new product in PureBasic? Tell the world about it.
jack
Addict
Addict
Posts: 1336
Joined: Fri Apr 25, 2003 11:10 pm

Re: PureBasic 6.01 beta 5 is available

Post by jack »

thank you Fred for the update and for a newer gcc version :D
User avatar
luis
Addict
Addict
Posts: 3876
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PureBasic 6.01 beta 5 is available

Post by luis »

Updated GCC on Windows to 12.2.0
Oh, that's nice, from 8.1 to the last one !

These are the results with a program I've used during this beta cycle to look for all the variations in performance we had (fast without volatile, slow with volatile, super-slow with just some volatile and a floating point problem, and finally now with some volatile, the floating point problem fixed and some very good performances),

Code: Select all

; x 86

; 6.01 B4
; ASM = 17440 
; ASM (opt) = 17220    
; C = 58286    
; C (opt) = 17343    

; 6.01 B5
; ASM = 17492 
; ASM (opt) = 17399    
; C = 58293
; C (opt) = 17522  

; x64

; 6.01 B4
; ASM = 15558 
; ASM (opt) = 15497    
; C = 20928    
; C (opt) = 10344    

; 6.01 B5
; ASM = 15671
; ASM (opt) = 15650    
; C = 18317   
; C (opt) = 10465    
It's interesting how the unoptimized C is pretty slow, while the optimized one is similar to the PB ASM @ 32 bits and sensibly faster @ 64 bits.

Also in general the 64 bit code is faster.

This is just one specific program with nested loops, floating point and a lot of memory access through pointers, so your results may vary but it's still interesting.
"Have you tried turning it off and on again ?"
A little PureBasic review
BarryG
Addict
Addict
Posts: 3318
Joined: Thu Apr 18, 2019 8:17 am

Re: PureBasic 6.01 beta 5 is available

Post by BarryG »

Just tried this with 6.01 beta 5, and it's not "Done" because the compiler still hangs due to using ASM with the C backend. I suggest maybe the compiler can detect such invalid code and raise an error, instead of showing "Compiling" for 10+ minutes?
User avatar
Psychophanta
Addict
Addict
Posts: 4996
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: PureBasic 6.01 beta 5 is available

Post by Psychophanta »

Let us try out the beta 5 :!:
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
infratec
Always Here
Always Here
Posts: 6866
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: PureBasic 6.01 beta 5 is available

Post by infratec »

WebGadget() reports now:

https://user-agents.net/string/mozilla- ... ecko-dnt-1

Which is IE 11.
Fred
Administrator
Administrator
Posts: 16664
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.01 beta 5 is available

Post by Fred »

BarryG wrote: Sat Mar 04, 2023 2:42 am
Just tried this with 6.01 beta 5, and it's not "Done" because the compiler still hangs due to using ASM with the C backend. I suggest maybe the compiler can detect such invalid code and raise an error, instead of showing "Compiling" for 10+ minutes?
Should be better with next version
BarryG
Addict
Addict
Posts: 3318
Joined: Thu Apr 18, 2019 8:17 am

Re: PureBasic 6.01 beta 5 is available

Post by BarryG »

Wow, thanks Fred! I was under the impression it wasn't possible to fix (based on other people's comments). Look forward to testing it!
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: PureBasic 6.01 beta 5 is available

Post by StarBootics »

Apparently the version 6.01 LTS is out. Unfortunately I have a large program that compile fine with the ASM backend but I get an Assembler error with the C backend after that the IDE freeze completely. I don't have source code with asm code inside.

I'm under Debian 11 and I'm using PureBasic For Ubuntu 18.04.

I'm investigating and I hope I will find the error.

Edit : I have found my error. That being said, for that kind of error I should have got an Invalid Memory Access error and not an Assembly error. I will provide a small code example to demonstrate that.

Best regards
StarBootics
Last edited by StarBootics on Tue Mar 07, 2023 8:44 pm, edited 1 time in total.
The Stone Age did not end due to a shortage of stones !
User avatar
skywalk
Addict
Addict
Posts: 3994
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.01 beta 5 is available

Post by skywalk »

Wow, you are right? Did not see the announcement :shock:
My large apps also hang on C compile.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: PureBasic 6.01 beta 5 is available

Post by StarBootics »

skywalk wrote: Tue Mar 07, 2023 8:44 pm Wow, you are right? Did not see the announcement :shock:
My large apps also hang on C compile.
I got it from the IDE when I have launch it. But no announcement on the forum about PB V6.01 LTS

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
Fred
Administrator
Administrator
Posts: 16664
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.01 beta 5 is available

Post by Fred »

Yes, it's released ! You can grab it on your personal account. Thanks a lot to everyone during this bug-fix marathon :)
User avatar
idle
Always Here
Always Here
Posts: 5089
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: PureBasic 6.01 beta 5 is available

Post by idle »

Fred wrote: Wed Mar 08, 2023 9:43 am Yes, it's released !
Thanks for the update really great to see the c backend progressing.
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 200
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Re: PureBasic 6.01 LTS is released !

Post by Otrebor »

Thanks!!
Fred
Administrator
Administrator
Posts: 16664
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.01 LTS is released !

Post by Fred »

A new quick fix version as just been pushed, so please update if you already got the final.
User avatar
Janni
Enthusiast
Enthusiast
Posts: 127
Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway

Re: PureBasic 6.01 LTS is released !

Post by Janni »

Thanks for all your hard work Fred!
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
Post Reply