One of the reasons why I do make the effort to learn Perl despite Python seemingly being more common these days*, is because regexes are a lot nicer to use in Perl
* Source: I asked a bunch of computer touchers whether they have any Perl scripts in their infrastructure and they said they rewrote them in Python
@vaporeon_ javascript regex should be good but its clunky
@wallhackio I am not writing JavaScript on my computer
(Though I heard that people do write JavaScript for the backend, too? What program do they use to run the JavaScript?)
@vaporeon_ reported.
also they almost always use node.js (even though Deno is 1000000000% better)
@wallhackio What about Duktape?
@vaporeon_ that's typically used to embed javascript in a videogame engine but you could use it for a backend, especially if you need something lightweight (and are also using javascript??????)
@wallhackio Why are they using something different for regular "JavaScript on the computer" purposes? What is the advantage of the heavier programs (Deno and NodeJS)?
@vaporeon_ javascript is only "fast" when its heavy. if you make it lightweight then its going to be slow as fuck
NodeJS and Deno are built on V8, the engine that google chrome uses. I believe Bun uses JavaScriptCore
Duktape, in order to keep its footprint light, doesn't implement most modern javascript featues starting from 2015
@vaporeon_ I'm not sure I should have said that Duktape is "usually used to put javascript in game engines". I only said that because I know that game developers actually do this (for some reason) although I don't know what embedded engine they actually use