Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



I 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.


> 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...


3,757 what? KB, MB, GB, TB, PB, LOC, hours to download?


On 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.


LOC + Dependency LOC, it seems.


> 3,757 what?

3,757 of reading comprehension.


LOC




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: