Should You EVER Use 32-Bit Versions of Apps? (Yes Actually)

  Рет қаралды 12,126

ThioJoe

ThioJoe

Күн бұрын

Пікірлер: 241
@ThioJoe
@ThioJoe 21 сағат бұрын
Sponsored: Don't leave you and your family vulnerable to data breaches! Go to aura.com/thiojoe to get a 14-day free trial to Aura.
@EquaTechnologies
@EquaTechnologies 4 сағат бұрын
sigma
@EquaTechnologies
@EquaTechnologies 4 сағат бұрын
am i first?
@EquaTechnologies
@EquaTechnologies 4 сағат бұрын
if i was not first, i shouldn't have rewritten the comment
@EquaTechnologies
@EquaTechnologies 4 сағат бұрын
but who cares
@_SJ
@_SJ 4 сағат бұрын
The voice note feature is ❤
@InsaneFirebat
@InsaneFirebat 4 сағат бұрын
As a SNES programmer, this makes perfect sense to me. Often times working in 8bit mode is faster than 16bit, because an extra clock cycle is spent decoding the extra byte. I just never really considered it for modern apps. Thanks.
@dogman_2748
@dogman_2748 3 сағат бұрын
@@InsaneFirebat If I were to guess, this is most likely due to the CPU cache potentially being able to fit more pointer memory addresses since they're shorter.
@docwhogr
@docwhogr 2 сағат бұрын
it depends on the specific cpu and on the mixture of instructions, this requires a serious research if you like to squish every drop of power out of a cpu...
@d0rban
@d0rban Сағат бұрын
There is also an interesting ABI for x86-64 which compiles 64-bit code with 32-bit pointers, where you can use the full 64-bit range of instructions, but don't have access to addresses above 4GiB. I know there's a Debian port out there that does that. I'm not sure how feasible that would be on Windows.
@adamp9553
@adamp9553 15 минут бұрын
Larger 64-bit instructions are also going to be slower on 64-bit machines when the code isn't in the cache. They can make up for performance after load and math operations that weren't natively available on 32-bit, but so many operations can just be done with 32-bit anway.
@TeleviseGuy
@TeleviseGuy 4 сағат бұрын
I always wondered why a lot of the games on Steam are 32-bit
@jmtradbr
@jmtradbr 2 сағат бұрын
Usually is because they are old
@rockpie.iso.tar.bz2
@rockpie.iso.tar.bz2 2 сағат бұрын
recompile them into x86_64
@casraf
@casraf 2 сағат бұрын
Usually they are just outdated and weren't updated, or updating them causes issues that would require re-writing a lot of parts from the game's engine, which might be either impossible (no source access) or very expensive (dev hours) and just not worth it
@d0rban
@d0rban Сағат бұрын
It's also the most widely compatible Windows programs. 32-bit x86 will run on all modern Windows versions Windows 10 onwards regardless of architecture. If the game doesn't require more than 2GB of RAM, or specific APIs that are 64-bit exclusive, why not compile for that?
@electrothecat
@electrothecat Сағат бұрын
That is due to three factors: - the age of the game, maybe they found out x64 didnt provide that much of a performance bump due to hardware limits at the time. - the game never ran on more than 2GB to begin with; voxel, indie, 2D, and pixel games are often compiled in x86 just for performance and compatibility sake. - the engine is the limitation, some things would be too hard to recompile in x64, in most of those cases itll mean a full rewrite of an old engine, maybe the game is intentionally using an old outdated engine for a specific reason, edge cases are real.
@andreasjoannai6441
@andreasjoannai6441 4 сағат бұрын
1:01 *There is a RAM limit for even 64-bit applications as well. However, it really doesn't matter (at least for now) as that limit is far greater then what most computers have these days. For those wondering, the limit in question is 16 EiB, around 18.446 quintillion bytes, about 18 MILLION terabytes.
@Lebon19
@Lebon19 3 сағат бұрын
If you watched, like, a few minutes more, Thio mentionned exactly this...
@PlayerEngineer
@PlayerEngineer 3 сағат бұрын
bro didnt finish the video
@RedOneM
@RedOneM 3 сағат бұрын
"640 kB ought to be enough for anybody" fake quote that's still relevant today.
@andreasjoannai6441
@andreasjoannai6441 3 сағат бұрын
@@RedOneM ... Is why I said "at least for now"
@JessicaFEREM
@JessicaFEREM 2 сағат бұрын
Can't wait for 128bit computers
@VLS-Why
@VLS-Why 4 сағат бұрын
Fyi modern processors don't actually use 64 bit addresses, that is just the datapath. Addresses are ~50 bits
@ThioJoe
@ThioJoe 4 сағат бұрын
Hmm interesting i’ll have to read more into that 🤔
@0.Andi.0
@0.Andi.0 58 минут бұрын
Linux reports like 48 bits
@Aeduo
@Aeduo 50 минут бұрын
Even more fun, I believe in various cases, those other bits can contain flags and other data used by the OS for various things (though I don't know if these are usable on the application-side, they might only be meaningful in kernelspace).
@VLS-Why
@VLS-Why 45 минут бұрын
@@Aeduo I am CPU engineer, the bits physically do not exist in the silicon
@Aeduo
@Aeduo 40 минут бұрын
@@VLS-Why I guess this is why they're packing data in there then if they're literally no effect as far as physical memory addresses goes. Messing with virtual memory pointers can probably mess up other runtime things though that might depend on values being consistent, that's mostly what I was referring to with applications.
@QWERTIOX
@QWERTIOX 4 сағат бұрын
I think you should mention that 64 bit are in fact sometimes faster because of 2GB cap - some 32 bit apps pack few variables in one 32 bit one for example 4 8bit ones but 64bit versions don't and just go with 4 64bit variables and for that reason 64 version can read and write them without any problem where 32bit ones need to do bit shifting and masking to read/write. Good example of this is Team Fortress 2 that received massive performance boost after getting 64bit version. Also 64bit programs could have better precision (depends of implementation) and give more accurate results
@ThioJoe
@ThioJoe 4 сағат бұрын
Hm true, though I guess that falls outside the realm of “all other things being equal” if the logic is different
@lucidattf
@lucidattf 4 сағат бұрын
0:43 unless its x86_64
@igorthelight
@igorthelight 4 сағат бұрын
Then it's the same as x64 or AMD64 ;-)
@lucidattf
@lucidattf 4 сағат бұрын
@ yep, just different systems preferring to call it by different names
@andreasjoannai6441
@andreasjoannai6441 4 сағат бұрын
On top of that, x86 is technically an umbrella term for 16-bit, 32‐bit, and 64-bit. What matters here is that all of these are based on the i8086 processor.
@igorthelight
@igorthelight 4 сағат бұрын
@@andreasjoannai6441 Yep, true!
@michaelmalenchek4575
@michaelmalenchek4575 3 сағат бұрын
I'd like to interject here. x86_64 refers to a processor that supports the Intel 8086 and AMD64 extension to x86. x86 refers to a processor just supporting the Intel 8086 (i86) architecture. AMD64 refers to just the AMD64 extention to the Intel 8086 (i86) architecture. Note AMD and Intel cross-license these technologies which is why they both can manufacture processors without violating patent laws.
@stephenwhite6216
@stephenwhite6216 4 сағат бұрын
At 2:26, that's 15.5 and 11.5 MEGABYTES respectively
@ThioJoe
@ThioJoe 4 сағат бұрын
@Pls2M
@Pls2M 4 сағат бұрын
that was a K like the old windows which represents Kilobytes not Megabytes
@Pls2M
@Pls2M 4 сағат бұрын
so yes
@N1r4
@N1r4 4 сағат бұрын
​@@ThioJoewow voice note reply. since when was that a thing
@xapplezapple3453
@xapplezapple3453 4 сағат бұрын
@@N1r4 is it supported for you? for me it has a transcription and says voice reply is not supported
@treyquattro
@treyquattro 53 минут бұрын
64-bit x86 instructions require more opcode overrides, are often longer, and therefore require more clocks to decode (depending on the length of a multi-byte instruction, from two to around 15 on the latest processors in 64-bit mode). However, to quote a well-used phrase: it's complicated. Modern (x86/CISC) processors are highly pipelined, non-linear, and superscalar with branch prediction and speculative execution so getting the mix of instructions necessary to measure the performance you think you're targeting is tricky, much more so than in the "old days" where each instruction had a predefined and static number of clocks per instruction, there was only one instruction decoded at a time, and there were only 16- or 32-bit modes which were very simplistic by modern standards (that's for e.g. 80386/80486).
@dtkywtan
@dtkywtan 2 сағат бұрын
Yes! I'm still using MS Office 2003 SP3 32-bit on a decade old HP z420 workstation, those old school 32-bit Office Apps are lighting fast pretty much on every task such as Excel can launch almost instantaneously upon double-clicking the app or document icons. A big architectural difference between 64 and 32-bit is "maxium RAM addressing capability" which affects how many rows a worksheet can handle, but that doesn't really matter for most average users.
@Krushx0
@Krushx0 4 сағат бұрын
the peak is 32 bit portable programs written into a single exe. Wicked fast. Especially with fast nvme drives. Probably the whole program loaded as whole as a "container" into ram and dissected in ram which is faster oppose to the program already dissected on nvme since some files when you copy it really slow but when you put them into a container and copy it that way that slowness during copying disappear.
@andbandlast
@andbandlast 56 минут бұрын
Portable programs are probably fast cause the don't ask the operating system where their configuration files are, which could take multiple reads from disk. Assuming the config files don't exist, a non-portable application would still have to ask the operating system where they are stored, then only after that, check if they exist in the expected directory. A portable application on the other hand would only check the directory it resides in, which contents would already be loaded into memory. There are several reasons why copying container files are faster. You're probably referring to .zip, .rar or .7z files, which are faster just by being smaller as they are compressed. But, there are other container files like .tar that don't do compression and, just put a bunch of files into one big file. These are faster because there is overhead for each file copy, so if you copy a lot of files you get a lot of overhead. But, if you put them all into a single file you only get the overhead of one copy. In regards to "dissected in ram", I assume you referring storing a compressed program on disk, then uncompressing it at runtime. You can do this but there isn't much reason to compress programs themselves. Code is small enough your not going to notice a delay loading it into memory. But, the program assets like images, video, and sounds are almost never going to be uncompressed on disk and almost always "dissected"(uncompressed) in memory. Games don't even store images in memory uncompressed, instead working with compressed textures directly.
@OMGg4m3r
@OMGg4m3r Сағат бұрын
In a business environment, 32 bit office is used often due to them using an add on that doesn't have a 64 bit version as its for some old software they haven't replaced...
@God-ld6ll
@God-ld6ll 4 сағат бұрын
"well, isn't it a bit faster?" (a joke)
@bard_x86
@bard_x86 4 сағат бұрын
@@God-ld6ll this will be at the top for sure
@Mr.Anders0n_
@Mr.Anders0n_ 31 минут бұрын
Yes, more than one. it's -32 bits faster
@buildingsbyair
@buildingsbyair 4 сағат бұрын
your caption says 64 could be faster, but you said 32 could be
@smb1397
@smb1397 3 сағат бұрын
32 is the correct one
2 сағат бұрын
8:23 As a 3rd semester in collage for Computer Engineering I guess we can assume it's like math using Limit from infinity cuz we only need to see 4 gb instead of inf. So of course it calculates faster. Like how we already chached games to ram instead HDD to see the lookup table
@QWERTIOX
@QWERTIOX 4 сағат бұрын
1:20 should say 32bit on screen
@jjmmfi
@jjmmfi 4 сағат бұрын
Yes
@ThioJoe
@ThioJoe 4 сағат бұрын
Ah I didn’t catch that 😩
@docwhogr
@docwhogr 2 сағат бұрын
@@ThioJoe no worries, just reupload the video with the corrections :P
@fizixx
@fizixx 4 сағат бұрын
I wondered about this, so, thanks for going over this info, Joe!
@zea_64
@zea_64 2 сағат бұрын
Fun fact: x86_64 supports a mode where you still get access to all the 64-bit features *but* pointers are 32 bits, so you can get all the nice native 64-bit integer stuff and the extra registers added while *also* having pointers take less memory. With memory speed being the big bottleneck these days, it can be a fair bit faster.
@ionamygdalon2263
@ionamygdalon2263 2 сағат бұрын
1:16 You should have typed 32 Bit Programs Can be Faster
@mememachine269
@mememachine269 26 минут бұрын
Was thinking the same
@redaceFR
@redaceFR Сағат бұрын
I had seen articles about this specific subject. Turns out that modern CPUs can detect they are running a 32 bit program and "merge" multiple 32 bit operations in the same 64 bits operation. For example they can do an "add" operation of 2 32 bits numbers and use the remaining 32 bits to perform another "add" with different 32 bit numbers because they can handle 64 bits in total at the same time. If I remember correctly what's even more interesting for speed is that 64 bits RAM can handle looking for 2 32 bits addressed numbers in the same clock cycle. Effectively doubling the speed for those specific values. I think this was discontinued at some point tho ...
@alexandrustefanmiron7723
@alexandrustefanmiron7723 57 минут бұрын
Also, do not forget AWE support. You can pin physical pages that you can map into your mem space as needed going beyond the 4gb limit.
@HellDuke-
@HellDuke- 4 сағат бұрын
Some caveats on the results. AI cannot give a good synthetic test. If AI is what made the test (as in what should be tested) then it's likely not a very good measuring stick. The other caveat is that the results are not necessarily scalable. In the test the 40% difference might be several milliseconds of difference whereas in an actual application you might still retain a difference of several milliseconds but the operations take 10 times that in genera making the % different. Always be careful with % differences, I'd say for future tests like this always give an absolute value because for all we know the difference will remain the same regardless of how long the operation takes in general.
@ThioJoe
@ThioJoe 4 сағат бұрын
Yea i mean it was more of a rough test, and obviously all the tests were repeated loops whereas in a real program not everything is gonna be those types of actions
@gblargg
@gblargg 3 сағат бұрын
@@ThioJoe How long did the loops run? Some of them are just a couple of seconds, where the time to load the program from the drive might be significant. Hopefully these ran for a minute each test.
@teamredstudio7012
@teamredstudio7012 Сағат бұрын
Also, not to forget, Wndows 10 ARM does not support x64, it only supports x86 translation
@SquintyGears
@SquintyGears 29 минут бұрын
I haven't tested this, but from what I know a lot of the speed difference is likely due to scheduling and CPU internal threading. Many 64bit operations where designed intentionally to be 2 32bit operations glue together. And can be used both ways. So if the code isn't linear it can do 2 32bit things in a single native 64bit instruction. It gets super complicated to identify exactly where the performance boost comes from when it ends up being platform dependent and microcode version and everything else. Because windows could make the decision at a kernel level scheduling since it's aware of the supported instructions, but it generally doesn't do that for user space programs.
@MrGrappleMan
@MrGrappleMan 4 сағат бұрын
Though that aarch64 was better in this scenario. But 32 bit OS on a 64 bit PC is hella slow and quite inefficient with overhead.
@401_kb
@401_kb 3 сағат бұрын
Finally! Thanks for clearifying about 32 bit and 64 bit applications in this video. Most people wondered which one to choose. This will be the answer out.
@Aeduo
@Aeduo 57 минут бұрын
Even more fun is applications which stored addresses in a 32 bit int... then got ported to 64 bits. Wine ran in to a bug along these lines a bit ago because apparently windows was generally putting everything down below 4GB and would generally work just fine. Wine wasn't respecting this and exposing badly written code in a lot of applications. Of course, because Windows did it a certain way, Wine has to do so too to assure these applications work as expected.
@casraf
@casraf 2 сағат бұрын
Another reason to choose 32 bit is dependencies on either legacy or very long-living versions that are required for specific things. Some of these don't compile, or misbehave on 64 bit, and they might bottleneck the rest of your app to require 32 bit compatibility. Though that's probably a bit less likely.
@bhashkarkumar1542
@bhashkarkumar1542 3 сағат бұрын
Thanks for the info......I never thought for this aspect
@fildisco
@fildisco 4 сағат бұрын
This blew my mind
@AGoogleUser-e7v
@AGoogleUser-e7v 4 сағат бұрын
Are u still alive?
@andersama2215
@andersama2215 29 минут бұрын
Unless the program you're dealing with conceptually is processing large amounts of data 32bit would be faster, part of the reason is that the instructions themselves are smaller, allowing more of the program to be cached, and sometimes equivalent instructions may be faster. That said, don't install mismatched versions, you can easily end up with weird broken behavior.
@lerenstuderenopschool
@lerenstuderenopschool 4 сағат бұрын
How do you make these test programs? can You make a tutorial pls?
@ThioJoe
@ThioJoe 4 сағат бұрын
@Zynorius00
@Zynorius00 4 сағат бұрын
@@ThioJoe what how did not not about this voice feature
@ThioJoe
@ThioJoe 4 сағат бұрын
@@Zynorius00 It’s a feature they’re having me test 👀 I don’t think I can say much more than that
@Zynorius00
@Zynorius00 4 сағат бұрын
@@ThioJoe really interesting
@lerenstuderenopschool
@lerenstuderenopschool 3 сағат бұрын
@@ThioJoe Thanks for your Answer. This means a lot that my idol is reacting to my comment.
@Cursor_Gaming
@Cursor_Gaming 4 сағат бұрын
Correction: at 1:27, it should say 32 instead of 64 on the screen,
@AltonV
@AltonV 2 сағат бұрын
Not really. He is talking about 32-bit being faster and the text is an addendum that says 62-bit might be faster in some cases.
@Cursor_Gaming
@Cursor_Gaming Сағат бұрын
@@AltonV I suppose in the literal sense, but it'd make more sense to put 32 instead of 64 there
@Dominus_Potatus
@Dominus_Potatus 3 сағат бұрын
Oh yes, I am surprised as you are. But I did see 32-bit run faster than 64-bit espexcally on around Windows XP - Windows 7 era. I remember had an experience playing games that runs better at 32 bit rather than 64 bit.
@ace90210ace
@ace90210ace 4 сағат бұрын
Actually as a developer i can answer why we sont use 64bit always. Its because going to 64bit adds more overhead at cost of performance and ram usage and for 99% of our work we never need 64 bit so we default to 32bit and only enable 64bit if we think theres a specific reason too
@Raivo_K
@Raivo_K 3 сағат бұрын
Does this not introduce more work than just using 64bit tho? RAM is cheap these days and performance should be fine unless it's a really old or low end CPU or you need to maintain compatibility with older 32bit OS. I think the funniest example of 32bit program is a certain well known hardware sensor monitoring program that literally has 64 in the name - yet is 32bit.
@redball4funnys
@redball4funnys 2 сағат бұрын
"...Why we sont use..." bro he's almost talking french.
@WackoMcGoose
@WackoMcGoose 2 сағат бұрын
Makes sense. If the "upper half" of every pointer address is always all zeroes anyway, why bother?
@13thravenpurple94
@13thravenpurple94 26 минут бұрын
Loved every moment of this video! Thanks a million! 💙
@k4rt1
@k4rt1 4 сағат бұрын
Hi Thio. 👋
@whatzause
@whatzause 36 минут бұрын
There is a reason for using Windows. Because 32-bit XP (YES,XP!) has the only GOOD wave editor: Steinberg’s WaveLab Lite. (Don’t let the “Lite” scare you either; this is a feature-packed, professional-like, powerful audio editor!) I have and use Windows 10, but cannot do without XP for WaveLab and some other applications that were BETTER on XP than any equivalents I have found for WIN10. And BTW, XP, dear sir, is still a solid non-crashing, clonable OS. I have 3 good XP desktops that serve me well and are more user friendly than some later Microsoft releases. I have heard you denigrating XP, and I advise you to stop because that opinion, it turns out, is in poor taste if you don’t see the differences as clearly as one who uses XP successfully every day. Having said that, I do profit from and admire your expertise and videos for the most part. Thank you.
@Legitti
@Legitti 3 сағат бұрын
Not the speed but 64bit is often more stable 🤔
@_SJ
@_SJ 4 сағат бұрын
Interesting Thanks ThioJoe
@RadeonVega64
@RadeonVega64 4 сағат бұрын
🐢
@ThioJoe
@ThioJoe 4 сағат бұрын
@_SJ
@_SJ 4 сағат бұрын
Wow 😧😧😧😧😧 voice reply 👍🏻🙏🏻
@nigelcox1
@nigelcox1 4 сағат бұрын
@@ThioJoe Hi Joe, great video as usual, but ? caption error at 1:16
@RadeonVega64
@RadeonVega64 4 сағат бұрын
@@ThioJoe what
@GifyTheOld
@GifyTheOld 2 сағат бұрын
Oh, that's good to know, especially for some always running small utility programs and that kind of stuff to save a bit of CPU/RAM usage.
@MthaMenMon
@MthaMenMon Сағат бұрын
You actually feel the pain on the lack of 32 bit versions of things when using an old atom netbook :(. Most games, even if 2D and lightweight, are made with only 64 bit in mind. So no chance of ever running them on those old atom cpus. Even some browsers nowadays dont offer updates to their 32 bit version, like brave.
@Biaanca5036
@Biaanca5036 2 сағат бұрын
I use old computers so usually my thoughts on the matter are: "Internally - All this program does is ______________. And it'll never, ever, consume a gig of ram to do what it does. _So like.. was ruining backwards compatibility reaaaaalyyyyy worth it"
@whtiequillBj
@whtiequillBj Сағат бұрын
We don't use full 64 but addresses. We usually only have partial support. I think it's 48 but addressed upper and lower memory.
@AlekseyMalov
@AlekseyMalov Сағат бұрын
In Task Manager's Details tab you can see if a process is x86 or x64, if you have Architecture column enabled.
@morthim
@morthim 16 минут бұрын
'if is faster to run a 32 bit program?' it can be even faster if the OS makes it so 32 bit programs can run as 64 bit programs. virtual memory means that you can have a 4GB page table of memory which exists within the overlaying 64bit addressspace. the big thing is that when 32 bit programs or 16 bit ones are made parrellel you get huge speed ups.
@terawattyear
@terawattyear 3 сағат бұрын
On the windows XP machine I was working on, HWInfo 64 bit would not run. HWInfo 32 bit would (no surprise). So if you like working with older Windows OS machines, it is handy to have functional test tools. Good video BTW.
@markmcmullen1371
@markmcmullen1371 43 минут бұрын
Is there a way to force install 32 bit program on a 64 bit version of Windows 10, I have a couple of older programs that pops up a error message "can't install 32 bit program" ?. If you've done one before could you direct me to the video, thank you.
@Jimmy-bu6zb
@Jimmy-bu6zb 4 сағат бұрын
Thanks for making this video, Thio. Though I have a Win 11 PC, still have two 32-bit Asus T100TA small laptops/tablets that still work perfectly. Only 2GB RAM, so after Oct. 2025 will have to decide: ESU Windows 10 for 3 more years (School/Teacher discount)...or perhaps 32-bit MX Linux. I mean, why throw out even MORE e-waste, if things still work well?
@langhistruk
@langhistruk 44 минут бұрын
You could also consider Debian:)
@LeBeautiful
@LeBeautiful 4 сағат бұрын
Dam, when I thought 64bit was the new norm
@DosGamer6601
@DosGamer6601 4 сағат бұрын
the only reason i found for using 32 bit windows is if your computer does not support it or you want to run 16 bit apps
@ThioJoe
@ThioJoe 4 сағат бұрын
True, 32 bit versions of Windows do support 16 bit apps. I wonder if there are emulators you can download though and run on 64 bit
@DosGamer6601
@DosGamer6601 4 сағат бұрын
@@ThioJoe you can run windows 3.1 under dosbox or use some sort of VM
@Sirdrexl
@Sirdrexl Сағат бұрын
The RAM limit would be per-process, right? Modern web browsers have separate processes for each tab, so I would think that while they could add up to more than 4GB (assuming you're using a 64-bit OS), each process could use 2-4GB in 32-bit.
@TechDunk
@TechDunk 4 минут бұрын
I gotta test this on my games
@bspringer
@bspringer Сағат бұрын
Instructions unclear, downloading 32 bit Chrome now
@ThePaalanBoy
@ThePaalanBoy 2 сағат бұрын
So, wouldn't using 32bit version of programs automatically limit resource usage and make it easier to multitask/running multiple programs?
@guiorgy
@guiorgy 3 сағат бұрын
Have you tried comparing the performance of operations on 64 bit integers (or floating point numbers, aka doubles)? I'm assuming that that would be significantly faster on x64
@9SMTM6
@9SMTM6 3 сағат бұрын
amd64 or x86_64 actually only uses 48 bit of the 64 bit addresses. So your theoretical limit is far beyond whats actually possible. Also one should consider that the address space of programs is compartmentalized into areas by the OS, for a few reasons, eg. that a program can have an address to memory that the system owns. So you can't even use all 48 bits for the program itself. Though, this compartmentalization depends on the OS,so I guess you might be able to create a bootable program that has access to everything. Theoretically. The 48 bit limitation is unavoidable with current hardware.
@9SMTM6
@9SMTM6 3 сағат бұрын
Re. Speed difference. Unless I'm missing something the 32 bit program should be limited to half the runtime at worst. And that's in the limiting case that all the data your program handles are pointers, and that your program speed is bound by the memory bandwidth of loading these addresses. So something like datastructures mostly made out of pointers, which seems to have been one of your examples. But most programs written for speed don't tend to be that way, for started they don't use C#. Additionally, AFAIK, most modern instruction extensions such as SIMD expensions are only available in 64 bit, so you loose out on these potential speedups.
@TheVirtualArena24
@TheVirtualArena24 Сағат бұрын
I saw this on your tweet before.
@moguus2944
@moguus2944 10 минут бұрын
BUT installing a 32-bit Windows version instead of 64-bit Windows, the system is actually 25% slower compared to running 64-bit Windows
@t1m3f0x
@t1m3f0x Сағат бұрын
Actually there is a reason to use 32 bit Windows, you have to use 32 bit Windows to run 16 bit programs.
@asan1050
@asan1050 3 сағат бұрын
Thanks for posting this video3
@MouseQueen7220
@MouseQueen7220 2 сағат бұрын
I always thought that 64 bit programs would be faster, as I think 32 bit programs need some kind of translation on 64 bit operating systems. I am pretty sure that newer versions of Mac OS can't run 32 bit apps.
@SomeRandomDeveloper
@SomeRandomDeveloper 2 сағат бұрын
You need to test on different CPUs. A lot of CPUs use a compatibility layer instead now, and 64bit will perform better on those.
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 2 сағат бұрын
I imagine how 16 bit will be fast.
@pepparody
@pepparody 3 сағат бұрын
1:28 The text says 64 bit, but I think you meant 32 bit.
@tristansewell5986
@tristansewell5986 3 сағат бұрын
What about the security difference?
@WindowsAurora
@WindowsAurora 2 сағат бұрын
1:15 editing mistake?
@Rouxenator
@Rouxenator 3 сағат бұрын
WoW64 is pretty powerfuly. I wonder if the same is true for running 16bit applications on 32bit Windows via WoW32
@wadmodderschalton5763
@wadmodderschalton5763 57 секунд бұрын
Unless anything is built with code from Google Chrome as the browser is bloated when it comes down to memory as 32-bit support degrades when it comes down to performance on lower ended PCs.
@evertchin
@evertchin 4 сағат бұрын
It make more sense to hyper optimize for live services, i wonder if this only a windows thing or linux app also benefits from it.
@Lucas-up6ww
@Lucas-up6ww 3 сағат бұрын
I want 128-Bit!
@angelsoul3359
@angelsoul3359 4 сағат бұрын
What if Windows won’t let you install a 32 bit app because it’s “incompatible”? Is there a way to get around this or would that be a harmful thing to do?
@ThioJoe
@ThioJoe 4 сағат бұрын
I can’t think of a time it ever wouldn’t let you install an app just because it’s 32 bit 🤔 There must be something else that makes it not compatible. Where does it even say that message, is it an app from the Microsoft Store or something?
@angelsoul3359
@angelsoul3359 3 сағат бұрын
@ I will find it and let you know. Thanks so much for your response.
@Raivo_K
@Raivo_K 3 сағат бұрын
You might have tried to run a 16bit or MS-DOS program instead. Despite the .exe extension modern 64bit Windows is unable to natively run those.
@angelsoul3359
@angelsoul3359 Сағат бұрын
@@ThioJoeThe app name is “Linksys EasyLink Advisor.exe”. It came with my router (Yes, I know I need a newer router because mine is no longer supported, lol). The app can now be downloaded from the internet from various sites under various names, usually mentioning that it is a 32-bit app. I ran it on WindowsXP but can’t run it on Windows11. The message I got a few minutes ago when trying to install a version of it was “an administrator has blocked you from using this app for your own protection.” Uh - I am the administrator, lol. The message gave no details.
@bean_TM
@bean_TM 4 сағат бұрын
yea but what about SIMD optimizations. or just better compiler flags to optimize for 64bit? SIMD would work better with 64bit since you have more bits, and compilers can better optimize for that. I think you should have done real work benchmarks instead of making a small program that wont represent how real world applications work. testing is flawed here.
@redball4funnys
@redball4funnys 2 сағат бұрын
So why geometry dash 2.206 and up is well optimized than older ones because they're 64-bit?
@JonathanSwiftUK
@JonathanSwiftUK 3 сағат бұрын
It's not speed or ram that is important but compatibility, going forward, what happens if Windows further reduces support, or removes support for x86, like Intel is also trying to do. Intel don't want 32 bit, and nor does Microsoft. Windows 10 is dead, no longer supported, and Windows 11 doesn't have a 32-bit version, although it can run 32 bit programs. Once Intel stop supporting x86 everybody will have to move to x64. There are companies out there using incredibly old operating systems, like Windows 2003, 2008.
@tehyonglip9203
@tehyonglip9203 4 сағат бұрын
8:31 this is not necessarily true, in C, if you use any integer which is less than 32 bit (e.g. int16_t) the operating have to do additional check to make sure it doesn't overflow, which makes it slower, but not necessarily less memory. Looks like in most cases, using a 32 bit integer is the most compatible with RAM and CPU, because the can read it readily, using anything different forces the compiler to check the range of the integers during the compile time, slowing down your system slightly.
@ThioJoe
@ThioJoe 4 сағат бұрын
Hm but would that only be during compiling?
@Lost-In-Blank
@Lost-In-Blank 3 сағат бұрын
@@ThioJoe overflowing during execution
@ohhelloididntseeyouthere
@ohhelloididntseeyouthere 2 сағат бұрын
@@ThioJoe I'm not 100% sure, but I think the original commenter is talking about aligning types to the native word size of the architecture. So if your native word size is 64-bit, for instance, and you use a 16 bit integer, it's possible it will be extended to 64-bit to maintain alignment at runtime. This could have a small performance impact, but with modern CPUs it would be basically insignificant outside of insanely performance critical work or find yourself using an unusual architecture. Otherwise the C compiler isn't doing any kind of range checking. If you overflow a signed 16-bit integer, it's undefined behavior. If you overflow an unsigned integer, it just wraps around. There are also situations like alignment padding of structs where it may pad smaller types to align to larger types, like if you have a struct with an int16_t and an int32_t the compiler will pad the int16_t to align with the int32_t.
@tehyonglip9203
@tehyonglip9203 Сағат бұрын
​@@ThioJoe Good question, the reason 32 bit file can be read the fastest during compilation is because the OS can read it without any checks. Technically, when you are running an exe file, it should be in the lowest level possible (binary). So it really surpises me when 32 bit outperforms 64 bit. One reason might be because 32 bit has a better optimization because all PCs have to run it?
@TheVirtualArena24
@TheVirtualArena24 Сағат бұрын
5:53 bro is programmer
@StinCrucing
@StinCrucing 3 сағат бұрын
What if you compile x64 with 2GB ram limit? Will that be as fast as x86-32😮
@DarkGamerA
@DarkGamerA 33 минут бұрын
i wish i had his coding skills and knowhow
@antonnycer
@antonnycer 4 сағат бұрын
Android emulation can run better in a ARM PC?
@igorthelight
@igorthelight 4 сағат бұрын
Could be. Additional testing needed ;-)
@ThioJoe
@ThioJoe 4 сағат бұрын
I’m not sure actually 🤔
@QwDragon
@QwDragon 2 сағат бұрын
Why C#? You should've use some language that compiles to native code.
@prman9984
@prman9984 2 сағат бұрын
Exactly the reason that you have to ask 32 or 64 to begin with. C# does both because it compiles from IL on the user's machine, using as many CPU options as they have available for maximum performance.
@markkoops2611
@markkoops2611 45 минут бұрын
That's not 15.5 KB, that's 15.5MB of RAM
@alexandrustefanmiron7723
@alexandrustefanmiron7723 Сағат бұрын
I'm sorry but what do you do to have a 10/15mb of an exe file ? A... c#.. now I get it!
@180rotator
@180rotator 4 сағат бұрын
ya
@cammy85
@cammy85 4 сағат бұрын
VLC 32 bit is more stable dependoing how you like your settings.
@ThioJoe
@ThioJoe 4 сағат бұрын
Interesting 🤔
@Unglue
@Unglue 4 сағат бұрын
Yes
@thetechrealist
@thetechrealist 2 сағат бұрын
Eh, I’d only use 32 bit programs for older, crappy computers
@CYXXYC
@CYXXYC 4 сағат бұрын
tummy in the video url
@ThioJoe
@ThioJoe 4 сағат бұрын
Lol it even has an underscore in front
@matthewharris517
@matthewharris517 22 минут бұрын
And here I am with a PC filled with nothing but 64bit programs Oh well 🤷
@mrpiratexd
@mrpiratexd 3 сағат бұрын
compare windows 64bit edition vs windows 32bit edition
@TechTeamAspect
@TechTeamAspect 4 сағат бұрын
Me still using 32-bit Windows: 👁👄👁 (im just joking)
@docwhogr
@docwhogr 3 сағат бұрын
windows 32bit are also faster if you can live with the small memory but it depends on the cpu. old atom cpus for example are very bad at 64bit. you should also check amd vs intel and i don't think .net is a good choice...
@EquaTechnologies
@EquaTechnologies 4 сағат бұрын
very sigma
@Kioki1-x8p
@Kioki1-x8p 3 сағат бұрын
Imagine a doomsday scenario & you have an old system OS running & you don't have 32-bit program versions in your ssd 🤣😂 & you need it for say medical vaccine research or something like that. I guess having 32-bit versions is also good.
@Wregst3
@Wregst3 3 сағат бұрын
i use 32bit because its older and older automatically means its better
@z9cubing574
@z9cubing574 57 минут бұрын
It saves apce? IG????!!!...,,,
@RandomytchannelGD
@RandomytchannelGD 20 минут бұрын
Hi
@LedSeng
@LedSeng 4 сағат бұрын
I am surprised that YOU were surprised. compared to everything else that you have taught me with your videos that i had no idea about, this particular piece of knowledge i had always assumed to be "common sense."
@ThioJoe
@ThioJoe 4 сағат бұрын
I guess I just never thought about it ¯\_(ツ)_/¯
@EquaTechnologies
@EquaTechnologies 4 сағат бұрын
OwO sigma
@Pls2M
@Pls2M 4 сағат бұрын
imma 157th like and 32th comment
The IMPOSSIBLE Laptop Fan...
14:19
Dave2D
Рет қаралды 53 М.
Are Windows "Generic Keys" illegal?
13:26
ThioJoe
Рет қаралды 184 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 20 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 33 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 59 МЛН
Every Form of Animation
24:43
TheOdd1sOut
Рет қаралды 625 М.
You’re Probably Wrong About Dinosaurs
20:17
Cleo Abram
Рет қаралды 116 М.
Storage Media Life Expectancy: SSDs, HDDs & More!
18:18
ExplainingComputers
Рет қаралды 532 М.
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 544 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,3 МЛН
Enable This New Cell Phone Security Option Now!
11:56
ThioJoe
Рет қаралды 182 М.
Installing ReactOS in 2024 but Everything Goes Wrong...
55:46
Michael MJD
Рет қаралды 300 М.
The History of Windows 8 Development
21:50
Michael MJD
Рет қаралды 868 М.
Thorium Reactors: Why is this Technology Quite So Exciting
21:11
Megaprojects
Рет қаралды 1,3 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 20 МЛН