2 ms·
Fun aside, I once wrote a JVM AOT [0]. Instead of compiling to low level code and building my own GC and runtime, I just transpiled to Go. And it worked, but th
by kodablah 9y ago
Fun aside, I once wrote a JVM AOT [0]. Instead of compiling to low level code and building my own GC and runtime, I just transpiled to Go. And it worked, but the Go compiler couldn't handle it well[1] so I started trimming identifier names and shortcutting JRE libs to use Go versions. It became tedious so I gave up. I should revisit that project one day, heh.
0 - https://github.com/cretz/goahead https://github.com/cretz/goahead
1 - https://github.com/golang/go/issues/18602 https://github.com/golang/go/issues/18602