this post was submitted on 02 Nov 2024
271 points (98.2% liked)

Python

6406 readers
25 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Buttons 19 points 3 weeks ago (7 children)

Were just waiting on WASM to be able to access the DOM APIs directly, and then all languages will be first class citizens on the web, and then RIP JavaScript.

[–] FizzyOrange 1 points 2 weeks ago (1 children)

I don't think so - Javascript doesn't have to ship its language runtime so it will always have a size advantage.

[–] [email protected] 2 points 2 weeks ago (1 children)

You don't need a language runtime if your program has no runtime, right? A rust or C program is just the program, no runtime.

[–] FizzyOrange 2 points 2 weeks ago

Well they still have runtimes, but yes they can be pretty minimal.

You're still shipping a load of libraries that come for free with JS though, e.g. with Rust WASM string formatting and unicode support always ends up being annoyingly huge, and that's built in to JS engines. There's also collections (Map, Set), etc.

load more comments (5 replies)