ppDulce
ppDulce3w ago

Isolates

I would like to create an isolate so that i can use the broadcastchannel api; i understand that an isolate must include its own sandbox and its own virtual network. My confusion is how is this done it just sounds like a compile script with an exposed network; am i wrong what secret am i missing?
3 Replies
ppDulce
ppDulceOP3w ago
OH V8 does this we can use the deno_core rust crate and JsRuntime
ppDulce
ppDulceOP3w ago
Deno Blog
Roll your own JavaScript runtime
A walk-through of creating a CLI that executes JavaScript files.
ppDulce
ppDulceOP3w ago
also realized you can just use a worker threads and a broadcastchannel will work just fine between the main and and any additional workers

Did you find this page helpful?