Page 1 of 1

What is the executable format option's point and why this default?

Posted: Tue Nov 09, 2021 9:48 am
by Rinzwind
Is it me or is that dropdown quite useless nowadays and should it always select CPU with SSE2 as default since any processor released in the last (almost) 2 decades support it? Weird the default is to not use it and newer extensions didn't get support. Also wonder what exactly in PB takes advantage of it?

ps wikipedia: "SSE2 is also a requirement for installing Windows 8[3] (and later) or Microsoft Office 2013 (and later) "to enhance the reliability of third-party apps and drivers running in Windows 8"

Re: What is the executable format option's point and why this default?

Posted: Tue Nov 09, 2021 11:49 am
by chi
Help wrote:Cpu Optimisation (next to Executable format)
This setting allows to include Cpu optimised PB functions in your executable:
All CPU : The generic functions are included that run on all CPUs.
Dynamic CPU : The generic functions as well as any available CPU specific function are included. The function to execute is decided at runtime. This creates a bigger executable, but it will run as fast as possible on all CPUs.
All other options : Include only the functions for a specific CPU. The executable will not run on any Cpu that does not support this feature.

Note: No PB functions actually support this feature for now (it is ignored for them). However, some User Libraries include such optimisations.
Note the note :wink:

Re: What is the executable format option's point and why this default?

Posted: Tue Nov 09, 2021 1:06 pm
by Rinzwind
Then its complete bullocks. That dropdown was added in 2003 according to change history and has zero purpose since then. OK. Clear.

Re: What is the executable format option's point and why this default?

Posted: Wed Jan 12, 2022 8:28 am
by BarryG
Rinzwind wrote: Tue Nov 09, 2021 1:06 pmThen its complete bullocks. That dropdown was added in 2003 according to change history and has zero purpose since then.
Not zero purpose. The manual clearly says: "some User Libraries include such optimisations". I guess it was more useful when user libraries created with Tailbite were a big thing.

Re: What is the executable format option's point and why this default?

Posted: Wed Jan 12, 2022 12:26 pm
by User_Russian

Re: What is the executable format option's point and why this default?

Posted: Thu Jan 13, 2022 2:15 am
by Rinzwind