News for hackers. Stuff that matters.
Re:From Java to Go, and Back Again (2016) by repolfx on Saturday June 23, 2018 @05:00PM (#17383420)
Technically speaking you can build these things in Java. JNode is an OS written entirely in Java, including the drivers. You probably meant "drivers for linux/windows" though and yes, there it's not so useful.

You can also make shared libraries with Java these days. Look at SubstrateVM. It turns Java code into a .so file that doesn't depend on the JVM, compiled ahead of time, with a C API exported.

Re:From Java to Go, and Back Again (2016) by vardump on Saturday June 23, 2018 @06:11PM (#17383731)
Yes, there's very little in software development that's strictly impossible. Practicality is another matter.

> Look at SubstrateVM. It turns Java code into a .so file that doesn't depend on the JVM, compiled ahead of time, with a C API exported.

Thanks, will do. I've been mostly eyeing Webassembly for some "cross-platform shared object" use cases.