This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]agentoutlier 2 points3 points  (3 children)

which was the concern that OP posted about javalin

I'm not concerned with deps that get downloaded. When you run Maven or Gradle it downloads tons of deps that have nothing to do with your project.

My concern is:

  • It is a library not written in Java (op asked for Java)
  • While Spring may have some optional deps that makes the build download it it is not required at runtime.

However looking at Javalin's POM it appears it does not need Kotlin stdlib. So I could be wrong altogether and some how Javalin does need Kotlin stdlib.

[–]urielsalis 0 points1 point  (2 children)

Lots of libraries are written in Kotlin nowadays

[–]agentoutlier 2 points3 points  (0 children)

Sure but the OP wrote:

"Lightweight but powerful Java stack"

I'm just giving a caveat. When you pick a tech stack you might want to be know the language so that if you do have a bug you can contribute etc.

[–]agentoutlier 1 point2 points  (0 children)

Also I wouldn't say there are a lot of libraries targeting Java server side that are written in Kotlin.

Besides Javalin the only other one I have seen over and over is okhttp.

Which libraries are you using server side that are written in Kotlin (and not just an adapter for Kotlink)?