this post was submitted on 27 Dec 2024
55 points (98.2% liked)

Privacy

32506 readers
1193 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] folkrav@lemmy.ca 8 points 1 day ago* (last edited 1 day ago) (2 children)

The stuff like Flash, Java applets and Silverlight it eventually replaced were arguably even worse. There's a legitimate need to run client-side code at times, IMHO the mistake was making it so permissive by default. Blaming the language for the bad browser security model is kind of throwing away the baby with the bathwater.

[โ€“] trevor@lemmy.blahaj.zone 3 points 1 day ago (1 children)

WASM is a better way to run code client-side, and has the benefit of not being a terribly slow, untyped mess ๐Ÿ˜Œ

[โ€“] folkrav@lemmy.ca 2 points 11 hours ago

It desperately needs interface types if we ever hope to make it a serious contender for general purpose web development. The IO overhead of having to interface with JS to use any web API is itself pretty slow, and is limiting a lot of usecases.

[โ€“] underisk@lemmy.ml 5 points 1 day ago (1 children)

Browser permissiveness didnโ€™t create implicit type coercion.

[โ€“] folkrav@lemmy.ca 2 points 1 day ago (1 children)

Considering the community we are on, I assumed the criticism was more about the privacy problems surrounding the engine and browser security model than the quality of the language itself. If that was the intent, I mean... Yeah, its weak typing is a fucking mess.

[โ€“] underisk@lemmy.ml 2 points 1 day ago* (last edited 1 day ago)

That's fair. I just assume most people who reflexively insult JS are like that usually because they've written something in it, rather than having dealt with the many vulnerabilities and annoyances browsers have made possible with it