gk2 is a reimplementation of gk designed to be compatible with the high performance k-core from shakti
gk2 has a clean separation between the repl (read eval print loop) and the core k functions. There are currently two cores available:
- k.default: portable, compiles and runs on lin/win/mac
- k.shakti: extreme high performance on linux+avx512
To use the shakti core, change these lines in the toplevel makefile:
CORE=k.default
#CORE=k.shakti
make
make test
on windows, you have to build in a console with visual studio cli tools (cl.exe).