18
submitted 4 days ago by BrikoX@lemmy.zip to c/webdev@programming.dev

The one where I mourn the best runtime and speculate idly

top 3 comments
sorted by: hot top controversial new old
[-] spartanatreyu@programming.dev 3 points 3 days ago

Deno's packaging can be confusing (is this dependency installed in node_modules, the global cache or somehow both across module boundaries?)...

... But damn, its permission system is fucking amazing. Just run your code like normal and watch what permissions it asks you for.

What's that?

Oh, you'd like permission to read the env file and network access? Begone namesquatted malware!

What's that?

Oh, you want write permission to /.., fuck off slopped out pull request!


I tried porting a project back to node (v24) to see what it was like (since I heard node had a permission system now) and because some devs wanted to stick with what was familiar to them.

First thing I noticed, my watch/rebuild/serve script went from 0.2 seconds to 3-5 seconds with no code changes and using the same dependencies that were originally written for node.

Second thing, Node's permission system doesn't work because it's broken by design. Permissions cannot ever be opt in. Everything needs to be locked down and you need to explicitly get permission to access things.

In node's design, a junior dev could "opt in" to the network permission to disable network requests, but they wouldn't think to block subprocesses (which could call cURL/wget and get it to make network requests on the main processes' behalf). It's utterly broken and shifts the blame to the developer for not knowing better.

I instantly switched the project back to deno.

[-] org@lemmy.org -5 points 4 days ago

This guy’s website is funny. So much time spent on actual AI-hate, and zero example clients.

I make a habit of not working with people who complain about things publicly.

[-] jaredwhite@humansare.social 5 points 3 days ago

I suppose nobody should work with you then, since you're here complaining about things publicly.

this post was submitted on 22 Mar 2026
18 points (95.0% liked)

Web Development

5549 readers
10 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS