Sorry but we're not in 2017. It will probably be possible in WASM with TeaVM but i don't really know how performant would that be. But it supports many platforms and many more can be ported because it uses java.