this post was submitted on 01 Sep 2023
100 points (100.0% liked)
Programming
17354 readers
338 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think, one big reason why people are gladly implementing libraries in Rust is that they're useful even outside the ecosystem.
In languages which need a runtime environment (Python, Java, JS, Go etc.), you're locked into that ecosystem. Your code will only run inside of that runtime, meaning someone using another language can't run your code.
Rust does not need a runtime and it can generate libraries in the format of C. Any mature programming language can call into C libraries.
Plus, Rust's performance means it's actually quite worthwhile for higher-level languages to call these libraries.
To have library portability is a very cool feature. I hadn’t released that this was possible.