I'm exploring the feasibility of porting Lucene to wasm. I have absolutely no experience in WebAssembly but from what I read, Java apps (or any VM language) seem to be more challenging than non-VM languages. Even though Lucene has been ported to other languages, I would ideally like to port it from Java.
Is it possible to port Lucene (Java edition) to wasm without too much work? If yes, which "interpreter" would be the most appropriate? I've heard of TeaVM, CheerpJ and JWebAssembly.
Where should I start?