←back to thread

30 points apatheticonion | 2 comments | | HN request time: 0.009s | source
1. laurencerowe ◴[] No.45193982[source]
> To gain access to the Deno (and Node.js compat) standard library used by Deno requires forking deno_cli as they have largely coupled these additions to the main executable.

This is no longer the case. While it does not currently provide a stable API, that functionality exists in the deno_runtime crate and is relatively easy to reuse.

replies(1): >>45218066 #
2. apatheticonion ◴[] No.45218066[source]
The deno_runtime crate is indeed easy to use however the exts that provide compat for web apis and Nodejs compat still require forking deno_cli. You can use some of their ext crates https://github.com/denoland/deno/tree/main/ext but not everything.

Also using ops within Workers is challenging, particularly if they share state.