--

1) Actually, Deno can import Node and NPM modules.

Example from the Deno website:

import { emojify } from "npm:node-emoji@2";

console.log(emojify(":t-rex: :heart: NPM"));

2) Deno is BAD with very long arrays. In my series of Advance Of Code blazingly fast JavaScript solutions, I found that with a very long array, Bun is fast and Deno breaks. I thought that it was a problem of the V8 engine, but then I tried the solution in the console of Chrome and it worked (I had to change my code to be Deno compatible). Besides that, while running my series of AOC solutions, sometimes Deno is faster, sometimes Bun is faster.

https://github.com/JoanaBLate/advent-of-code-js

--

--

No responses yet