News for hackers. Stuff that matters.
Re:How to ensure that your program does not run under Window... by kccqzy on Wednesday June 03, 2020 @03:41AM (#23400976)
I thought example 50 and 51 are pretty reasonable. Pointer tagging is a valid technique; it's a pity they chose to tag using the high bit instead of the low bit. But then 2GB of memory was humongous in the age of Windows 95. Also, didn't some 32-bit operating systems use to reserve the upper 2GB of the address space for the kernel?
Re:How to ensure that your program does not run under Window... by kevingadd on Wednesday June 03, 2020 @07:11AM (#23402107)
Windows carved out 2GB of address space for a very long time, there's a /3GB flag that you could set at boot time to reduce that carve-out to 1GB (freeing up another 1GB of address space for applications)