PureBasic 6.01 LTS is released !
Re: PureBasic 6.01 beta 4 is available
Yes, you can now deactivate the asm peepehole optimizer if you don't want it when creating your app. Before it was always enabled when creating the executable, but it's better consistency with the C compiler to have it an option (and if there is a bug hidden in the optimizer, you could still generate your exe without the debugger).
You can also toy with /COMMENTED to see the difference between off/on for the asm backend.
You can also toy with /COMMENTED to see the difference between off/on for the asm backend.
Re: PureBasic 6.01 beta 4 is available
Yes, I actually have an error with ASM cmd line compile /OPTIMIZER but not using the IDE with [x] Optimize generated code?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.01 beta 4 is available
That's cool. Thank you!
Fred wrote: ↑Fri Feb 17, 2023 5:05 pm Yes, you can now deactivate the asm peepehole optimizer if you don't want it when creating your app. Before it was always enabled when creating the executable, but it's better consistency with the C compiler to have it an option (and if there is a bug hidden in the optimizer, you could still generate your exe without the debugger).
You can also toy with /COMMENTED to see the difference between off/on for the asm backend.
Re: PureBasic 6.01 beta 4 is available
Beta 4 already installed?
Only works with Beta 4, but I don't see any noticeable difference at first glance.
Only works with Beta 4, but I don't see any noticeable difference at first glance.
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PureBasic 6.01 beta 4 is available
My project 6.01 b4 (x64) - Windows only
(PureIconManager)
ASM without optimization
exe size : 1624 Kb
ASM with optimization
exe size : 1646 Kb
Optimization seems to be for speed, note size (I recompiled twice to be sure).
another project
(management of my personal mycological library)
ASM without optimization
exe size : 1077 Kb
ASM with optimization
exe size : 1079 Kb
Optimization seems to be for speed, note size (I recompiled twice to be sure).
(PureIconManager)
ASM without optimization
exe size : 1624 Kb
ASM with optimization
exe size : 1646 Kb
Optimization seems to be for speed, note size (I recompiled twice to be sure).
another project
(management of my personal mycological library)
ASM without optimization
exe size : 1077 Kb
ASM with optimization
exe size : 1079 Kb
Optimization seems to be for speed, note size (I recompiled twice to be sure).
A+
Denis
Denis
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PureBasic 6.01 beta 4 is available
I tested PB 6.01 beta 4 x64 on Windows 11 with several sources, using the ASM and the C backend. Everything worked fine, so thank you very much, FredFred wrote: ↑Fri Jan 20, 2023 1:33 pm beta 4 is out, with some more fixes. This will be the last beta for now, so be sure to test it properly so we can have a good final release !
Note: The optimizer needs to be manually enabled for ASM backend as well to have any effect.
The event handling code has been modified, so if you find something odd in event propagation, please report it.
Re: PureBasic 6.01 beta 4 is available
Big Thanks,
I haven't tested everything yet, but so far it works very well and the c-backend is at least twice as fast as ASM.
Please look for new bugs macOS Console. Unfortunately it is not yet [DONE] since the first beta.
The other open reported bugs will come soon.
I haven't tested everything yet, but so far it works very well and the c-backend is at least twice as fast as ASM.
Please look for new bugs macOS Console. Unfortunately it is not yet [DONE] since the first beta.
The other open reported bugs will come soon.
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PureBasic 6.01 beta 4 is available
Where do I enable the C backend again? I keep forgetting because it's not anywhere in the Preferences. It really needs to be a Compiler Option that is easily found, because it's not there with a default PureBasic install. See:
Re: PureBasic 6.01 beta 4 is available
You have to manually add it, like you would if you have both 32 bit and 64 bit versions, or perhaps multiple versions of PB in general.
Go to file menu, preferences, compiler, click the ... to browse for the executable.
Go to where you installed PB, compilers/pbcompilerc.exe on windows, PureBasic.app/Contents/Resources/compilers/pbcompilerc on MacOS, ~/purebasic/compilers/pbcompilerc or something similar on Linux, then click add once you're out of the file requester, then you can select it as default in preferences/defaults, or select the compiler per-file in compiler menu/compiler options/use compiler.
I agree that it should probably come pre-added.
Go to file menu, preferences, compiler, click the ... to browse for the executable.
Go to where you installed PB, compilers/pbcompilerc.exe on windows, PureBasic.app/Contents/Resources/compilers/pbcompilerc on MacOS, ~/purebasic/compilers/pbcompilerc or something similar on Linux, then click add once you're out of the file requester, then you can select it as default in preferences/defaults, or select the compiler per-file in compiler menu/compiler options/use compiler.
I agree that it should probably come pre-added.
Re: PureBasic 6.01 beta 4 is available
Thanks! And yeah, it's silly that it's not a default option.
Re: PureBasic 6.01 beta 4 is available
one of my programs compiled with the current beta 4 is almost 3 times faster
Re: PureBasic 6.01 beta 4 is available
Please help add PackEntryDate() for 6.01. Thank you...
Re: PureBasic 6.01 beta 4 is available
My project is broken in Beta 4 on macOS. I'm using the TabBarGadget and unless I comment out the BindEvent lines setting up events for that, it immediately crashes. Then the events in other areas act strangely. I'm trying to see if I can create a small example to put in the bugs forum.
Re: PureBasic 6.01 beta 5 is available
- beta 5 is out, with some more bug fixes, don't hesitate to try it out ! Updated GCC on Windows to 12.2.0 version.
Bugfixes for this version:
Bugfixes for this version:
- Windows: [Done] WebGadget on PB 5.31 and 5.30 to OLD !
- Windows: [Done] PureBasic WebGadget documentation example throws errors
- Windows: [Done] WebGadget PB6.0 Error
- Windows: [Done] #PB_ProcessPureBasicEvents is not listed in "PureBasic Constants"
- Windows: [Done] Regression PB5.61 Binary not (~) doesn't works with 64bits constants
- Windows: [Done] PB 5.62-5.72 Interfaces inside structures IMA
- Windows: [Done] Assembler Error
- Windows: [Done] Load PNG Image bug still in PB5.41 LTS
- Windows: [Done] PB 5.42 Crash loading a PNG image to place in the toolbar
- Windows: [Done] PB5.40LTS PB sometimes crashes while opening images
- Windows: [Done] Crash on certain PNG image when TGA decoder is loaded.
- Windows: [Done] IMA on certain corrupted PNG image files.
- Windows: [Done] LoadImage Crashes Program
- Windows: [Done] x64 int "ext"
- C Backend: [Done] PB6.00x86/6.01b3x86 Problem with bitwise operators and quads
- C Backend: [Done] IMA on break
- C Backend: [Done] Different bug message at compilation 2
- C Backend: [Done] Compiler error for ProcessIdToSessionId
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany