English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   Amiga scene (http://eab.abime.net/forumdisplay.php?f=2)
-   -   some sort of Java for a Amiga (http://eab.abime.net/showthread.php?t=100456)

utri007 17 January 2020 12:17

some sort of Java for a Amiga
 
http://www.mikekohn.net/micro/amiga_java.php

Java Grinder is not a JVM, but instead translates byte-code from Java .class files into native assembly code much like a JIT or an "ahead of time" compiler.

Wondering how usefull this is?

Samurai_Crow 17 January 2020 12:24

Java Classpath is the runtime library. It's the hard part. Bytecode translation isn't easy either but you need both to run real Java applications.

clebin 17 January 2020 12:31

Quote:

Originally Posted by utri007 (Post 1372161)
http://www.mikekohn.net/micro/amiga_java.php

Java Grinder is not a JVM, but instead translates byte-code from Java .class files into native assembly code much like a JIT or an "ahead of time" compiler.

Wondering how usefull this is?

I saw this on OSNews and thought it was pretty damn cool.

Check out the code samples:

https://github.com/mikeakohn/java_gr.../samples/amiga

I'm definitely going to have a play with this and see if it's an option for my next game, and what the speed penalty is.

Steril707 17 January 2020 12:55

That's really nice.. :)

(would even love it more, if it were C#, since I use that for all of my game dev tools.. ;) )

gimbal 17 January 2020 14:39

It's cute to call that "Java" but it's only a subset of the language, the API is completely custom by the looks of it and you won't be able to use any of the platform tools such as the debugger.

Really cool technology though!

mikeakohn 18 January 2020 18:24

Quote:

Originally Posted by gimbal (Post 1372191)
It's cute to call that "Java" but it's only a subset of the language, the API is completely custom by the looks of it and you won't be able to use any of the platform tools such as the debugger.

Really cool technology though!

The demo is coded in Java and compiled by the standard JDK javac. The API for sure isn't J2SE, but neither is J2ME or Android.

Steril707 18 January 2020 18:37

Quote:

Originally Posted by mikeakohn (Post 1372433)
The demo is coded in Java and compiled by the standard JDK javac. The API for sure isn't J2SE, but neither is J2ME or Android.

Really nice job, Mike!

Amiga needs more modern stuff like this... :)

DrBong 18 January 2020 19:08

Awesome stuff Mike! :great It constantly amazes me what demo coders are extracting from the likes of the C64 and standard A500/1000 these days.

mikeakohn 18 January 2020 23:07

Thanks! And thanks for posting and discussing the project :).

Speaking of C64... one of my friends (Joe Davisson) extended Java Grinder for 6502 and created a C64 and more impressive a full Atari 2600 game. There are some links on the Java Grinder main page:

http://www.mikekohn.net/micro/java_grinder.php


All times are GMT +2. The time now is 13:03.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.04235 seconds with 11 queries