Earlier quoted context omitted.
I thought windows runs on anything which supports extensions up to sse2, which is what amd64 includes.
https://docs.microsoft.com/en-us/windows-hardware/design/min... Devices that run Windows 10 for desktop editions require a 1 GHz or faster processor or SoC that meets the following requirements: * Compatible with the x86* or x64 instruction set. * Supports PAE, NX and SSE2. * Supports CMPXCHG16b, LAHF/SAHF, and PrefetchW for 64-bit OS installation
αcτµαlly pδrταblε εxεcµταblε
271–280 of 309 posts
Re: αcτµαlly pδrταblε εxεcµταblε
#272Earlier quoted context omitted.
https://docs.microsoft.com/en-us/windows-hardware/design/min... Devices that run Windows 10 for desktop editions require a 1 GHz or faster processor or SoC that meets the following requirements: * Compatible with the x86* or x64 instruction set. * Supports PAE, NX and SSE2. * Supports CMPXCHG16b, LAHF/SAHF, and PrefetchW for 64-bit OS installation
Mmmh, so it seems one would be stuck on win 8.0 (for 64bit) with an original implementation of amd64. Could probably still run a lot of new software.
Re: αcτµαlly pδrταblε εxεcµταblε
#273Earlier quoted context omitted.
Indeed. The Win32 API (and UWP et al) is the only one that's officially stable. Kernel syscalls themselves are entirely unstable. Not even just the numbers but the calling convention and everything else. Microsoft reserves the right to add, remove or modify anything in or exposed by the NT kernel. Of course they won't do so frivolously but syscall numbers are especially prone to change with a new build of the kernel.…
I might not be following here. Windows kernel functions are those in ntdll.dll. They've been stable for a very long time as far as I am aware. Well, the 30% of them that are documented at least. It's used by drivers, antivirus and rootkits. C headers with the prototypes are available from the Windows Driver Development Kit. It's not something you want to use though, the average kernel function takes 10 arguments to s…
Re: αcτµαlly pδrταblε εxεcµταblε
#274Earlier quoted context omitted.
Which, I would argue, says at least as much about the HN crowd as it does about whoever posted the article under this specific title. EDIT: more specifically .. it's rather ironic how judgmental (and honestly: pretty darn pretentiously) so many here instantly get, yet how there is this implied assumption that the collective wisdom and judgement of this community is above criticism itself, somehow. It might say far mo…
FWIW, it's not annoying or upsetting to me. However, I took Russian years ago. The only thing I remember is the alphabet and some random words. I also live in a country where the language is not my native one. So, when I saw this in a language I may be able to pronounce like a 3 year old, my immediate response was to think "oh, let's see if I can guess what this says" into "wait what..." into "wtaf" into "oh, that's…
Re: αcτµαlly pδrταblε εxεcµταblε
#275People... Please stop using foreign alphabets like that! It's a nightmare for those of us who know the alphabets. It took me a good 20 seconds to read the title. And it's magnitudes worse when someone uses cyrillic for instance and it's native to me.
Foreign alphabet transliteration drama thread under the best hacking-grade article in years. Thanks, hn.
I think it's fair to point out when a good article makes itself inaccessible due to a trivially correctable problem.
I'm not even saying that the author can't make the joke they're trying to make, but even a small title change like "αcτµαlly pδrταblε εxεcµταblε (actually portable executable)" would basically solve the entire problem without sacrificing any of the meaning behind what the author wants to convey with their misuse of Unicode.
It is a good article, which is why the pointless pushback over accessibility is so frustrating. There would be no engineering effort or large compromise required to make the title of the submission readable. It wouldn't suddenly make the article bad, or not worth reading. It feels like it's being exclusionary just for the sake of being exclusionary.
Re: αcτµαlly pδrταblε εxεcµταblε
#276What's the challenges involved in making a actually portable executable that is a compiler that can create actually portable executables. Why muck with getting a gcc running on windows or whatever if you don't have to? If you only mess with c once a year or so, getting compilers set up is a pain.
Earlier this year, I somehow managed to successfully compile an x86_64-linux-gnu toolchain under MinGW. Using that, pretty much 90% of the Cosmopolitan built fine under Windows without needing a Linux VM (which actually goes faster than native WIN32 due to how Make+GCC assumes processes work). I've tried and failed several times to compile GCC from source on Mac.
But I think compiling GCC is just so hard, that I'd probably rather embed the GNU/Linux compiler binaries in the PKZIP embedded file structure of EMULATOR.COM, since that should create a GPL boundary that's kosher per the GPLv3 and GCC RTEv3 terms.
Re: αcτµαlly pδrταblε εxεcµταblε
#277Earlier quoted context omitted.
Author here. I considered doing that. Then I learned about things like how MSVC 2017 would wrap the main() function of C programs with telemetry. The push for code signing, retpoline, aslr, etc. worries me too, from a software freedom standpoint, and the same goes for how difficult it's become to build native software from scratch, thanks to the shift from autotools to a whole new set of competitors like bazel, cmake…
> The printf statement in the header will overwrite the first 64-bytes of the executable, the first time it's invoked Is this a problem for anti-virus/other security measures? My understanding is, executables that manipulate themselves is something any security software will look for. Though perhaps the answer is "don't rely upon security software to police your system; do it yourself"
Re: αcτµαlly pδrταblε εxεcµταblε
#278Earlier quoted context omitted.
Go tried to break the rules and call macOS syscalls directly (like they do on Linux, because Go is a massively NIH language so they don't use libc where they can get away with it) and it bit them hard when an OS update broke all Go apps.
If Apple broke every Go program, then that's on Apple. Why are people blaming the victim? Go didn't do anything wrong. Apple came back in the late nineties, in part, because they copied and pasted the magic numbers from the Bell System Five codebase, e.g. 1 for exit(), etc. Capitalizing on UNIX popularity helped Apple succeed. So they shouldn't treat Bell Labs technologies like it's their own implementation detail. F…
While I wan't around in the nineties, I'm curious how syscall numbering helped Apple's success. I'm sure System-V ABI when they switched to 64-bit Intel was probably a nice bonus, but system call numbers?
Re: αcτµαlly pδrταblε εxεcµταblε
#279I believe that scripts without a shebang line cannot be executed by execve. They will only run if the shell sees them before the kernel does. It's an annoying limitation of this approach and it wasn't clear to me whether this technique includes a workaround for this. Also the push for code signing everywhere is going to make this harder in the future as well. (I heard a rumor that the workaround to run unsigned execu…
Author here. I considered doing that. Then I learned about things like how MSVC 2017 would wrap the main() function of C programs with telemetry. The push for code signing, retpoline, aslr, etc. worries me too, from a software freedom standpoint, and the same goes for how difficult it's become to build native software from scratch, thanks to the shift from autotools to a whole new set of competitors like bazel, cmake…
What's the issue specifically? I've never had a good Autotools experience (granted, I wouldn't reach for Bazel or CMake either--the whole build tool ecosystem is in desperate need of innovation IMO and probably the nicest things are Nix or Guix).
Re: αcτµαlly pδrταblε εxεcµταblε
#280Earlier quoted context omitted.
"actmally rdrtable execmtable" that's more or less how it reads to someone who knows the Greek alphabet :-D (I might be partially wrong because I've studied Greek many years ago and my memory is not good)
That's an English p, not a Greek ρ.