271
submitted 2 weeks ago by neme@lemm.ee to c/python@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] FizzyOrange@programming.dev 1 points 2 weeks ago

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

[-] PlexSheep@infosec.pub 2 points 2 weeks ago

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@programming.dev 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.

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

Python

6394 readers
18 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