Why is there so much skepticism in this. I am also trying to develop something like this by creating a embedded in-process web (resource) server ever where (android/iphone/wp7*/linux/win/osx), then we need to use web technology using jquery mobile with backend rpc to develop the application which should make it cross platform as well native deployed. I am developing this to simplify my clients cross platform headache…
Software has two symbols? I'm not sure what the analogy is, but the best I can think of would be either opcodes or functions, and pretty much everybody has a lot more than two.
HaXe - Code Once. Deploy Everywhere.
41–50 of 62 posts
Re: HaXe - Code Once. Deploy Everywhere.
#42This is a multiplatform API for 2D games. It runs as native Dalvik code on Android with a GL backend. On the Web, it runs as JS using GWT for compilation, and either a Canvas or a WebGL backend. For flash, it uses the http://code.google.com/p/gwt-flash addon for the GWT compiler to produce SWFs. For iOS, it uses iKVM to run Java bytecode on Monotouch. I believe the same code can also run on the XBox and perhaps Windows phone. Box2D is builtin.
See http://www.youtube.com/watch?v=VtwUyu7UzcM for http://www.youtube.com/watch?v=F_sbusEUz5w for a longer presentation I did at Google I/O.
Re: HaXe - Code Once. Deploy Everywhere.
#43I recently wrote a haXe version of "Pirate Pig", a sample game originally written for Enyo in JavaScript. It took me about a day of work to write, and it went straight to webOS, Android, Windows, Linux, Linux 64-bit, Flash, Mac and the iOS simulator.
It would have gone to an actual iOS device, too, but I was too lazy to pull out my iPod Touch.
If you are interested, please feel free to view the game online, in the webOS App Catalog, Android Market or downloadable. All the source code and assets are available, too:
http://www.joshuagranick.com/blog/2012/02/22/nme-game-exampl...
I am very thankful for haXe, which makes the NME project possible. The great part is that it really works.
Re: HaXe - Code Once. Deploy Everywhere.
#44Earlier quoted context omitted.
Software has two symbols? I'm not sure what the analogy is, but the best I can think of would be either opcodes or functions, and pretty much everybody has a lot more than two.
What i meant was software is based on binary
0110100101100110001000000111100101101111011101010010000001100011011000010110111000100000011101000111001001100001011011100111001101101100011000010111010001100101001000000111010001101000011010010111001100100000011101110110100101110100011010000110111101110101011101000010000001101100011011110110111101101011011010010110111001100111001000000110100101110100001000000111010101110000001011000010000001110100011010000110010101101110001000000110100100100111011011000110110000100000011000100110010101101100011010010110010101110110011001010010000001111001011011110111010100100000011010110110111001101111011101110010000001110111011010000110000101110100001000000111100101101111011101010010011101110010011001010010000001110100011000010110110001101011011010010110111001100111001000000110000101100010011011110111010101110100
;)Re: HaXe - Code Once. Deploy Everywhere.
#45Earlier quoted context omitted.
What i meant was software is based on binary
011010010110011000100000011110010110111101110101001000000110001101100001011011100010000001110100011100100110000101101110011100110110110001100001011101000110010100100000011101000110100001101001011100110010000001110111011010010111010001101000011011110111010101110100001000000110110001101111011011110110101101101001011011100110011100100000011010010111010000100000011101010111000000101100001000000111010001101000011001010110…
Re: HaXe - Code Once. Deploy Everywhere.
#46Earlier quoted context omitted.
011010010110011000100000011110010110111101110101001000000110001101100001011011100010000001110100011100100110000101101110011100110110110001100001011101000110010100100000011101000110100001101001011100110010000001110111011010010111010001101000011011110111010101110100001000000110110001101111011011110110101101101001011011100110011100100000011010010111010000100000011101010111000000101100001000000111010001101000011001010110…
mind putting a space in that comment? you're breaking the layout
Re: HaXe - Code Once. Deploy Everywhere.
#47Earlier quoted context omitted.
Would you be so kind as to post that experience here?
Sure! * The Haxe C++ output is very solid. Sometimes there are compiler errors that you have to reverse engineer, like for when you use a try{} without a catch{}, which is valid in Haxe, but throws an error in C++. It's relatively easy though; the C++ output contains which haxe file and line number each line is from, and it has never taken more than a minute or two to figure out what's going on. There has only been o…
Re: HaXe - Code Once. Deploy Everywhere.
#48"multi-platform. code once. deploy everywhere." wow, that claim makes me feel old. i've lost track of how many existing/legacy ways we have to write once, deploy anywhere, multi-platform apps. it's like what they say about the great thing about universal ultimate standards: there are so many to choose from!
Indeed, this was the promise of C, and it was largely realized: there are C compilers for almost every platform. (You can even use Emscripten to "compile" C to JavaScript, but don't expect miracles.)
Kernighan, Richie, UNIX and C.
Or to take more lighthearted - If there really was promise, there would've not been need for a preprocessor.
Re: HaXe - Code Once. Deploy Everywhere.
#49Ah, "code once. deploy everywhere." Few examples of marketing to engineers spark quite the same level of skepticism as this oft-repeated claim. Ignoring, for a moment, the complexity of deploying software across multiple platforms, it's important to remember the multiple form-factor problem. The same software doesn't work from a user's standpoint on multiple platforms if the UI isn't correct for that device. The best…