Rewriting Mach in AppleScript?!
Wondering about this blog post from 2002, in which the author claims to have rewritten the Mach kernel in AppleScript and even booted it:
My first tries at getting a running my Mach kernel failed miserably but I learned quickly from my mistakes. The running cuts were abysmally slow, worse even than OS X itself, and I almost gave up the project then. But after compiling my code, things picked up ten-fold. With the speed problem hurdled, I set about tweaking my AppleScript code for talking to the hardware. This is where knowing how to use Apple's Vector Engine libs and Motorola's AltiVec calls came in handy, and before I knew it I had something that ran considerable faster than the native kernel it was being developed on!
The rest is at http://www.trollaxor.com/2002/06/applescript-experience.html. I’ve never heard of being able to write a kernel in AppleScript, let alone optimizing it for special instructions/registers. AppleScript is totally abstracted from hardware, right? What the fuck? Eric _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Boyer