Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tipsy-
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
tipsy-
8y ago
Happy to hear it!
2.
▲
by
tipsy-
8y ago
Happy Monday Hackernews! Last November I released my first serious open source project, Javalin. Since then the project has gained ~400 commits, ~25 contributors, and ~150 forks. ~200 issues have been closed and ~100 PRs have been merged. H
3.
▲
Show HN: Javalin 2.0 – A Kotlin/Java web framework
(javalin.io)
15 points
by
tipsy-
8y ago
|
3 comments
4.
▲
by
tipsy-
9y ago
Javalin is better suited for smaller/simpler projects (the library is a lot easier to understand and easier to setup). Vertx is a lot more powerful. If I ever found myself in a position where I'd need to create a massive and perfo
5.
▲
by
tipsy-
9y ago
Thanks, I appreciate it.
6.
▲
by
tipsy-
9y ago
You can add them before starting the server if you want. I usually put them after just because I like separating them out. Should only take a few milliseconds to add them.
7.
▲
by
tipsy-
9y ago
Thanks! Java8+ is what you make of it really. The syntax and standard APIs are still a bit clunky compared to $otherJvmLanguage, but you can make great APIs in Java.
8.
▲
by
tipsy-
9y ago
Okay, poorly worded. I think (please correct me if I'm wrong) that in play you have distinct parts of the code-base that are for Java developers, while other parts are for Scala developers. In Javalin, although some parts are written i
9.
▲
by
tipsy-
9y ago
I'm slightly biased of course, but Javalin is just a lot simpler to use. That might be because it's inherently simpler, or because Ktor's docs (as you pointed out) are very incomplete. I've tried to setup simple apps in
10.
▲
by
tipsy-
9y ago
Thanks! Yeah, I had to leave a few parts as Java in order to get the interop right. Anything that takes an functional interface needs to be Java, so the main API entry points are all Java. Most other classes and all internal code is Kotlin.
11.
▲
by
tipsy-
9y ago
> for sure, Jetty provides a lot of convenience classes on top of that plumbing That's really the benefit. I have been using jetty for years. I trust them a lot more than I trust myself to create a web-server. If I were to write eve
12.
▲
by
tipsy-
9y ago
It's not that much more work. You have to be careful with a few concepts (like SAM/Functional interfaces), but most of the time you can just write in Kotlin. I want to support both because a lot of companies are probably like the
13.
▲
by
tipsy-
9y ago
Sorry about that. Getting people to participate on GitHub is pretty hard. I feel dirty for doing it, but it helps.
14.
▲
by
tipsy-
9y ago
That's the point. It's not a framework for kotlin purists, but for java-shops/java-devs who want to try out kotlin. It should work more or less the same in both languages.
15.
▲
Show HN: Javalin 1.0 – A Kotlin/Java web framework
(javalin.io)
271 points
by
tipsy-
9y ago
|
87 comments