It intentionally doesn’t support JavaScript to make things faster and much less resource intensive.

Ngl if you just don’t support the majority of modern browser features, it’s not hard to make a new browser.

Not as hard, I agree but reimplementing just CSS sounds like a very special level of hell.

W. JavaScript was a mistake.

this is why i will write my blog from scratch with absolutely no JS or code execution of any kind

folkrav
link
fedilink
9
edit-2
4M

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.

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

folkrav
link
fedilink
24M

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.

Browser permissiveness didn’t create implicit type coercion.

folkrav
link
fedilink
24M

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
link
fedilink
2
edit-2
4M

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

Claudia
link
fedilink
134M

But…that’s just a setting on all the browsers

deleted by creator

Create a post

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

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 124 users / day
  • 1.05K users / week
  • 1.3K users / month
  • 4.58K users / 6 months
  • 1 subscriber
  • 3.67K Posts
  • 93.1K Comments
  • Modlog