Viewing profile — tipsee
tipsee
HN member- Joined
- Sat, Oct 04, 2014, 9:24 AM UTC
- HN karma
- 316
- Public activity
- 53 items
- HN profile
- View on Hacker News ↗
About tipsee
No profile information was provided.
Recent public activity
-
comment
Comment #47138654
I've been working on this since 2017, the last release has been much slower than usual due to changing circumstances in my personal life, so very happy to finally get it out!
- story
- story
-
comment
Comment #33094049
Yes :)
-
comment
Comment #33082119
If I would be using something like `ctx.result(inputStream)` - would it block the [lightweight] thread until all data is written. Or would the handler return and the data transfer …
-
comment
Comment #33074590
Thanks! We had some interest in running Javalin on GraalVM in the past, but no one has updated the tutorial in many years. It used to work though, so I bet it still would, if you r…
-
comment
Comment #33074547
are you using an already-existing HTTP engine, like Jetty or Tomcat? Yes, Javalin is built on top of Jetty. - how do virtual threads fit into a web framework? Most JVM web framewor…
-
comment
Comment #33074440
Fixed, thank you :)
-
comment
Comment #33073828
Thank you! The Vue support is the thing in Javalin I'm the most proud of. There are a hundred web frameworks for the JVM, but none of them have anything close to the Vue support Ja…
-
comment
Comment #33073769
> Just a minor nitpick (for those who care about the details of OpenJDK's development): virtual threads are not Project Loom, but rather one of the JEPs contributed to the JDK by P…
-
comment
Comment #33071999
Rebuild and restart. Javalin itself starts in milliseconds (the test suite starts and stops servers across 600+ tests in less than 10 seconds). If you run in debug mode in IDEA, or…
-
comment
Comment #33071813
Yes, disagree on needing a library. The way your comment was worded made it seem to me like you were saying all serious Java applications need a DI library, I'm sorry if I misunder…
-
comment
Comment #33071626
Hard disagree on needing a DI library, manual DI is great.
-
comment
Comment #33071195
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 …
-
comment
Comment #33071083
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 downloa…
-
comment
Comment #33070805
It does :) We use reflection to build the Virtual Thread Factory if the user has Loom enabled in their enviroment: https://github.com/javalin/javalin/blob/master/javalin/src/m...
-
comment
Comment #33070786
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).
-
comment
Comment #33070694
I respect Vert.x a lot, so I'm flattered, but Vert.x is a huge beast with focus on performance. Javalin is basically a tiny UX layer on top of Jetty. I don't think they are very si…
-
comment
Comment #33070156
Yeah, no, he was 100% correct, I was just looking at the wrong snippet. It's been fixed now :)
-
comment
Comment #33070038
> Closures defined only by the arrow are a Java thing... or so I thought. :D In fairness, I think you did copy the Java version. There's a little switch in the code boxes where you…
-
comment
Comment #33069944
Hey, thank you for using it. Single-page docs are also my favorite, and Javalin/jdbi/SQLite is my goto for quick stuff! > but with a very persistent project manager Your partner? :…
-
comment
Comment #33069887
I'm not super sure what you're asking, but Javalin doesn't care at all about your directory structure. You can add it as a dependency to any existing gradle project you have, and i…
-
comment
Comment #33069303
Both inspired by Sinatra, the OG :)
-
comment
Comment #33069024
Seems to compile fine here, what's the issue? Edit: I was looking at the wrong snippet, the offending snippet has been fixed.
-
comment
Comment #33069001
Javalin offers way less, it's more or less just the web routing layer. No databases, no ORM, no config loading, etc.