planck

Planck ClojureScript REPL
2016-09-20T21:13:09.000165Z

Has anyone looked at http://ringojs.org? Seems like a full featured, multi-threaded javascript impl on top of rhino on the jvm?

2016-09-20T21:14:37.000167Z

I wonder it’s possible to hack threading support into jsc?

2016-09-20T21:15:23.000168Z

or just add planck apis that can instantiate a new jsc runtime from clojurescript/js

mfikes 2016-09-20T21:17:44.000169Z

JavaScriptCore does have support for multiple threads, so Planck could make use of that capability for interesting things

2016-09-20T21:18:14.000170Z

The JavaScriptCore API is thread safe—for example, you can create JSValue objects or evaluate scripts from any thread—however, all other threads attempting to use the same virtual machine will wait. To run JavaScript concurrently on multiple threads, use a separate JSVirtualMachine instance for each thread.

2016-09-20T21:18:44.000171Z

it does suggest that you have to make a second instance of the vm if you want true parallelism, though?

mfikes 2016-09-20T21:48:13.000172Z

Yes