[flagged]
Show HN: I wrote a Java decompiler in pure C language
11–20 of 104 posts
Re: Show HN: I wrote a Java decompiler in pure C language
#12Very cool project! Love the idea of a Java decompiler written in C — the speed must be great. Any plan to support `.dex` in the future? Also curious how you handle inner classes inside JARs.
It seems someone liked it and made a "v2" along with LSP support https://github.com/A-LPG/LPG2#lpg2
Re: Show HN: I wrote a Java decompiler in pure C language
#13Very cool project! Love the idea of a Java decompiler written in C — the speed must be great. Any plan to support `.dex` in the future? Also curious how you handle inner classes inside JARs.
Re: Show HN: I wrote a Java decompiler in pure C language
#14Very cool project! Love the idea of a Java decompiler written in C — the speed must be great. Any plan to support `.dex` in the future? Also curious how you handle inner classes inside JARs.
Re: Show HN: I wrote a Java decompiler in pure C language
#15By hand or with AI? Fascinating. So much work! What was your motivation for this?
Re: Show HN: I wrote a Java decompiler in pure C language
#16By hand or with AI? Fascinating. So much work! What was your motivation for this?
90% by hand, 10% AI. I do this for fun and to learn about jvm.
Re: Show HN: I wrote a Java decompiler in pure C language
#17[flagged]
Re: Show HN: I wrote a Java decompiler in pure C language
#18Earlier quoted context omitted.
LLMs can explain the process, and you can build projects with LLMs explaining the process.
LLMs can attempt to explain the code, but it can't explain people's thought process and that's the interesting part. I want to hear about the reverse engineering, how you thought the code through. LLMs are boring.
Re: Show HN: I wrote a Java decompiler in pure C language
#19Re: Show HN: I wrote a Java decompiler in pure C language
#20Very cool project! Love the idea of a Java decompiler written in C — the speed must be great. Any plan to support `.dex` in the future? Also curious how you handle inner classes inside JARs.
I am writing the part of decompiling dex and apk. The current speed is about 10 times faster than that of Java, and it takes up less resources than Java. And the compiled binary is smaller, only about 300k. Thank you for your attention.
$ ./objdir/garlic $the_jar_file -o out-dir -t $(nproc)
Progress : 85 (1024)Segmentation fault: 11