by never_inline · 3y ago · 0 comments
I understand Julia is much more dynamic language. But Java JNI can do this too. You have to attach the thread manually, and take care of pinned references.
That's correct. As you said elsewhere, lot of it pins down (!) to design of Java. There's direct byte buffer, but you have to architect your code around nio APIs to utilize it.
But we were talking about working with native threads.
Are there any safety reasons for it or is it just a sign of its age?