Toward distributions of native libraries
Samuel Audet
samuel.audet at gmail.com
Tue Jan 22 09:01:09 UTC 2019
On 1/19/19 6:12 AM, John Rose wrote:
> Life is risky, and sometimes you hit a dead end. You are asking "what
> if there's a dead end here for a non-static API w.r.t. performance",
> forcing us to refactor the whole thing. "What if" indeed. I suppose we
> differ about the probability of a disruptive refactor. I think it is
> vanishingly unlikely, given the large bag of tricks the JVM has to
> optimize dynamic code as if it were static. So the "what if" question
> is uninteresting to me.
JIT, sure, but AOT? Well, I'm starting to believe you :)
I did a bit of benchmarking here:
> JNI time = 28
> C time = 10
> dummy time = 10
> native time = 7
https://github.com/oracle/graal/issues/885#issuecomment-456299353
Samuel
More information about the panama-dev
mailing list