Live data from Hacker News

Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

javalin.io

51–60 of 139 posts

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#51
post #24

Earlier quoted context omitted.

“An idiot admires complexity, a genius admires simplicity, a physicist tries to make it simple, for an idiot anything the more complicated it is the more he will admire it, if you make something so clusterfucked he can't understand it he's gonna think you're a god cause you made it so complicated nobody can understand it. That's how they write journals in Academics, they try to make it so complicated people think you…

Would prefer if this were worded more simply.

I mean, you see who it’s attributed to…

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#53

I just wanted to say thank you for your work. The straightforward docs are some the best in my opinion when you want to go from "How do I do ..." to answer. I ended up using Javalin with Kotlin and SQLite to build my wedding website. Most of my projects are lucky to see the light of day, but with a very persistent project manager and a simple lightweight framework, I was able to ship a fantastic product with very lit…

just wondering, what did you use SQLite for on a wedding website?

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#54
post #48

Given Project Loom hasn't been available, how does it utilise Virtual Threads already?

If you run this on JDK19 with *--enable-preview*, Javalin will use Virtual Threads for the Server ThreadPool (as well as all other ThreadPools it has).

How does it compare to coroutines in Kotlin?

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#55
post #52

Curious as to what has kept you motivated to continue working on the project this long? So many open source developers don't last nearly as long or jump to something new once the novelty of the project wears off.

I've been dogfooding it hard, which is a great incentive to keep working on it. I think we have 20 Javalin projects where I work. It's also gotten pretty popular lately (3m downloads last 12months), which of course helps a lot :)

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#57
post #48

Earlier quoted context omitted.

If you run this on JDK19 with *--enable-preview*, Javalin will use Virtual Threads for the Server ThreadPool (as well as all other ThreadPools it has).

How does it compare to coroutines in Kotlin?

I mean, it sort of doesn't? Coroutines is a whole concept, Virtual Threads can in most cases just replace java.lang.Threads, which is how it's implemented in Javalin. We just swap out the OS Threads for Virtual Threads.

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#58
post #48

Earlier quoted context omitted.

If you run this on JDK19 with *--enable-preview*, Javalin will use Virtual Threads for the Server ThreadPool (as well as all other ThreadPools it has).

How does it compare to coroutines in Kotlin?

i'd be interested in this too. my guess: virtual threads are slightly more memory efficient and slightly faster, but same ballpark.

Re: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making

#60

I just wanted to say thank you for your work. The straightforward docs are some the best in my opinion when you want to go from "How do I do ..." to answer. I ended up using Javalin with Kotlin and SQLite to build my wedding website. Most of my projects are lucky to see the light of day, but with a very persistent project manager and a simple lightweight framework, I was able to ship a fantastic product with very lit…

just wondering, what did you use SQLite for on a wedding website?

For a website, the question should be why not use SQLite.

Given the various compelling and (by now, here, I hope) well-understood advantages, it should be the default choice. Certainly for a site expecting hits in the mid-hundreds, total. Maybe ten simultaneous connections the day of?

Post reply on HN