3 ms·
> however deno would lend itself much better to running cf workers locally What would be the reason for this?
by rad_gruchalski 5y ago
> however deno would lend itself much better to running cf workers locally
What would be the reason for this?
- lucacasonato 5y agoUnlike Node, Deno has fetch and a web API based HTTP server built in.
- jFriedensreich 5y agocf workers and deno both have a philosophy of web apis first where custom apis are mostly a last resort if the concept to be done does not exist in web apps or is out of scope. nodejs requires wrapper libraries like node-fetch etc. also deno and cf workers have both the idea to not share any access to host environments or siblings with js code and both use isolates to do this similar to chrome. nodejs usually shares the rights of the executing user.