[Webkit-unassigned] [Bug 174276] JSC should support threads in JS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 31 04:00:10 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174276

Asbjørn Ulsberg <asbjorn at ulsberg.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asbjorn at ulsberg.no

--- Comment #1 from Asbjørn Ulsberg <asbjorn at ulsberg.no> ---
While I'm not opposed to the idea of concurrency in JavaScript, I think the proposed API is archaic and quite frankly; horrible. It looks like the proposed API is heavily influenced by Java and while java.lang.Thread worked okay when it was devised over 20 years ago, it is hardly the best take on concurrency in 2017.

Instead of basing JavaScript's concurrency model on Java's old API with explicit Thread objects, lock objects and complicated signalling mechanisms, a modern look on concurrency would be something more akin to Rust's with object ownership and implicit concurrency built in.

Please take this as a praise of the idea of concurrency in JavaScript, but also a nudge to review the concrete API proposal and base it on a more modern take on concurrency than java.lang.Thread.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170831/8fd681cc/attachment-0001.html>


More information about the webkit-unassigned mailing list