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 8C8C4DEF5 for ; Sat, 17 Nov 2012 18:01:59 +0000 (UTC) Received: (qmail 5323 invoked by uid 500); 17 Nov 2012 18:01:58 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 5290 invoked by uid 500); 17 Nov 2012 18:01:58 -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 5280 invoked by uid 99); 17 Nov 2012 18:01:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2012 18:01:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebpatu.flex@gmail.com designates 209.85.215.175 as permitted sender) Received: from [209.85.215.175] (HELO mail-ea0-f175.google.com) (209.85.215.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2012 18:01:50 +0000 Received: by mail-ea0-f175.google.com with SMTP id h11so1431173eaa.6 for ; Sat, 17 Nov 2012 10:01:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=7Ez13gVD/edzngCjReX7jHE85HqRQ7dOz3xQs3As3GA=; b=deau3hsLiYuixnyt6SaVk2lC/L4G6SOD5B60l1eFRuS01WNx2ixpbW6GnE+uaBL00L js6VxMIHWkY2Bz9Eb/0Y0CnMshLxsf65aukfeldIvzoquP7IhJDga4G0O4xsYe3ghw85 oXscLDvAjZGKgigzSTMXXnLo2aODXqD2xZRjDgyOWSJnavnqp3C6ky6VOIYUJwcM0MzY vAue+PNhpOjFkSWdlC9oHBgiwp2yv47MEt/184m1miukE4xOD+L6QJFC3Dirm557tVCH igvp+WirFT8WBYh1eD1HnQEHohni8GyyyHCi1csd4SGey0ZAG9srkB9Oo3F5wX69eC9Y wE0w== Received: by 10.14.223.199 with SMTP id v47mr8382793eep.45.1353175290123; Sat, 17 Nov 2012 10:01:30 -0800 (PST) Received: from [127.0.0.1] (87-231-242-113.rev.numericable.fr. [87.231.242.113]) by mx.google.com with ESMTPS id z43sm11952441een.16.2012.11.17.10.01.28 (version=SSLv3 cipher=OTHER); Sat, 17 Nov 2012 10:01:29 -0800 (PST) Message-ID: <50A7D0F4.9020802@gmail.com> Date: Sat, 17 Nov 2012 19:01:24 +0100 From: =?UTF-8?B?c8OpYmFzdGllbiBQYXR1cmVs?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: flex-dev@incubator.apache.org Subject: Re: What to expect from FalconJS References: <50A7C08E.4080505@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org it depends. if the plan is to fully transcode flex app in HTML/JS and then use cordova to make it run as native app, yes i have reasons to think that it will have poor performances, because in the end it is still an HTML/JS app. if you only use this path for UI, and managed to transcode the logic in a real native code, why not. If separating the UI management make the cross compilation more easy, maybe it can be a viable solution. but it gets back to the question "how can you cross compile AS3 to native code". And haxe made the choice to change AS3 language to make it more easy to cross compile. it means that it is not easy task. Le 17/11/2012 18:08, Joan Llenas Masó a écrit : > I'm not Alex, but IMHO taking into account that most UI code will have to > be written natively for each output target and that UI code tends to be the > main bottleneck in nowdays apps there's no reason to think that this new > system would output very poor performant code or bytecode. > Also, for very performance intensive business operations (I guess) we could > do the same as with UI code and create native versions and execute them > through narrow interfaced proxies. > Same philosophy as Randori I'd say. > > Cheers > > > > > On Sat, Nov 17, 2012 at 5:51 PM, sébastien Paturel > wrote: > >> Hi Alex, >> do you also have in mind to use HTML/JS as main output before cross >> platform achievment (for example using Cordova)? >> if so, don't you expect very poor performances with this strategy? >> >> >> Le 17/11/2012 17:05, Alex Harui a écrit : >> >> >>> On 11/17/12 2:47 AM, "Joan Llenas Masó" wrote: >>> >>> I think I'm able to get your point after watching these slides and mixing >>>> it together with what you mentioned earlier on in another thread. >>>> So instead of going through direct UI AS3->{MyOutputTargetOfChioce} >>>> translation we just concentrate our efforts in the business logic code >>>> translation AS3->{MyOutputTargetOfChioce}. >>>> The views on the other hand are implemented natively in the language of >>>> choice, being it AS3, JS or whatever. >>>> Finally MXML comes to rescue giving us the power of componetization and >>>> view declaration. >>>> This way we can implement same set of components for different output >>>> targets but declare them in the same way. >>>> FalconJS will take care of the rest. >>>> >>>> Am I right? or did I make my own movie... >>>> >>> Believe me, my vision and prototype is not completely thought out. I'm >>> depending on the rest of the community to help steer and create, but I >>> think >>> that you have the basic idea that I have in my head. >>> >>>> Anyway, I see maaaaany advantages here. Wow, I love it. This is actually >>>> the essence of Flex taken to the next level :) >>>> Well, I see Haxe fitting here as well. Actually we could plug many >>>> packaging tools in the FlaconJS "output port". >>>> >>>>