Csound Csound-dev Csound-tekno Search About

[Cs-dev] Emscripten gets pthread support

Date2015-06-04 19:31
FromEdward Costello
Subject[Cs-dev] Emscripten gets pthread support
AttachmentsNone  None  
Hi,

Just saw that emscripten now has experimental pthread support, currently the only browser that supports it right now is Firefox Nightly but still, its great that they’ve been able to get it working. It’ll be interesting to see if csound will compile using pthreads, and more importantly if it gives any performance benefits.
The original thread from the Emscripten devs is here https://groups.google.com/forum/#!topic/emscripten-discuss/gQQRjajQ6iY
Cheers
Ed

Date2015-06-05 13:28
FromRory Walsh
SubjectRe: [Cs-dev] Emscripten gets pthread support
AttachmentsNone  None  
This sounds like an interesting development. Do you think it should help with performance?

On 4 June 2015 at 19:31, Edward Costello <phasereset@gmail.com> wrote:
Hi,

Just saw that emscripten now has experimental pthread support, currently the only browser that supports it right now is Firefox Nightly but still, its great that they’ve been able to get it working. It’ll be interesting to see if csound will compile using pthreads, and more importantly if it gives any performance benefits.
The original thread from the Emscripten devs is here https://groups.google.com/forum/#!topic/emscripten-discuss/gQQRjajQ6iY
Cheers
Ed

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2015-06-05 18:09
FromSteven Yi
SubjectRe: [Cs-dev] Emscripten gets pthread support
This is neat stuff.  I imagine we could try redesigning the whole
Csound/WebAudio interaction to get things to work, using a ring buffer
for Csound to write to, read/from, and a node to also read/write.  I
don't know how much energy is worth putting into it though unless
there's some sense that shared memory for web workers is going to
happen in other browsers.  Otherwise, we'd have three versions of Web
Csound then (PNaCl, Emscripten (no pthreads), Emscripten (pthreads)).



On Thu, Jun 4, 2015 at 2:31 PM, Edward Costello  wrote:
> Hi,
>
> Just saw that emscripten now has experimental pthread support, currently the
> only browser that supports it right now is Firefox Nightly but still, its
> great that they’ve been able to get it working. It’ll be interesting to see
> if csound will compile using pthreads, and more importantly if it gives any
> performance benefits.
> The original thread from the Emscripten devs is here
> https://groups.google.com/forum/#!topic/emscripten-discuss/gQQRjajQ6iY
> Cheers
> Ed
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/list

Date2015-06-05 18:14
FromVictor Lazzarini
SubjectRe: [Cs-dev] Emscripten gets pthread support
That will certainly be a fine mess, as Oli Hardy would put it.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Jun 2015, at 18:09, Steven Yi  wrote:
> 
> Otherwise, we'd have three versions of Web
> Csound then (PNaCl, Emscripten (no pthreads), Emscripten (pthreads)).


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-06-05 18:17
FromMichael Gogins
SubjectRe: [Cs-dev] Emscripten gets pthread support
AttachmentsNone  None  
Let us avoid messes and, of course, keep it simple.

Regards,
Mike




-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Fri, Jun 5, 2015 at 1:14 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
That will certainly be a fine mess, as Oli Hardy would put it.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jun 2015, at 18:09, Steven Yi <stevenyi@gmail.com> wrote:
>
> Otherwise, we'd have three versions of Web
> Csound then (PNaCl, Emscripten (no pthreads), Emscripten (pthreads)).


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel