a bit late to the party, but how hard would it be to adapt it to linux or mac? The assembly part should be the shame, isn't it? (ignoring non-intel macs)
I already ported it to Linux... Here's a link to my hackernews post: https://news.ycombinator.com/item?id=27565708
I decided not to use inline assembly for the linux version (since I absolutely hate how gcc does inline). So the assembly routines are in .asm files which are assembled by nasm and linked in.
I don't know about Mac. Mac OS (not original Mac OS though) is based on Unix/Linux, so it might not be hard to do, don't know. Someone told me Macs now typically have x86 based CPUs (though that will probably change soon), so the assembly shouldn't be a problem.
I don't know about Mac. Mac OS (not original Mac OS though) is based on Unix/Linux, so it might not be hard to do, don't know. Someone told me Macs now typically have x86 based CPUs (though that will probably change soon), so the assembly shouldn't be a problem.