Possible to translate in native code?
peking_expres

Hey there! WADE 1.0  WOW!

Great work there guys. I'm excited about all this new things.

However, is there any chance that in the future, WADE will translate into native code of iOS, Java, C#, etc  as well?

Making HTML5 apps is fun, but it would be even cooler to be able to put our apps in the different stores in native code and not having to 'cloak' it with Phonegap or something like that.

I saw that the Monkey language is offering HTML5 for free, and have an upgrade of $99,- to get translation to native code of the different target platforms. Would be really nice if WADE would offer something like this in the near future.

What's the general feeling about this?

All 3 Comments
hermes

I have never tried monkey, but I think that if your game's performance is good enough with an HTML5 wrapper, then why translate your code to a different language?

 

Maybe using something like cocoon.js that provides hardware acceleration would be enough?

peking_expres

Thanks for the quick reply.

Yes, something like cocoon.js does provide a lot of features incuding the hardware acceleration.

I will look into it and try out some tests.

But as a developer, I don't like the idea of my sourcecode going into the cloud and being magically transformed there.

Personally, I'd prefer to be able to translate into native offline, based on a paid 'pro' version.

I cannot find the way how cocoon.js / Ludei makes money out of this, which always makes me weary...

Gio

Hi

 

I can see why it would be convenient to have an offline solution to convert your html5 app into an android / ios product, and your concerns are perfectly understandable.

 

There are some very good 3rd party solutions (that work with javascript code in general, not specifically WADE). I think it's unlikely that we will roll out our own code translator in the near future, but I think it's extremely important that we make it as simple as possible for you to achieve this with existing tools, integrating WADE with them and simplifying the process as much as we can.

 

If you want to translate javascript to another language, the best option is possibly Mozilla's Rhino JavaScript compiler, that translates it to java.

 

However, if I had to port to native, I would just build an actual native app with only a WebView, and navigate internally to my WADE web app. This is quite easy to achieve, but even simpler would be using the new CrossWalk, which is looking very promising, and lets you do everything offline. At the moment it only supports Android and Tizen though.

Post a reply
Add Attachment
Submit Reply
Login to Reply