implement a very basic kernel by adapting the IJulia kernel source