i think you miss the distinction between a language and its libraries.
From my understanding the core language will provide most features that
are available from each of the supported targets, but if you want to make
use of specific parts of the target platform then you will need to use its
libraries.
Features such as E4X and regex are part of the core ECMA language, and are
not part of the Flash's API-s or HTML API-s.
My question is: will those be missing from haXe or not? And if not, how can
haXe be compatible with Flash 6/7/8 when these won't work there (or will
work very very slow, emulated with bytecodes).
The time saved on having the same syntax for DHTML/Server/Flash might be
easily be lost by the lack of the productivity features specific to each
language.
And another problem is that I end up duplicating a lot of concepts and
code that represent data and business processes (which generally have
little dependencies on target specific libraries).
Sure some of this can be automated, but I really like the idea of being
able to create my value objects once, in one language. Same with business
processes and other application logic.
AS3 is 100% ECMA 4 compliant (portable profile), JS itself is the base of
the ECMA spec. And there are several existing JS engines that work on the
server side.
haXe is not 100% ECMA compliant, it's ECMA based, but what it is, isn't
exactly standards compliant. Have the haXe devs never though we'll have to
port our code from AS/JS to haXe in first place so to take advantage of the
shared language platform?
personally i think its a great idea. Its not for everyone of course and
you are right in that there is a certain barrier to using some aspects of
it as its not yet likely to be found as part of some cheap hosting deal,
but for those of us who have control of our deployment servers it offers a
great opportunity.
I also think it's a great idea, but the issue isn't in the idea, but
implementation: you may try to bring this idea closer to ECMA compliance to
make it more useful for the rest of us who don't want to give up on the
world to take benefit of haXe :)
I wish you luck with the platform and will be checking it out regularly :)
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com