lance icon indicating copy to clipboard operation
lance copied to clipboard

A directory for Java/Scala

Open Renkai opened this issue 2 years ago • 4 comments

I propose to create a directory for Java/Scala interfaces, which includes:

  • Rust code for make JNI compatible interfaces.
  • Java code for JNI interfaces.
  • Java code for minimal interfaces that let Java/Kotlin/Groovy users can work with, and we create Scala interface based on them.
  • Scala code for expressive interfaces that let Spark users can work with.

How about name the directory with jvm?

Renkai avatar Feb 27 '23 23:02 Renkai

I vote just call it /scala . Calling it /jvm is strictly less information and no more correct. It means "this is the Scala wrapper" and not "this directory only contains Scala code" - otherwise you wouldn't even be allowed to put txt or markdown files since they're not "JVM".

changhiskhan avatar Feb 27 '23 23:02 changhiskhan

call it /scala is fine for me, for me it implies the directory is optimized for scala users though it's also workable for other jvm users.

Renkai avatar Feb 27 '23 23:02 Renkai

Should a java sdk be the core so that it will be later used by scala / kotlin or sth else?

eddyxu avatar Feb 28 '23 00:02 eddyxu

Should a java sdk be the core so that it will be later used by scala / kotlin or sth else?

I think so, that's one reason I want name it by jvm, create two directories java,scala is not convenient since we may still want them managed by the same build tool(so far I want sbt be the tool).

Renkai avatar Feb 28 '23 00:02 Renkai

Closing due to inactivity. Let's revisit once we have some more details on how to do the JVM integration better.

changhiskhan avatar Jul 02 '23 22:07 changhiskhan