2 ms·
There is a Truffle implementation of Python, but I think it's a bit out of date https://bitbucket.org/ssllab/zippy https://bitbucket.org/ssllab/zippy. I can't f
by chrisseaton 10y ago
There is a Truffle implementation of Python, but I think it's a bit out of date https://bitbucket.org/ssllab/zippy https://bitbucket.org/ssllab/zippy. I can't find any papers now but I think they had results showing that it was faster than PyPy (which is consistent with what other Truffle languages have achieved relative to RPython versions).
The native extension problem can be solved in Truffle with the LLVM bitcode interpreter. We're using this to interpret Ruby's C extensions.
- LeanderK 10y agothank you. What's the status of truffle? I often hear news from the project, but i never read anything about the scope of the project. Is is highly experimental? Are people using it in production? Is it intended to be used in production in the near future? Also, if it's faster and the C-extension solved by the LLVM interpreter, what's holding it back from being used?
- chrisseaton 10y agoTruffle is a large active project working on multiple language fronts at the same time (JS, Ruby, R, C). There's a pretty long tail of things to do to go from research prototype to something people could use, but that is what we are working on at the moment. Twitter is experimenting with Graal as a Java compiler in production. The C extension problem is solved in theory. We're now working on making it something a bit more substantial that the research implementation we have talked about previously.
- sandGorgon 10y agoquick question - the big focus of truffle seems to be js, ruby,R. Even the github org does not have python - https://github.com/graalvm https://github.com/graalvm your comment today was the first time I realized there was a Truffle port for Python, and is NOT maintained by the parent oracle org. https://github.com/securesystemslab/zippy https://github.com/securesystemslab/zippy Any particular (technical) reason ?
- chrisseaton 10y agoWe just did that one as a collaboration with UCI. I don't know why. There isn't a master plan - these things evolve.