3 ms·
Have recently been trying out Micronaut [1] which is a similar idea. However Micronaut does not use Graal and manages a very similar memory footprint [2]. So I
by zmmmmm 8y ago
Have recently been trying out Micronaut [1] which is a similar idea. However Micronaut does not use Graal and manages a very similar memory footprint [2]. So I don't think you necessarily need Graal to achieve just that.
I have actually been surprisingly happy with my initial experience with Micronaut. It is clearly engineered as a next-generation framework where all the defaults are set to exactly what you want to build small microservices right from the start. I am using Groovy and it still starts up in ~ 1 second with minimal memory use.
[1] http://micronaut.io/ http://micronaut.io/
[2] https://jaxenter.com/micronaut-framework-microservices-142457.html https://jaxenter.com/micronaut-framework-microservices-14245...
- needusername 8y agoIt looks as if Micronaut is using compile time class generation through annotation processors. This explains a lot as this probably removes a lot of not all of their reflection at startup and runtime. This seems to be the right way to do things in Java to me since I learned about Dagger https://github.com/google/dagger https://github.com/google/dagger
- joemccall86 8y agoThey are also working on graalvm compatibility, as of late July.