I think things like Emscripten are crazy hacks in a way, but the problem I think with Flash and even Pnacl is that they are not standards based and therefore will probably never be cross platform without being beholden to some company in Adobes case, or in Pnacls case the fact the one of Mozillas product managers said they have no intention of supporting native code in the browser (according to wikipedia anyway). 
For better or worse we are stuck with javascript, Emscripten will work best in Firefox due to the Odin Monkey javascript engine (I suppose it is open Apple and Google whether they want their javascript engines optimised in this way as well), but csound.js runs ok in Safari on a 6 year old Macbook pro here too.
-- 
Edward Costello

On Tuesday 5 November 2013 at 00:58, Art Hunkins wrote:

+1
 
It would be wonderful, where feasible, to have a single binary for all platforms.
 
Art Hunkins
----- Original Message -----
Sent: Monday, November 04, 2013 3:53 PM
Subject: Re: [Cs-dev] Cross compiling C++ for various virtual machines

Yes, but you still have one binary for each platform that way. This way, you have one binary for all platforms.

Regards,
Mike

On Nov 4, 2013 2:56 PM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
In a way this is already achievable via Javasound and JAWS. We did a proof-of-concept study a couple of years ago that indicated it could be done, with
the java Csound wrapper with Csound linked statically in it. With natively compiled csound jnis, JAWS then delivers the correct JNI to each
client OS.

Victor
On 4 Nov 2013, at 19:40, Michael Gogins wrote:

> What is motivating me here is the thought of something like Csound 6 for Android that runs on any browser, or at least on Chrome on any platform, and ties into JavaScript as well as into the browser's image, video, and above all audio facilities. It something a lot closer to a "universal" Csound application. And it would be easy to do user-defined widgets. Frankly, this could save us all a huge load of work.

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel