Re:ngn/k, an AGPL K interpreter
by saagarjha on Friday January 10, 2020 @04:51AM
(#22009772)
Portably? No.
[ Parent
| on HN ]
Given that the interpreter makes system calls directly using inline assembly [1], I suspect that any hope of portability went out the window long ago.
[1]: https://bitbucket.org/ngn/k/src/b54eb5cfea5eb821fe1de68d2a8a...
across architectures: you're right, as of now it's x86_64 only
across operating systems: it works on linux and freebsd as-is (thanks bakul), and with a few changes on windows+libc (thanks ktye) - https://github.com/ktye/i/tree/master/_/ngn though i personally never use windows