From bahram.yarahmadi at gmail.com Mon Dec 21 08:29:15 2015 From: bahram.yarahmadi at gmail.com (Bahram Yarahmadi) Date: Mon, 21 Dec 2015 00:29:15 -0800 Subject: Java 8 ByteCodes to LLVM IR Message-ID: Hello dudes I am currently involved in research project and I want to convert Java Bytecode to LLVM IR as a first step of my research project Does Shark and zero project have the ability to convert Java bytecode to LLVM IR by any chance? Is it possible for me to do it with your tool ?(at least with a little modification) Thanks alot -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan at azulsystems.com Mon Dec 21 10:03:17 2015 From: ivan at azulsystems.com (Ivan Krylov) Date: Mon, 21 Dec 2015 13:03:17 +0300 Subject: Java 8 ByteCodes to LLVM IR In-Reply-To: References: Message-ID: <5677CE65.90401@azulsystems.com> Hi Bahram, Yes, it has been done a few times by now. Shark is a good starting point. The main difficulty is not the translation into IR itself but interaction of the LLVM-compiled code with the Runtime and the Garbage Collectors. But if in the scope of your research project if you can live without GC and do a few other simplifications, than it should not be hard. And, yes, java8 bytecodes are not different from java7 bytecodes since the last new bytecode being added was "invoke dynamic" back in 2011. Thanks, Ivan On 21/12/2015 11:29, Bahram Yarahmadi wrote: > Hello dudes > I am currently involved in research project and I want to convert Java > Bytecode to LLVM IR as a first step of my research project > > Does Shark and zero project have the ability to convert Java bytecode > to LLVM IR by any chance? > Is it possible for me to do it with your tool ?(at least with a little > modification) > > > Thanks alot -------------- next part -------------- An HTML attachment was scrubbed... URL: