ZipPy: fast and lightweight Python 3 implementation using the Truffle framework
github.com
github.com
Imagine if the free version of gcc or clang had gimped performance. The whole purpose of a compiler is to build code that's as performant as possible.
I won't go near Graal
But Twitter run free Graal and it's faster than OpenJDK (let's be more specific and say C2) for them.
If code runs differently on official platforms Commercial Graal can build a moat where code X doesn't work well on OpenJDK. Eventually you end up with code that works on OpenJDK and Graal EE, and a subset that only works well on Graal EE.
This is why, in my mind, compilers from official sources should always be free. Since Graal EE performs better there's nothing stopping Oracle from pulling a Chrome. Take all the market share then a few years later use your market power to start fucking with the ecosystem
How can an extra implementation of exactly the same standard possibly be a bad thing? This is what we want isn't it? Multiple implementations innovating to improve while keeping to the same spec? So if you don't want to pay for Graal EE it doesn't matter because your code still runs everywhere, and because CE is as good as OpenJDK you're no worse off in any case.
Or are you saying they're going to break the spec? Well that's just a baseless speculation so not useful to talk about in my opinion.
We're really lucky that Oracle are investing so much money on pushing the limit of Java performance, and that they make the vast majority of it open source. Few companies have the money and institutional knowledge to do this.
Imagine if the free version of gcc or clang had some of the performance improvements that only come with forked versions available from OEMs.
This free beer mentality is damaging for software tools, thankfully one can still work for corporations where money is no problem and thus have access to nice tools.
I rather prefer that fellow developers get paid the same way I enjoy being paid as well, and yes I don't have any issues being that SAP guy if it much be so.
Being useless or not, is a matter or perspective, and I find sad that in forum tailored for creating new business, so few people are willing to pay for their tools.
What is the history of these two projects? Was ZipPy abandoned in favour of GraalPython? (And if so, why?)
[2] https://medium.com/graalvm/how-to-contribute-to-graalpython-...
Does this get rid of the GIL?
From what I can see in ZipPy it's leveraging Jython at least partially, whereas graalpython wasn't (presumably written as a fairly clean implementation?)
This is great, I'm in love with the idea of something like Jython for Python 3. I want to love python more than I already do, and with type checking sorta creeping into the understanding of the userbase, I'm hopeful still.
I'm gonna try this out later and see what kinda numbers this thing can actually do.
Edit: hm, this hasn't actually been touched since 2018, that's not good.
I'm glad to know, I had no idea, I thought ruby had the Graal situation monopolized.
Where could I find out about developing for Graal? If I had a custom vm for my own language, how could I go about moving to Graal?
Perhaps such a thing is not done, and I'm just ignorant to it.
http://cesquivias.github.io/blog/2014/10/13/writing-a-langua...
http://cesquivias.github.io/blog/2014/12/02/writing-a-langua...
https://www.graalvm.org/docs/graalvm-as-a-platform/implement...
The Python smart contract framework is called Brownie.