javalin.github.io
galoisenne
javalin.github.io | galoisenne | |
---|---|---|
27 | 2 | |
35 | 104 | |
- | - | |
8.2 | 9.7 | |
18 days ago | 3 days ago | |
HTML | Kotlin | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
javalin.github.io
- Java EE or Python Django?
- Javalin – a simple web framework for Java and Kotlin
- Spark – A web micro framework for Java and Kotlin
- Javalin: A simple web framework for Java and Kotlin
-
Show HN: Zero-dependency Java framework out of beta
The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_compa...
Reasoning this way about software and dependencies more often seems like a good thing, just so we're aware of what we're actually getting into, especially with projects that use npm.
I actually hadn't heard of Javalin before, which also seems nice: https://javalin.io/
Aside from that, I've also had good experiences with Dropwizard - which is way simpler than Spring Boot but at the same time uses a bunch of idiomatic packages (like Jetty, Jersey, Jackson, Logback and so on): https://www.dropwizard.io/en/stable/
I do wonder whether Minum would ever end up on the TechEmpower benchmarks and how it'd stack up against the other libraries/frameworks there, those benchmarks are pretty interesting.
- Java 21 Released
-
Helidon Níma is the first Java microservices framework based on virtual threads
Counter-example: https://javalin.io/ uses Servlets, and seems to be doing quite fine without annotations.
-
Full Time
Yes, and it was not that well designed to be honest... the successor is quite a lot nicer and it's called Javalin[1].
Same philosophy but just got things right where Spark, being the "first" (in the Java world, using the design inherited by Sinatra[2]) had a few design issues.
[1] https://javalin.io/
[2] https://sinatrarb.com/
- Show HN: Java REST without annotations, DI nor reactive streams
-
Is it just me, or does the Spring Framework lead to hard-to-maintain code and confusion with annotations?
I strongly advocate frameworks like https://javalin.io/ and Jooq (https://www.jooq.org/) if you are going to start a new project in Java.
galoisenne
-
Show HN: Game of Life on non-square topologies with 2^32 update rules
During a recent programming detour, I discovered that finite elementary cellular automata with circular boundary conditions can be simulated using power iteration using matrix-vector multiplication with a circulant matrix and a strange kind of algebra, which I call a kernel algebra. [1] I wonder if this same idea could be generalized to higher dimensional automata on other topological surfaces.
[1]: https://github.com/breandan/galoisenne/blob/8f0f1e9e4e02062c...
-
From zero to 10M lines of Kotlin
Well, I've been trying for about three years, but to be fair I'm a pretty slow programmer so you may have better luck.
> a language being too obscure to have seen much academic study
Doesn't seem too obscure to me.
https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=kotl...
> T isn't generic in that code, it's just a class.
I think it needs to be a generic type in Kotlin for this to work, because otherwise it will dispatch to a single method. It's tricky to get Kotlin to do much compile time computation. Not saying that it's impossible, but LMK when you've actually tried it. Here's some sample code if you want to try encoding a Boolean logic:
https://github.com/breandan/galoisenne/blob/2e465e7a753f6341...
What are some alternatives?
ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
vhs - Your CLI home video recorder 📼
minum - A minimalist Java web framework built from scratch
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Jetty - Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Anki-Android - AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
jbang - Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
KotlinLanguageServer - Kotlin code completion, diagnostics and more for any editor/IDE using the Language Server Protocol
undertow-examples
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort