Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28C439046 for ; Fri, 13 Jan 2012 10:26:11 +0000 (UTC) Received: (qmail 20862 invoked by uid 500); 13 Jan 2012 10:13:40 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 20432 invoked by uid 500); 13 Jan 2012 10:13:08 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 20416 invoked by uid 99); 13 Jan 2012 10:13:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 10:13:04 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of david@davidarno.org does not designate 209.85.216.54 as permitted sender) Received: from [209.85.216.54] (HELO mail-qw0-f54.google.com) (209.85.216.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 10:12:54 +0000 Received: by qabj34 with SMTP id j34so943324qab.6 for ; Fri, 13 Jan 2012 02:12:33 -0800 (PST) Received: by 10.224.33.65 with SMTP id g1mr286823qad.98.1326449553475; Fri, 13 Jan 2012 02:12:33 -0800 (PST) Received: from wraith64 ([212.32.42.4]) by mx.google.com with ESMTPS id df3sm15774873qab.6.2012.01.13.02.12.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Jan 2012 02:12:32 -0800 (PST) From: "David Arno" To: References: In-Reply-To: Subject: RE: ActionScript and Apache Flex Date: Fri, 13 Jan 2012 10:14:02 -0000 Message-ID: <05b001ccd1dc$14073a10$3c15ae30$@davidarno.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGSN4qIidSSXjD9QTdH4KfE5uaDAgMluwSqlmYOW9A= Content-Language: en-gb X-Virus-Checked: Checked by ClamAV on apache.org --Original Message----- > From: Tink [mailto:flex@tink.ws ] > Sent: 12 January 2012 19:12 > > This could be a crazy idea, but how about us moving to Haxe? > This has an active OS community, compiles to multiple platforms already meaning > that Flex wouldn't be dependent on Adobe anymore. I looked into this before Christmas; I even spent time trying to improve existing AS3 -> haXe tools so that they could "compile" the existing Flex source. I did so as haXe already has support for compiling to JavaScript, in many ways it's a better language and it's compiler is fast. However my conclusions were that it would be a bad idea overall. The advantages that haXe could bring us (better language; faster compilation) are now things we can add to the Falcon compiler when we get our hands on it. I think it would look odd to the wider community if we walked away from our own compiler (and Flex's current language) to adopt a relatively unknown language. Further, haXe doesn't support custom namespaces, private or internal (its private keyword is the equivalent of AS3's protected.) It doesn't support E4X notation. It doesn't have a base Object type. It has block scope on variables when AS3 doesn't. It has the weirdest way of doing getters & setters that I've ever seen (some folk love them; I personally hate them.) Last, but by no means least, haXe doesn't have a mxml equivalent. Converting the Flex source to haXe would not be a trivial task. I think the idea was worth exploring as it's not as crazy an idea as some might think. However, having looked into it, I decided it wasn't really as attractive an idea as I'd hoped. David.