3 ms·
The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_comparisons.md https://github.com/byronka/minum/blob/master/docs/
by KronisLV 3y ago
The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_comparisons.md 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/ 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/ 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.
- karmakaze 3y agoI did a survey of light frameworks and settled on the Javalin + JDBI (from DropWizard) combo. That was at a Spring/Boot shop where we needed something with very short startup time for rapid scaling.
- scoot 3y ago3,757 what? KB, MB, GB, TB, PB, LOC, hours to download?
- voxelghost 3y agoLOC + Dependency LOC, it seems.
- js2 3y agoLOC
- twic 3y agoOn that page it says: > (all measurements of lines of code are for production code - that is, non-test-code) Given that this is Java, the author could have measured the total size of the bytecode, which is probably a more style-neutral way of measuring the fundamental quantity of code.
- lemper 3y ago> 3,757 what? 3,757 of reading comprehension.
- peoplefromibiza 3y ago> Reasoning this way about software and dependencies more often seems like a good thing except I can build the usual Twitter clone in 15 minutes in a couple hundreds lines of code, but then the question is: is it really doing the same thing Twitter does (did at this point)? minimal is good and we all should strive for minimal amount of code strictly necessary, but I'm not sure that 73 lines of code cover every edge corner of templating that Mustache covers or that in 152 lines of code it is possible to replicate PostgreSQL...