Re: KPathSea bindings for Java

Deyan Ginev <[email protected]>
Newsgroups gmane.comp.tex.texhax
Message-ID <CANjPgh8qffGkKANpu5qTwe4Tw-U25xcoavgEAeU_mnvxzMGPmw@mail.gmail.com>
Hi Karl and Erik,

"jk" is very commonly used to abbreviate "joke" in the English speaking
world, and would be a rather unfortunate prefix.

I completely agree that a wrapper over kpathsea should include the original
library name fully, having created a "rust-kpathsea" myself.

How about just adding a "java-" prefix or "-java" sufix? Or if "4j" is
considered most javaesque, "kpathsea4j" should be fine as well.

Greetings,
Deyan


On Sat, Jul 20, 2024 at 5:38 PM Karl Berry <[email protected]> wrote:

> Suppose someone (else) wanted to create a JNI interface for, say, TeX
> typesetting functionality. In theory I agree it would be ideal, from a
> software engineering point of view, if this ended up as a single project
> that included both the jkpathsea and the new typesetting stuff, but in
> practice, how likely is that? In my experience ... hardly at all. People
> always want to set up new projects in ways that they understand, they
> control, etc. The amount of duplicated code in the world (TeX and
> otherwise) because of this is ... staggering.
>
> Thus I don't think it would be bad for everything about this to be named
> "jkpathsea"? "tex4j" sounds to me exactly like some sort of Java
> implementation/library for all of TeX, and it isn't. Wdyt? --best, karl.
>
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.