That's a really great idea! Just starting to get LightSpark and WebAssembly building separately, so a lot of stuff to digest and tear through before I'll be able to even wrap my head around it, but yes the problem area is obviously the rendering engine, but I do have quite a bit of experience in the area. Hopefully I'll have more information in a month or so. I'm not quite convinced this idea is as crazy as others are making it out to be when many others have done most of the difficult work already. In an ideal world it would allow the Falcon swf output to be bundled into Lightspark compiled to WebAssembly and run in browser with massive performance gains over the html/js version.
Gary, long shots and out of the box thinking have never scared me, and I wouldn't be nearly as successful if I had blindly followed the masses. ~ JT -----Original Message----- From: Dev LFM [mailto:developer...@gmail.com] Sent: Tuesday, April 11, 2017 2:35 AM To: dev@flex.apache.org Subject: Re: WebAssembly Flash ByPass If drawing on gpu is possible, I would go even further and also add skia to the discussion. My vision is, use skia to render everywhere.. Having then different "falcon" to compile for webgl/ios/android/win/osx/unix/raspi Now.. what would be needed? I think a transpiler of "stage3d" to "skia" could be a 1st attempt.. Thoughts? 2017-04-11 7:32 GMT+01:00 Alex Harui <aha...@adobe.com>: > Gary, > > Please try to focus on actual technical issues and let those who want > to try, try it. Some people think making Flex/FlexJS popular again is > a long shot as well. > > I'm not that familiar with WebAssembly, but from what I've read today, > I think Josh has hit on the main technical challenge, which is that > WebAssembly doesn't appear to let you draw directly to the screen. It > sort of reminds me of Alchemy/FlasCC. > > -Alex > > On 4/10/17, 7:26 PM, "Gary Yang" <flashflex...@gmail.com> wrote: > > >Thanks, I would love to see how you can get there, W3C started > >designing > >HTML5 in 2009, Firefox is still making exception for Flash Player > >now, maybe you can help them get rid of it and unify the web truly. > > > >On Mon, Apr 10, 2017 at 5:24 PM, Jason Taylor <ja...@dedoose.com> wrote: > > > >> Gary, do you even have any idea what WebAssembly is? You should > >>check out some articles on it: > >>https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fgithub.c > >>om%2FWebAssembly%2Fdesign%2Fblob%2F&data=02%7C01%7C% > 7C958771644c3444d5448 > >>308d480821d4b%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C63627474370530 > >>2509&sdata=roF8%2B3Z2KOZAW7NVE8QJ3OSFAraX8ViFl179cVi%2FgJY%3D&reserv > >>ed=0 > >> master/FAQ.md, > >>https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fdevelope > >>r.mozilla.org%2Fen-US%2Fdocs%2FWebAssembly%2F&data= > 02%7C01%7C%7C958771644 > >>c3444d5448308d480821d4b%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C6362 > >>74743705302509&sdata=sf%2FmlA5b%2FvU79NgnjPu1tdhbF3sJ1FAoQahTm > V06%2FAc%3D > >>&reserved=0 > >> Concepts > >> > >> In a nutshell the browser vendors finally realized that HTML+JS > >>will never be efficent enough to implement complex software/games > >>in browser, and thus WebAssembly was born. It was designed by the > >>W3C committee that included all the major browser vendors. > >> > >> Please do yourself a favor and research your opinion before you > >> spread mis-information. > >> > >> > >> > >> -----Original Message----- > >> From: Gary Yang [mailto:flashflex...@gmail.com] > >> Sent: Monday, April 10, 2017 2:21 PM > >> To: dev@flex.apache.org > >> Subject: Re: WebAssembly Flash ByPass > >> > >> 1) It takes a long time to make a powerful system like Flash Player > >>stable enough, Google Map has been using webGL for a long time, > >>improved a lot still crash all the time. > >> 2) Politically, none of the major browser vendors would let > >>anything our of their control grow bigger anymore, Flash Player is > >>the only exception, it came too early and too important to the web > >>to be killed. > >> > >> The only chance to implement high performance application across > >>main stream browsers is still Flash with stage3D AGAL, time has > >>proved it, I don't the majority get it, when it comes to tech, this > >>is usually it, most just follow what others say. > >> > >> Sad haaa? What if spent time in implementing Flex with AGAL from > >>the very beginning? Flash platform might not be on the hanging > >>edge... > >> > >> > >> On Mon, Apr 10, 2017 at 5:16 PM, Josh Tynjala > >> <joshtynj...@gmail.com> > >> wrote: > >> > >> > I don't think you can simply compile LightSpark as-is to WebAssembly. > >> > I suspect that its rendering code will need serious modification > >> > to be able to draw to HTML Canvas or WebGL instead of whatever > >> > native APIs it uses now. This part probably wouldn't be trivial. > >> > > >> > - Josh > >> > > >> > On Mon, Apr 10, 2017 at 1:52 PM, Jason Taylor <ja...@dedoose.com> > >>wrote: > >> > > >> > > Why would we be implementing anything? I'm talking about taking > >> > LightSpark > >> > > as is (with their 252 open bugs) compiling it to LLVM, using > >> > > that input > >> > for > >> > > the WebAssembly compiler and compiling the output binary as a > >> > > LightSpark WebAssembly drop in flash player. This has nothing > >> > > to do with the > >> > existing > >> > > FlexJS work and is merely to allow the existing flash apps to > >> > > run in browser, cross platform without a plug-in (such as Safari on > >> > > iOS). > >> Not > >> > > quite sure what exactly is so crazy here. Sorry, FlexJS will > >> > > never give > >> > us > >> > > the performance we (Dedoose) need, so extending the life cycle > >> > > of the > >> > flash > >> > > player a couple more years to buy us time for a complete > >> > > rewrite in a performant client technology is pretty important to us. > >> > > ~ JT > >> > > > >> > > > >> > > > >> > > -----Original Message----- > >> > > From: Gary Yang [mailto:flashflex...@gmail.com] > >> > > Sent: Monday, April 10, 2017 1:46 PM > >> > > To: dev@flex.apache.org > >> > > Subject: Re: WebAssembly Flash ByPass > >> > > > >> > > No mean to be offensive, implementing everything in WebAssembly > >> > > feels > >> > just > >> > > like talking about living in Mars, even with > >> > > HTML/Javascript/CSS > >> > regardless > >> > > of performance, after so many years ... > >> > > > >> > > On Mon, Apr 10, 2017 at 4:18 PM, piotrz > >> > > <piotrzarzyck...@gmail.com> > >> > wrote: > >> > > > >> > > > Hi Gary, > >> > > > > >> > > > Please be tolerant to Jason's opinion and ideas. Apache Flex > >> > > > is an open source project and if Jason would like to bring > >> > > > some idea here he is very welcome, same as you. > >> > > > > >> > > > Piotr > >> > > > > >> > > > > >> > > > > >> > > > ----- > >> > > > Apache Flex PMC > >> > > > piotrzarzyck...@gmail.com > >> > > > -- > >> > > > View this message in context: http://apache-flex- > >> > > > development.2333347.n4.nabble.com/FlexJS-feature-chart-work- > >> > > > status-tp61035p61082.html > >> > > > Sent from the Apache Flex Development mailing list archive at > >> > Nabble.com. > >> > > > > >> > > > >> > > >> > >