I've successfully used RoboVM to ship native linux binaries from jvm bytecode, in addition to the headlining cross-platform-mobile features. It's fantastic. It worked pretty much out-of-box with a few commands from the Getting Started page. And as for performance: startup time is impressive: an order of magnitude faster than launching a jar in the jvm, such that you can actually use it in the middle of other shell sc…
RoboVM: Native iOS apps in Java
51–60 of 64 posts
Re: RoboVM: Native iOS apps in Java
#52Can anyone compare this to Xamarin in terms of features/stability/workflow ? Xamarin is .NET/C# which is arguably nicer than Java but its also not too cheap if you just want to play around with stuff.
It's unsure what is going to happen after the MS takeover though. I keep hoping for MS being nice for a bit :) What would we be without hope...
Re: RoboVM: Native iOS apps in Java
#53Can anyone compare this to Xamarin in terms of features/stability/workflow ? Xamarin is .NET/C# which is arguably nicer than Java but its also not too cheap if you just want to play around with stuff.
If you just want to play around then take note that the starter plans are free [1].
Re: RoboVM: Native iOS apps in Java
#54I have just finished porting my Android game Superior Tactics ( https://play.google.com/store/apps/details?id=org.jrenner.su... ) to iOS using RoboVM. It's amazing to me that I can write my game completely in Java and get a performant AOT compiled version that runs on iOS. RoboVM really is amazing for indie game devs, and it's open source. I've already donated around $300 to the project. I've also done tests to see i…
> native UI concerns mean you can just publish the same thing to both Android and iOS That's a myth often seen in "deploy everywhere" mobile dev tools, in reality the design habits/guidelines between the two platforms have a lot of difference and you need a separate UI layer for each more often than not. Doesn't change the awesomeness of RoboVM, but it had to be said.
Phonegap is a great tool for writing code once (html5 & javascript) & deploying to many platforms with native capabilities.
I suspect it's not quite there for games, however it has great performance for most CRUD apps.
---
Re: RoboVM, I suspect there will be libraries that will properly use iOS-like UI. Some logic branches will be required, however the main flow is centralized and DRY.
---
There's also cross platform, openGL based tools. If you are making an openGL game, you minimize your need to use the native UI.
Re: RoboVM: Native iOS apps in Java
#55Earlier quoted context omitted.
It's unsure what is going to happen after the MS takeover though. I keep hoping for MS being nice for a bit :) What would we be without hope...
> MS takeover [citation needed]
Re: RoboVM: Native iOS apps in Java
#56Re: RoboVM: Native iOS apps in Java
#57Re: RoboVM: Native iOS apps in Java
#58I've successfully used RoboVM to ship native linux binaries from jvm bytecode, in addition to the headlining cross-platform-mobile features. It's fantastic. It worked pretty much out-of-box with a few commands from the Getting Started page. And as for performance: startup time is impressive: an order of magnitude faster than launching a jar in the jvm, such that you can actually use it in the middle of other shell sc…
Hm, seems documentation for for targeting Linux as a build target is missing? Or am I just looking in the wrong place?
Re: RoboVM: Native iOS apps in Java
#59I've successfully used RoboVM to ship native linux binaries from jvm bytecode, in addition to the headlining cross-platform-mobile features. It's fantastic. It worked pretty much out-of-box with a few commands from the Getting Started page. And as for performance: startup time is impressive: an order of magnitude faster than launching a jar in the jvm, such that you can actually use it in the middle of other shell sc…
I'm pretty sure the Boehm GC isn't heap compacting. It at least didn't used to be, and if it is it works in some way I cannot fathom, as I'm not sure how you can compact the heap without changing the value of pointers, which the Boehm GC cannot do safely. That said it's still a very good GC and you should be fine. (It does try to minimize fragmentation in other ways, but nothing is as effective as heap compacting.)
If I understand correctly, when used in "precise" mode, the Boehm GC is capable of compacting. Mono north of version 2.8 also claims to be heap compacting by virtue of Boehm in precise mode.
Re: RoboVM: Native iOS apps in Java
#60I've successfully used RoboVM to ship native linux binaries from jvm bytecode, in addition to the headlining cross-platform-mobile features. It's fantastic. It worked pretty much out-of-box with a few commands from the Getting Started page. And as for performance: startup time is impressive: an order of magnitude faster than launching a jar in the jvm, such that you can actually use it in the middle of other shell sc…
Hm, seems documentation for for targeting Linux as a build target is missing? Or am I just looking in the wrong place?
It's actually what you get when building on linux with no special args: the default behavior is to produce a binary for the current operating system and architecture.
Thereafter, if you want to get fancier and target other specific systems, there are options for "-os", "-arch", and "-cpu"; you can find some description of them in the default usage help message from running `robovm` with no commands.