4 ms·
> Don't these things take a massive amount of effort? Yes, RustPython has been in development since at least 2018. > Wouldn't this be making waves much earlie
by pansa2 2y ago
> Don't these things take a massive amount of effort?
Yes, RustPython has been in development since at least 2018.
> Wouldn't this be making waves much earlier in its development process?
It's been posted on HN several times before: https://hn.algolia.com/?q=rustpython https://hn.algolia.com/?q=rustpython
- stavros 2y agoAh ok, it's at least comforting to know that I missed it, rather than there are superhuman developers that crank these projects out in an afternoon.
- tyleo 2y agoI’d wager they don’t hit major spread from opinion leaders and upvotes in social media until they are mostly usable. It’s “I’m making a Python interpreter in rust,” claims emitted into the void with increasing engagement as it grows in usefulness. Edit: and you can even see that in the HN search above. Every year it’s had a little more functionality and a little more engagement than the last.
- fragmede 2y agoI've had some fun converting some of my Python scripts into Rust and it's really not that difficult with the help of modern tools once you wrap your head around Rust. Python is too huge to crank out in an afternoon, for sure, but on the human level, the translation from python to something compiled is a well trod path.
- J_Shelby_J 2y agoThe one time cost of learning borrow rules and traits is steep, but the lifetime savings of cargo vs PIP probably hits break even after a few months.
- sn9 2y agoNot to mention the change in rate of runtime errors.
- jbernsteiniv 2y agoAlso if evolution has shown us anything we will all one day evolve into crab. Crab is the final form (Carcinisation).
- RsmFz 2y agoI cranked out a Lua interpreter implemented in Rust in a week or two. It only ran about 3x slower than PUC Lua... And never collected garbage either :P
- willcipriano 2y agoImplementing a interpreter like that isn't as hard as you probably think as the standard library does a lot of the heavy lifting once you have the basics. It's still a lot of work but the only need to make the "built in" parts of the language and that's a lot smaller subset. Example of what im talking about: https://github.com/RustPython/RustPython/pull/3858 https://github.com/RustPython/RustPython/pull/3858