Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@bittersweet Maybe mixing the worst with the best will make something… average ?
I don't know what to think about it -
@CodeTalker @melezorus34
It's way better than Node.
I personally prefer coding in Rust directly, but a modern Node replacement which has no need for NPM, is extremely resource efficient, uses Rust's Tokio library to do JS async, uses ES modules instead of CommonJS, and encourages the use of typescript & webassembly... that almost makes Javascript acceptable as a Backend language. -
@bittersweet @melezorus34 While I'm revisiting the project, you can grab the old iteration from tuppitak.atwebpages.com/scripts/Primehunter/PrimeHunter.js
usage: given by @highlight
BEWARE that I didn't care about optimization so it will take hella load of memory. (after 2,000,000 it will require at least 1G RAM so install x64 versions :P) -
REXTON2465y@bittersweet how is npm bad? How is just importing the library through a link better? It feels like they did a fucking 180 back to the days you would just paste the jquery cdn after the body tag...
-
@REXTON Maybe that's not necessarily a bad thing.
No centralized registry, download on compile. The Golang Module system is also one of the few things I really like about Go: Import from URL, you can use both v2 and v3 of a library in your app without conflicts. -
REXTON2465y@bittersweet yes, I can't wait for when the damn cdn goes down unexpectedly so that I have to go back and import a new one... Oh boy!
-
@REXTON It's not CDN based though, it's URL imports — it downloads the library and compiles it with your app.
-
@bittersweet what if there was no server to respond 304 to me? Will I still used cached/compiled version?
Sauce: https://twitter.com/josiahrooney/...
joke/meme