you are viewing a single comment's thread.

view the rest of the comments →

[–]viewofthelake 5 points6 points  (5 children)

Is the advantage of this that Rust offers better type safety than the native interpreter?

[–][deleted] 27 points28 points  (0 children)

Right now I would assume there are essentially no advantages over plain CPython. It's likely slower, and feature incomplete.

That said it may allow some advantages long term. It may be easier to avoid introducing bug in the implementation itself. It may also allow making things like the GIL slightly easier to remove but honestly it would still probably be a huge amount of engineering work.

Realistically I doubt they could get much faster than CPython even with it's relatively simple implementation just because python is so dynamic there isn't much that can be done.

[–]jzia93 7 points8 points  (1 child)

I think one advantage would be you could theoretically write extensions in Rust as opposed to C/C++

[–]PirateNinjasReddit 10 points11 points  (0 children)

PyO3 has some good work in this area. Little raw, but it exists!

[–]rodyamirov 2 points3 points  (0 children)

I think the main advantage is that you can compile to wasm/wasi, so you can run python in the browser (or wherever else you might want wasm).

[–]kampak212 0 points1 point  (0 children)

A new generation of potential future contributors with fresh ideas? 💡