Why the HUGE difference in 32bit and 64bit?

Just starting out? Need help? Post your questions and find answers here.
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Why the HUGE difference in 32bit and 64bit?

Post by Randy Walker »

I compiled my PBfingerprinter using v5.4 32 bit and v6.11 64bit and respective sizes were 85K and 285k, so why is 64bit 200k larger? I could understand 170k, twice the size. code is here:
https://www.purebasic.fr/english/viewtopic.php?t=85190

Also, I just noticed Bing [Bot], Google [Bot] are always here and *never* have anything good to contribute.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
PBJim
Enthusiast
Enthusiast
Posts: 294
Joined: Fri Jan 19, 2024 11:56 pm

Re: Why the HUGE difference in 32bit and 64bit?

Post by PBJim »

It is normal now, Randy, given the compilation changes that were made, I believe in version 6.10 — not specifically 64-bit. In your example, the comparison is with code compiled with 5.4, which happens to be 32-bit.

The subject also arose in a post yesterday, which links to Fred's article on the subject.

https://www.purebasic.fr/english/viewto ... 24#p626724
infratec
Always Here
Always Here
Posts: 7576
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Why the HUGE difference in 32bit and 64bit?

Post by infratec »

You compare an apple with a pear.

Compare 5.73 x86 with PB 6.11 x86
Then you will notice taht the 32 bit exe is much larger.
This comes from the new MS libraries which are used now.
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Why the HUGE difference in 32bit and 64bit?

Post by Randy Walker »

PBJim wrote: Thu Aug 29, 2024 6:59 am It is normal now, Randy, given the compilation changes that were made, I believe in version 6.10 — not specifically 64-bit. In your example, the comparison is with code compiled with 5.4, which happens to be 32-bit.
https://www.purebasic.fr/english/viewto ... 24#p626724

This actually came in 6.10. Fred explained why here, and if you have an app where size really, really matters, 6.04 isn't that old and should still produce binaries in the 20 KB range like that.
Ok PBJim, Thanks for the hint. I happen to have v5.62x64 still installed so I compiled using that and 285 came down to a more reasonable 108k.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
AZJIO
Addict
Addict
Posts: 2141
Joined: Sun May 14, 2017 1:48 am

Re: Why the HUGE difference in 32bit and 64bit?

Post by AZJIO »

Use 6.04
This is the latest version that uses compact exe files and supports WindowsXP.
BarryG
Addict
Addict
Posts: 4122
Joined: Thu Apr 18, 2019 8:17 am

Re: Why the HUGE difference in 32bit and 64bit?

Post by BarryG »

Randy Walker wrote: Thu Aug 29, 2024 6:07 amBing [Bot], Google [Bot] are always here and *never* have anything good to contribute.
They're just search engine spiders recording the posts. All forums have them.
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Why the HUGE difference in 32bit and 64bit?

Post by Randy Walker »

AZJIO wrote: Thu Aug 29, 2024 7:28 am Use 6.04
This is the latest version that uses compact exe files and supports WindowsXP.
Good to know but already have 3 versions installed and I can live with 108k so I'll just stick with what I have for now. Thanks anyway Azjio.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
AZJIO
Addict
Addict
Posts: 2141
Joined: Sun May 14, 2017 1:48 am

Re: Why the HUGE difference in 32bit and 64bit?

Post by AZJIO »

Why should I try to persuade? Version 6.04 has a Backend C. This functionality does not embed unused module functions during compilation. It has a 2-3-fold increase in speed

https://purebasic.mybb.ru/viewtopic.php?id=1096#p10790
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Why the HUGE difference in 32bit and 64bit?

Post by Randy Walker »

:lol: Thanks again but I cannot read russian. I have trouble enough with english, my native language.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
AZJIO
Addict
Addict
Posts: 2141
Joined: Sun May 14, 2017 1:48 am

Re: Why the HUGE difference in 32bit and 64bit?

Post by AZJIO »

I can't read English. Therefore, I use the s3 plugin, which translates into my native language when pressing the Alt+v hotkey
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Why the HUGE difference in 32bit and 64bit?

Post by Randy Walker »

AZJIO wrote: Thu Aug 29, 2024 9:54 pm I can't read English. Therefore, I use the s3 plugin
Hahaha :lol: Sounds cool but, I can't read that either.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
AZJIO
Addict
Addict
Posts: 2141
Joined: Sun May 14, 2017 1:48 am

Re: Why the HUGE difference in 32bit and 64bit?

Post by AZJIO »

Do you know how to use Google?
By the way, the plugin automatically translates subtitles on YouTube and inserts a “Translate” button in the comments. Unlike you, I can read any language using this plugin.
Randy Walker wrote: Thu Aug 29, 2024 11:28 pm Sounds cool but, I can't read that either.
In the address bar you need to change "ru" to "en"
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: Why the HUGE difference in 32bit and 64bit?

Post by Randy Walker »

AZJIO wrote: Fri Aug 30, 2024 4:32 am Do you know how to use Google?

In the address bar you need to change "ru" to "en"
Yes I know Google -- THE evil of all evils and I hate them.
Don't know you can use where you are, but try https://www.startpage.com/

Good tip about changing ru to en and I was able to read about the product. I started to add it but aborted when I saw it had full access to everything in Firefox including clipboard. Extension of Google and therefore totally evil and especially not to be trusted.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
AZJIO
Addict
Addict
Posts: 2141
Joined: Sun May 14, 2017 1:48 am

Re: Why the HUGE difference in 32bit and 64bit?

Post by AZJIO »

Randy Walker wrote: Fri Aug 30, 2024 6:47 am but try https://www.startpage.com/
it is in the collection of search engines https://www.faganfinder.com/. It works for me.
Randy Walker wrote: Fri Aug 30, 2024 6:47 am Extension of Google
No, the author uses the Google engine (It is unlikely that it creates a person ID to track your text translations). I also didn’t like it initially and I use QTranslate, but the possibilities that I mentioned above forced me to keep it.
Last edited by AZJIO on Fri Aug 30, 2024 9:58 am, edited 3 times in total.
User avatar
Erolcum
User
User
Posts: 51
Joined: Fri Jun 07, 2024 10:45 am
Location: Turkiye
Contact:

Re: Why the HUGE difference in 32bit and 64bit?

Post by Erolcum »

Randy Walker wrote: Fri Aug 30, 2024 6:47 am
AZJIO wrote: Fri Aug 30, 2024 4:32 am Do you know how to use Google?

In the address bar you need to change "ru" to "en"
Yes I know Google -- THE evil of all evils and I hate them.
Don't know you can use where you are, but try https://www.startpage.com/
That’s why I started to use ungoogled-chromium as browser . it is the same browser with google chrome but without spy. You may use https://translate.google.com/?sl=ru&tl=en&op=websites with any browser and no need for a plugin
You may visit my new Purebasic blog here..
:arrow: https://erolcum-github-io.translate.goo ... r_pto=wapp
Post Reply