News for hackers. Stuff that matters.
Re:Why Tcl? by vdksbskdb on Tuesday June 20, 2023 @01:44PM (#36407666)
i frown on anything JS because it always end up requiring some sort of 'npm install' or, shivers, 'npm install -g'. it's just as bad a running a random 4gb java binary with extra steps.

js will only run on users machines or inside a vm without even kvm because we've seen plent ecosystem hijacks and exploits in the wild already. and you can only fool me MAX_INT.

Re:Why Tcl? by motogpjimbo on Tuesday June 20, 2023 @01:54PM (#36407863)
Generally, when you see a package asking you to install it globally with `npm -g i`, you can install it locally with `npm i` and then run it with `npx`. Requesting global installation is either an expression of ego or the author is a Python refugee.
Re:Why Tcl? by a_wild_dandan on Wednesday June 21, 2023 @11:14AM (#36419569)
The above code requires no 3P dependencies. With a few notation tweaks, you can paste/pipe those examples right into a (~40 MB) `node` binary and get answers.

Where security is concerned, I can't say that Node.js has been more problematic than any other language I've used, but that's anecdotal and YMMV.