Thanks Gordon for you answers,
"but you'd have to rewrite it even if the new VM ran AS3 because the new
VM doesn't have DisplayObject or Event"
Such features can be emulated in short term before rewriting the
framework without them.
But rewrite the whole codebase because of synax changes is much more
work to get done.
Is it a stupide idea to use Falcon to transcode from AS3 to AS4 and then
compile AS4 with adobes compiler? (if we emulate or drop the native
features that disappeared)
Is it realistic or a large amount of work to do?
I know its not good practice to try to code in AS3 for an AS4 vm with
different patterns, but it can be a short term solution if we need to
target the new runtime rapidly.
If flex is multi target though, we won't be able to get a generic
language that can fit to every target patterns we want.
And with pragmatism in mind, flex is AS3 today, so we have to deal with
AS3 for quite a time.
Gordon, another question that may be stupid.
Is it realistic to use falcon to transcode flex codebase from AS3 to any
other language, and be able to use this generated code as the new
codebase for Apache flex?
again, features like Events, or Display aside.
Thanks
Regards,
Le 20/10/2012 00:11, Gordon Smith a écrit :
So the only way to make flex run on the new VM is to rewrite the SDK code, and
with no easy way to do so?
Yes, I think so, but you'd have to rewrite it even if the new VM ran AS3
because the new VM doesn't have DisplayObject or Event!
Do you know if the next AIR runtime will only work for AS4?
Sorry, I don't know the plans for AIR.
- Gordon
-----Original Message-----
From: sébastien Paturel [mailto:sebpatu.f...@gmail.com]
Sent: Friday, October 19, 2012 3:02 PM
To: flex-dev@incubator.apache.org
Subject: Re: To AS4 or not
So the only way to make flex run on the new VM is to rewrite the SDK code, and
with no easy way to do so?
Do you know if the next AIR runtime will only work for AS4?
Le 19/10/2012 23:53, Gordon Smith a écrit :
I think this would be difficult as the new VM is not designed to run AS3.
- Gordon
-----Original Message-----
From: sébastien Paturel [mailto:sebpatu.f...@gmail.com]
Sent: Friday, October 19, 2012 2:50 PM
To: flex-dev@incubator.apache.org
Subject: Re: To AS4 or not
and using Falcon to compile AS3 to generate new VM bytecode?
is it more realistic to achieve?
Le 19/10/2012 20:54, Gordon Smith a écrit :
Gordon, Adobe AS4 compiler won't be open sourced but would it be possible to
adapt Falcon to target the new VM?
Yes, it would be possible. Falcon/ASC 2.0 was the starting point for Adobe's
development of an AS4 compiler. But it's been many developer-years of work for
us and it isn't trivial. ActionScript is more complex than MXML.
- Gordon
-----Original Message-----
From: João Fernandes [mailto:joaopedromartinsfernan...@gmail.com]
Sent: Friday, October 19, 2012 10:53 AM
To: flex-dev@incubator.apache.org
Subject: Re: To AS4 or not (was: Re: ASC 2.0 and Falcon)
Alex, couldn't we simply use AS4 and have multiple target platforms ?
Gordon, Adobe AS4 compiler won't be open sourced but would it be possible to
adapt Falcon to target the new VM?