Has anyone looked into whether the shared stubs idea in The Java Native
Interface (section 9.2) makes sense for this project? Basically it
would move much of our C code into Java, with what should be a very
small performance penalty for native type wrapping (an Integer for each
int, for example).
I looked into converting the asm_dispatch method into GCC-style inline
assembler, but can't find much documentation on the AT&T style assembler
used in GCC. Being an old Intel assembler guy, it looks quite strange.
Still, if there's interest, I'll keep pursuing it...
Tom
|