3 ms·
Portably? No.
by saagarjha 7y ago
Portably? No.
- duskwuff 7y agoGiven 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/b54eb5cfea5eb821fe1de68d2a8ad4b97f88e765/k.h#lines-63 https://bitbucket.org/ngn/k/src/b54eb5cfea5eb821fe1de68d2a8a...
- ngnk 7y agoacross 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 https://github.com/ktye/i/tree/master/_/ngn though i personally never use windows