Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (798)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  CAVA - Java AOT Compiler  (Read 984 times)
0 Members and 1 Guest are viewing this topic.
Offline cava

Junior Newbie


Medals: 5



« Posted 2019-09-03 18:49:01 »

I'm trying to develop java bytecode to c transpiler especially for game development needs.
Project was named "Cava" and lives at https://github.com/mozsakalli/Cava
Project's goals are :
1- Keep executable size as small as possible to have much room for assets. (Simple hello world for Ios is about 1Mb)
2- Must support java exceptions for crash reporting. (Almost working)
3- A debugger is a must for bug free games Smiley (Not perfect but working as Jdwp Server)
4- Integration with popular IDE's (Planning)

Cava Libgdx backend and CocoaTouch integration is under heavy development under dev branch.

Any suggestions, bug reports etc are welcomed...
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2019-09-03 19:09:47 »

A worthy and noble effort!

Cas Smiley

Offline ddyer
« Reply #2 - Posted 2019-09-04 06:40:59 »


I'm a little puzzled - what environments have good C compilers but don't have java ports?  What kinds of java applications do you anticipate will use this? 

Cross compiling java to something else is a fine exercise, has been done multiple times, and in some cases the result is a real asset.  But you have to have a plan for the whole ecosystem, not just the user code.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2019-09-04 09:59:14 »

This is an AOT solution, so whether there is a traditional Hotspot JVM available is neither here nor there.

Cas Smiley

Offline ddyer
« Reply #4 - Posted 2019-09-04 15:22:11 »

You missed my question - what is this intended to be used for, that is not already well
served by conventional java environments.
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #5 - Posted 2019-09-04 15:33:12 »

Presumably places for which a conventional Java environment is cumbersome. Android for example (which is where it originates as it happens), or iOS. Playstation. I don't know! Anywhere where it's C or bust.

Cas Smiley

Offline CommanderKeith
« Reply #6 - Posted 2019-09-05 08:36:40 »

Commendable work.
I note that the author says compiler in the subject heading but transpiler in the main text.
I think ddyer has compiler in his mind.
A java language to C language transpiler is obviously a lot more realistic and useful than a compiler.

Offline ddyer
« Reply #7 - Posted 2019-09-06 16:37:51 »

Repeat: compiling the java code you wrote as C is 1% of the problem.  What replaces JRE?
Offline princec

« JGO Spiffy Duke »


Medals: 1107
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #8 - Posted 2019-09-06 16:53:51 »

Doubtless a supporting library of useful stuff.

Cas Smiley

Offline ddyer
« Reply #9 - Posted 2019-09-07 16:46:17 »

Do you realize how many million lines of code and thousands of man years are in that "other stuff"?  Anyway, enough of our idle speculation, I'm hoping to hear from the OP.
Pages: [1]
  ignore  |  Print  
 
 

 
Riven (81 views)
2019-09-04 15:33:17

hadezbladez (4331 views)
2018-11-16 13:46:03

hadezbladez (1543 views)
2018-11-16 13:41:33

hadezbladez (4454 views)
2018-11-16 13:35:35

hadezbladez (863 views)
2018-11-16 13:32:03

EgonOlsen (4151 views)
2018-06-10 19:43:48

EgonOlsen (4854 views)
2018-06-10 19:43:44

EgonOlsen (2803 views)
2018-06-10 19:43:20

DesertCoockie (3707 views)
2018-05-13 18:23:11

nelsongames (3998 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!