[Cs-dev] PNACL released
Date | 2013-11-12 21:11 |
From | Michael Gogins |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
Yes, I'm updating Chrome right now to 31. This is potentially very significant! It's too bad though than PNaCl on Android seems to be lagging: https://groups.google.com/forum/#!msg/native-client-discuss/PEZP458cVQY/CPVce1un08MJ.
Best, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Nov 12, 2013 at 3:35 PM, Steven Yi <stevenyi@gmail.com> wrote:
|
Date | 2013-11-12 22:59 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] PNACL released |
Well, it looks like this is the way to go, rather than try to force a hack through emscripten. The demos are impressive. Victor On 12 Nov 2013, at 20:35, Steven Yi |
Date | 2013-11-12 23:01 |
From | Steven Yi |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
Well we're pretty close with emscripten. We've got csnd6 compiled and just need to write an embind file to expose classes to Javascript. Also, Emscripten does have the advantage of running with Mozilla. I'm planning to finish out this work with Ed and see how it works, then will join in on any efforts going on with PNACL.
On Tue, Nov 12, 2013 at 5:59 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: Well, it looks like this is the way to go, rather than try to force a hack through emscripten. The demos are impressive. |
Date | 2013-11-12 23:14 |
From | Stephen Kyne |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
This library was quoted in the first link of Steven's mail: http://trypepperjs.appspot.com/ Seems like you could develop a PNaCL app and convert to Javascript via EmScripten afterwards. That sounds pretty good! Date: Tue, 12 Nov 2013 18:01:53 -0500 From: stevenyi@gmail.com To: csound-devel@lists.sourceforge.net Subject: Re: [Cs-dev] PNACL released Well we're pretty close with emscripten. We've got csnd6 compiled and just need to write an embind file to expose classes to Javascript. Also, Emscripten does have the advantage of running with Mozilla. I'm planning to finish out this work with Ed and see how it works, then will join in on any efforts going on with PNACL.
On Tue, Nov 12, 2013 at 5:59 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: Well, it looks like this is the way to go, rather than try to force a hack through emscripten. The demos are impressive. ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-devel |
Date | 2013-11-13 23:08 |
From | Michael Gogins |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
I screwed up Chrome at work and couldn't re-install it. But at home just now, I smoothly upgraded Chrome to 31 and ran the various demos. As Victor said, impressive. Now, I want to know benchmarks of Csound in pnacl versus native Csound on the same machine. Also, Lua benchmarks... What about threads?... Best, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Nov 12, 2013 at 3:35 PM, Steven Yi <stevenyi@gmail.com> wrote:
|
Date | 2013-11-13 23:22 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] PNACL released |
There is the pthread lib and Csound builds pretty much unmodified. On 13 Nov 2013, at 23:08, Michael Gogins |
Date | 2013-11-13 23:28 |
From | Michael Gogins |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
Wild. I'm going to try to build Csound for pnacl myself. Where would Csound built for PNaCl get, for example, sound samples, whether for function tables or loscil or FluidSynth or the STK opcodes? How would Csound load Csound orchestras and scores from the local filesystem? Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Nov 13, 2013 at 6:22 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: There is the pthread lib and Csound builds pretty much unmodified. |
Date | 2013-11-13 23:35 |
From | Dave Seidel |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
I just installed the sample apps, and they seem to provide access to local storage -- not sure if it's the same local storage that HTML5 already has access to, but either way probably a sandboxed virtual filesystem. One sample allows pasting into a text area in the browser and saving into local storage as a file.
On Wed, Nov 13, 2013 at 6:28 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
|
Date | 2013-11-13 23:39 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] PNACL released |
There are no plugins (no dlopen), so unless you build Fluidsynth or STK opcodes statically into the Csound library, they will not be there. Now in relation to where soundfiles would be found, I really don’t know, but I suspect files in the local disk might be accessible. On 13 Nov 2013, at 23:28, Michael Gogins |
Date | 2013-11-13 23:49 |
From | Michael Gogins |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
It's OK to build plugins into the static library, as far as I'm concerned. I was going to that for Android at first. Obviously plugins are another security vulnerabiltiy. The issue of writing and reading soundfiles on the local filesystem, not in a sandbox, is critical for me. I'm not going to be interested if this is not possible. I will look into this.
Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Nov 13, 2013 at 6:39 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: There are no plugins (no dlopen), so unless you build Fluidsynth or STK opcodes statically into the Csound library, they will not be there. Now in relation to where soundfiles would be found, I really don’t know, but I suspect files in the local disk might be accessible. |
Date | 2013-11-13 23:59 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] PNACL released |
yes, but with caution. We don’t want to add dependencies to the main csound library, so any such changes should not be made to the main library system. On Android, plugins are possible, so there is no need to add Opcodes statically to Csound. Victor On 13 Nov 2013, at 23:49, Michael Gogins |
Date | 2013-11-14 00:17 |
From | Michael Gogins |
Subject | Re: [Cs-dev] PNACL released |
Attachments | None None |
I checked FileIO for PNaCl. There is a sandbox and only a sandbox, but it can be as big as your hard disk. Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Nov 13, 2013 at 6:59 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: yes, but with caution. We don’t want to add dependencies to the main csound library, so any such changes should not be made to the main library system. |