tweag / inline-js

Call JavaScript from Haskell, and vice versa!
https://inline-js.netlify.app
131 stars 10 forks source link

No separate transport in a worker thread #38

Closed TerrorJack closed 5 years ago

TerrorJack commented 5 years ago

Previously, we used to handle the pipe reads/writes in a separate worker thread, and send the messages via either the worker ports or a SharedArrayBuffer. Given we've purged the functionality of exporting host Haskell functions for now, we can move pipe logic back to the main thread for a more simplified eval server.