Well I'm not sure that is such great news. And what other "compile to JS" thing did they try with such problems. I personally really minimise what Haxe JS is: if they would consider es6/babel or typescript, and/or spaghetti systems like webpack, then Haxe JS is nothing ridiculous or risky. It is even arguably much easier to learn for people with former AS3 or Java experience.
Openfl on the other hand is OK in the hands of a team with strong C++ experience. Like TiVo for instance. But AFAIK Prezi doesn't use openfl: last time they talked about it, it was Haxe JS in the browser, and classical native mobile apps with a Haxe JS core to process their presentation models.
Philippe
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
It's hard to say without seeing code base, but if you have stuff in feathers, you probably should rewrite it anyway, my experiance is that it's often inflexible and buggy, I have been moving a lot of feathers components to custom renderTexture structure and using less inheritance with flat displayobject structure using maybe nested control structures only, certainly the first step is to stop inheriting Sprite all the time and to move away from using EventDispatcher, some form of macro signal is lightly to be far lighter, and more and more global oldschool mouse/touch events seem more reliable to use with starling than the built in ones that seem to not work well without inheritance and that approach may well be simpler to work like Kha for instance.
For the data layer, with haxe remoting or http://haxe.org/manual/std-Json-parsing.html both front end and backend you may find it much easier to throw away the loading code and perhaps some of the models for something simpler and more efficient, it's my experiance that when two languages are involved the interface between them is sometimes widly complex and seems to leave my brain aching and desparate when with pure haxe I could just remote the infomation fully structured without missing data and avoid many parsing mistakes.
So once you start moving your code to never inherit display objects, use signals or function communication - you will end up with a project that could be ported to NME, Luxe, Flambe or even Kha. Non flash apps are often more image / textfield based without the inheritance sprite, even looking at starling the basic stuff is just images and text, so it's about flattening your graphics rendering structures and only building abstract control structures instead that are not flash specifc, like using a single renderTexture to draw a scroller of pages of images/text, most targets like lime, snow, kha with have something like a rendertexture.
Once you have the code in a less Sprite centric structure and have removed large enterprise frameworks like robotlegs, that will be a pain to port and are probably just crutches, then you can start moving code to Haxe and compiling it as a swf/swc that is compiled within your as3 application.
Certainly it's viable to create projects that can run on multiple cross target Haxe solutions you only have to look at the work me and another haxe collegue have done on porting Daedalus from as3 to Haxe ( hxDaedalus ) with it now running on luxe, flambe, swing, canvas, openfl, nme, svg, and that was quite a vector drawing project, which kind of why yet to create a Kha version, as may need to think more triangles and more about the approaches in general. Certainly it's not ideal approach but you can build up toolsets that allow flexibility especially if you share them with community.
Anyway these are just suggested approaches based on my own work, I am still working on the management where I work to give Haxe a proper chance, they seem a bit more interested when I chatted to them at the christmas party, especially as we seem to have a developer for every target, half of them being expensive freelancers far better if we atleast modulized some of the ip into NME modules for the mobile targets and perhaps luxe or haxe js svg for js - or whatever haxe framework seems stable and efficient.
That's the great aspect about Haxe you don't have to commit fully, you can just create some modules that provide cross target functionality.
Best of luck with your exploration of Haxe.
Justin
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.