4 ms·
I didn't know offhand before checking, but it seems that there are assemblers for Java bytecode: "Some projects provide Java assemblers to enable writing Java
by perl4ever 5y ago
I didn't know offhand before checking, but it seems that there are assemblers for Java bytecode:
"Some projects provide Java assemblers to enable writing Java bytecode by hand. Assembly code may be also generated by machine, for example by a compiler targeting a Java virtual machine. Notable Java assemblers include:
Jasmin, takes text descriptions for Java classes, written in a simple assembly-like syntax using Java virtual machine instruction set and generates a Java class file
Jamaica, a macro assembly language for the Java virtual machine. Java syntax is used for class or interface definition. Method bodies are specified using bytecode instructions.
Krakatau Bytecode Tools, currently contains three tools: a decompiler and disassembler for Java classfiles and an assembler to create classfiles.
Lilac, an assembler and disassembler for the Java virtual machine"
https://en.wikipedia.org/wiki/Java_bytecode https://en.wikipedia.org/wiki/Java_bytecode
- teddyh 5y agoIf this was, say, somewhere betweeen 1997 and 2005, I might have said JVM bytecode. But Java bytecode is no longer generally assumed to be the byte code of the future. Therefore, I chose WebAssembly instead, and added a caveat about how this might change.
- perl4ever 5y ago>If this was, say, somewhere between 1997 and 2005 You expect Groovy, Kotlin, Scala, Clojure to run on WebAssembly soon? https://en.wikipedia.org/wiki/List_of_JVM_languages https://en.wikipedia.org/wiki/List_of_JVM_languages
- teddyh 5y agoI expect those languages to remain niche languages as long as they depend on the JVM.
- perl4ever 5y agoI have not tried to program in any of them except Kotlin, and I had an immediate allergic reaction to that. However, all of them seem to be common enough I've heard of them before looking at the JVM wikipedia page, and it seems like Google is committed to Kotlin for Android going forward. And all of them except Scala seem to have originated after the timeframe mentioned above. I don't have a strong contrary opinion to yours; I just don't see where yours is coming from.