Re:From Java to Go, and Back Again (2016)
by guitarbill on Saturday June 23, 2018 @03:04PM
(#17382811)
I get the sense you're being contrarian. Op isn't saying it's the best choice, but being in that field, you should know that even those things people have tried to do and sometimes done with Java. For example, Java-based smart cards or Java Micro Edition.
These guys think otherwise
https://www.ptc.com/en/products/developer-tools/perc
https://developer.android.com/things/
Of course it isn't suited when trying to fit something into PIC with 64KB.
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.
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.
Re:From Java to Go, and Back Again (2016)
by calgaryeng on Saturday June 23, 2018 @03:04PM
(#17382810)
Your comment seems largely unnecessary.
I do bare metal/low level embedded, kernel drivers, and occasionally shared libraries. Java is useless for practically all of my typical use cases.