Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28991

Re: Concurrency folded out?

Newsgroups comp.lang.javascript
Date 2015-12-08 16:04 -0800
References <e4834b6d-6881-46cd-8c2b-739f3fa6dd11@googlegroups.com> <47a341b1-fc21-4362-8a09-423e173d8e37@googlegroups.com>
Message-ID <37d5eefb-8dc1-4c78-bbcf-c58100a4f233@googlegroups.com> (permalink)
Subject Re: Concurrency folded out?
From "Michael Haufe (TNO)" <tno@thenewobjective.com>

Show all headers | View raw


On Tuesday, December 8, 2015 at 2:04:55 AM UTC-6, Øyvind Teig wrote:
> Thanks, Michael!
> 
> Now I feel most like js-csp and browserify to run it on the client side(?). 

I've seen no evidence that suggests this.

> And find a way to transform the recursive algorithm to non-recursive and then make that concurrent.

I don't see what the gain would be in doing that.

> Playing with CSP for JavaScript I certainly would want to, but time forbid! Form doing that in C a couple of times I know it's complex to get right. (But then I could have implemented my deadlock-free XCHAN..) I also try to learn XC and the xTIMEcomposer tool, needed for a privat aquarium project! That's why I wanted to piggyback on somebody else's sore shoulders in the JavaScript world!

So did you change your mind on learning it for yourself? You just want a library that will do this for you?

> Now, who can remove the recursive implementation of the tree for me?(http://www.teigfam.net/oyvind/code/114/001_tree_by_seb_lee_delisle.html)

A handful in this group at least.

> Am I right to say that this would make a concurrent version easier to reach?

No, I would say keep it as a recursive algorithm as it is easier to reason about.

Honestly I believe you should play around with graphics programming in JavaScript+HTML separately from playing with concurrency/parallelism. After you can do each confidently, then put them together again.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Concurrency folded out? Øyvind Teig <oyvind.teig@gmail.com> - 2015-11-18 00:48 -0800
  Re: Concurrency folded out? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-11-19 17:13 -0800
    Re: Concurrency folded out? Øyvind Teig <oyvind.teig@gmail.com> - 2015-11-20 04:47 -0800
      Re: Concurrency folded out? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-11-21 10:41 -0800
        Re: Concurrency folded out? Øyvind Teig <oyvind.teig@gmail.com> - 2015-11-22 13:47 -0800
          Re: Concurrency folded out? Øyvind Teig <oyvind.teig@teigfam.net> - 2015-11-24 13:15 -0800
          Re: Concurrency folded out? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-12-01 18:18 -0800
  Re: Concurrency folded out? Øyvind Teig <oyvind.teig@teigfam.net> - 2015-12-04 11:36 -0800
    Re: Concurrency folded out? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-12-05 10:25 -0800
  Re: Concurrency folded out? Øyvind Teig <oyvind.teig@teigfam.net> - 2015-12-08 00:04 -0800
    Re: Concurrency folded out? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-12-08 16:04 -0800

csiph-web