Re:Python interpreter written in rust reaches 10000 commits
by Reason077 on Wednesday November 03, 2021 @01:09PM
(#29097471)
How about a Rust interpreter written in Python? Now that would be something worthy of a top HN post!
[ Parent
| on HN ]
Re:Python interpreter written in rust reaches 10000 commits
by johnsoft on Wednesday November 03, 2021 @01:17PM
(#29097605)
If you thought compile times were bad before…
Re:Python interpreter written in rust reaches 10000 commits
by lostmsu on Wednesday November 03, 2021 @01:40PM
(#29097938)
Then that would be the perfect solution for you! Interpreted Rust has no compilation step, you can jump straight to execution!
Re:Python interpreter written in rust reaches 10000 commits
by klodolph on Wednesday November 03, 2021 @01:42PM
(#29097966)
Python has a compilation step, you can't jump straight to execution in Python.
Interpreted != not compiled.
Re:Python interpreter written in rust reaches 10000 commits
by lostmsu on Wednesday November 03, 2021 @03:43PM
(#29099364)
This is irrelevant for the Rust interpreter written in Python. The interpreter will likely already be precompiled into bytecode when you run it on a Rust program.
Re:Python interpreter written in rust reaches 10000 commits
by sebiw on Wednesday November 03, 2021 @01:49PM
(#29098058)
Technically speaking, Rust is a compiled language, which means an interpreter won't do the job.
Re:Python interpreter written in rust reaches 10000 commits
by DrMeepster on Wednesday November 03, 2021 @02:30PM
(#29098553)
You can interpret its MIR (mid-level intermediate representation) like Miri or const evaluation does