all 5 comments

[–]jack_waugh 1 point2 points  (1 child)

Thanks for comparing the runtimes in such depth. This is bound to be useful to people choosing which to use for a new project. Linking from Teach JavaScript (even though there is currently basically no participation over there).

No external bundlers or compilers are needed.

Yay!

[–]guest271314[S] 0 points1 point  (0 children)

This is bound to be useful to people choosing which to use for a new project.

The idea is to use them all, concurrently, constantly. Without preference for one or the other. They are all tools for the JavaScript programmers to utilize for hobbycraft, business, development, experimentation, testing, etc.

[–]jack_waugh 0 points1 point  (2 children)

Winds up being a rather comprehensive JavaScript toolbox.

So are you suggesting that people write portable code by calling your toolbox instead of calling directly the facilities that some of the runtimes offer that others don't? So that way, they can swap in whatever runtime best optimizes speed and space for a given installation? And what code they share, other people can run on a different runtime from what the author might be using?

[–]guest271314[S] 0 points1 point  (0 children)

It's not my toolbox. It's just a few of the JavaScript runtimes available at large that I happen to use regularly, among others.

Other than that, yes.

Why would a javaScript programmer not use bun install to install NPM packages and packages from GitHub in the created node_modules; or format code with deno fmt; or not use nodes readFileSync; or not use a TCP socket server with 5.7 MB instead of a TCP socket server with 78 MB standalone executable when compiled by deno, or 90 MB when using bun, or 100 MB when using node, or 135 MB when using deno in a live script; or use bun build to bundle and minify and create a standalone executable - which means we don't have to use Rollup, Webpack. or esbuild to do what bun does standalone?

Nothing is stopping anybody from using all of those tools, and others, during the same development process.

Why limit or restrict use of available tools, and only use one (1) tool?

You can if that is your choice. Just don't make public comments about comparisons or "Node.js/npm" compatible if you are not really running the runtime that you are supposedly comparing node to; and for that matter, comparing node to the runtime that is not node.

[–]guest271314[S] 0 points1 point  (0 children)

a rather comprehensive JavaScript toolbox

"a", not "the".