Hi,

I'm seeing lot of attention this days for WebAssembly due to Safari and
Edge supporting it.
The expectations are high on that front and I'm reading that WASM could be
almost ready for Spring in 2018.
So I think this is a must for us in addition to HTML/JS/CSS effort. I'm
trying to see the picture and even seems that both
HTML/JS/CSS and WASM could be used at the same time right?, so in that
case, we should think how this could be handled in Royale.




2017-11-15 7:47 GMT+01:00 Erik de Bruin <e...@ixsoftware.nl>:

> I have reverted my changes to develop@royale-asjs.
>
> EdB
>
>
>
> On Tue, Nov 14, 2017 at 11:57 PM, Piotr Zarzycki <
> piotrzarzyck...@gmail.com>
> wrote:
>
> > +1 for this. As I said it will help me to adjust maven build if it go to
> > separate branch.
> >
> > Thanks, Piotr
> >
> > On Tue, Nov 14, 2017, 23:44 Alex Harui <aha...@adobe.com.invalid> wrote:
> >
> > > It is great to see progress on this front.
> > >
> > > Logistical question:  We are hoping to cut a release of Royale "soon".
> > Is
> > > this code intended to ship in that release?  Are we ready to draw
> > > attention to the WebASM effort in the release?  Otherwise, can this
> stuff
> > > be in a feature branch so we don't have to adjust the release scripts
> to
> > > filter out this code?
> > >
> > > Thanks,
> > > -Alex
> > >
> > > On 11/14/17, 1:35 PM, "Harbs" <harbs.li...@gmail.com> wrote:
> > >
> > > >I’m curious about the context of this script.
> > > >
> > > >Will all environments where this is being run understand ES6 arrow
> > > >functions?
> > > >
> > > >> On Nov 14, 2017, at 5:54 PM, erikdebr...@apache.org wrote:
> > > >>
> > > >> This is an automated email from the ASF dual-hosted git repository.
> > > >>
> > > >> erikdebruin pushed a commit to branch develop
> > > >> in repository
> > > >>
> > > https://na01.safelinks.protection.outlook.com/?url=
> > https%3A%2F%2Fgitbox.a
> > > >>pache.org
> > > %2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7C%7Cb270a11a588f4
> > > >>79744cf08d52ba794b0%7Cfa7b1b5a7b34438794aed2c178de
> > cee1%7C0%7C0%7C63646292
> > > >>1125471254&sdata=wgy8IDd9OnNwic3mKCVY05t5iF9WOk
> > Usxl%2FK6yg0YNU%3D&reserve
> > > >>d=0
> > > >>
> > > >>
> > > >> The following commit(s) were added to refs/heads/develop by this
> push:
> > > >>     new 3dc37ce  Add ‘glue’ utility script to allow WASM to be
> loaded
> > > >>in HTML
> > > >> 3dc37ce is described below
> > > >>
> > > >> commit 3dc37ceb90c20be37639068061dba14b79e9461b
> > > >> Author: Erik de Bruin <e...@ixsoftware.nl>
> > > >> AuthorDate: Tue Nov 14 16:54:13 2017 +0100
> > > >>
> > > >>    Add ‘glue’ utility script to allow WASM to be loaded in HTML
> > > >>
> > > >>    Signed-off-by: Erik de Bruin <e...@ixsoftware.nl>
> > > >> ---
> > > >> .gitignore             |  3 +++
> > > >> wast/resources/glue.js | 11 +++++++++++
> > > >> 2 files changed, 14 insertions(+)
> > > >>
> > > >> diff --git a/.gitignore b/.gitignore
> > > >> index a32c5ce..64c80a8 100644
> > > >> --- a/.gitignore
> > > >> +++ b/.gitignore
> > > >> @@ -141,3 +141,6 @@ vf2js/frameworks/js/
> > > >> #FlexJS generated files
> > > >> frameworks/js/FlexJS/generated-sources
> > > >> manualtests/FlexJSTest_SVG/bin
> > > >> +
> > > >> +#WAST generated files
> > > >> +/wast/examples/HelloWorld/bin
> > > >> diff --git a/wast/resources/glue.js b/wast/resources/glue.js
> > > >> new file mode 100644
> > > >> index 0000000..fe66877
> > > >> --- /dev/null
> > > >> +++ b/wast/resources/glue.js
> > > >> @@ -0,0 +1,11 @@
> > > >> +function fetchAndInstantiate(url, importObject) {
> > > >> +  return fetch(url).then(response =>
> > > >> +    response.arrayBuffer()
> > > >> +  )
> > > >> +  .then(bytes =>
> > > >> +    WebAssembly.instantiate(bytes, importObject)
> > > >> +  )
> > > >> +  .then(results =>
> > > >> +    results.instance
> > > >> +  );
> > > >> +}
> > > >>
> > > >> --
> > > >> To stop receiving notification emails like this one, please contact
> > > >> ['"comm...@royale.apache.org" <comm...@royale.apache.org>'].
> > > >
> > >
> > >
> >
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>



-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to