Re: KPathSea bindings for Java

Erik Nijenhuis <[email protected]>
Newsgroups gmane.comp.tex.texhax
Message-ID <[email protected]>
Hi Karl,

On Tue, 2024-07-09 at 16:48 -0600, Karl Berry wrote:
> Oh. We don't distribute any binary libraries now, and I think building a
> library for distribution across all our platforms is a stopper. 
> Not ground I want to break. Sorry! --best, karl.
Darn, I tried to do the equivalent of lkpselib.c (LuaTeX), but then the Java
way. Of course Java will never do bindings as well as Lua, but it's still way
faster than pure Java implementations. It wasn't my goal to create a Java TeX
compiler though ;)

I can however create a fallback implementation, which simply calls kpsewhich in
a Java Process in case the jkpathsea library is unavailable. That would still
honor the security measures of KPathSea. Then TL simply doesn't have to ship the
binary lib, but if it's found it will be used.

Regards, Erik
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.