Micronaut
Energy-Languages
Micronaut | Energy-Languages | |
---|---|---|
50 | 37 | |
5,951 | 668 | |
0.4% | 0.4% | |
9.9 | 0.0 | |
3 days ago | 7 months ago | |
Java | C | |
Apache License 2.0 | MIT License |
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.
Micronaut
-
Javalin β a simple web framework for Java and Kotlin
Micronaut has a share of the space too.
https://micronaut.io/
However, youβre right that Spring Boot has the lions share of the Java ecosystem.
-
Spark β A web micro framework for Java and Kotlin
I've used vert.x in a big project once. I don't ever want to do that again. Performance is pretty good, but the developer experience is beyond clunky.
My current favourite Java server framework is Micronaut.
Great performance and easy to develop for!
https://micronaut.io/
- Java 21 Released
-
Java consumes 38x less energy than Python
I wonder how much you'd save with Micronaut: https://micronaut.io/
> Micronaut is a software framework for the Java virtual machine platform. It is designed to avoid reflection, thus reducing memory consumption and improving start times. Features which would typically be implemented at run-time are instead pre-computed at compile time.
https://en.wikipedia.org/wiki/Micronaut_(framework)
I don't think you'd go down to 9, but something like 20-30 could be doable.
-
mlfx FXML compiler
I'd like to introduce my project. It is called mlfx. It can compile FXML ahead of time. It is basically an annotation processor, which internally uses Micronaut framework's AST abstraction and compiles fxml files directly to JVM bytecode. This decreases UI load time and also helps with native-image reflection configs. It also has some compliance tests that load compiled code and check resulting object graph against one loaded by javafx-xml. It also has some drawbacks now, but, please, read README. Now I'm successfully using it in two production projects.
-
What other programming languages/frameworks do you enjoy besides c#/dotnet?
https://micronaut.io/ https://quarkus.io/
-
Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
when it comes to full stack frameworks, Micronaut(https://micronaut.io/) is actually good and pleasant to work with.
-
Tech-stack for web application using Kotlin?
For the server Quarkus and Micronaut might be interesting besides Spring Boot. Quarkus is more popular and backed by RedHat (so probably here to stay).
-
Top 5 Server-Side Frameworks for Kotlin in 2022: Micronaut
π₯ Spring Boot π₯ Quarkus π₯ Micronaut π Ktor π http4k
-
Would love some guidance in how to get started with building web projects with Java.
Spring boot is still The King. Although I've not done more than hello world with Micronaut, it might have easier learning curve than Spring (and concepts are similar to Spring so you can carry over later to learn Spring). It could also be a useful skill in world of microservices these days.
Energy-Languages
-
C Is the Greenest Programming Language
Looking at the benchmark where C++ is worst compared to other languages, it's depending on the library used. I would guess if they used Google's re2 Regex library instead of Boost's, the result would be different.
https://github.com/google/re2
https://github.com/greensoftwarelab/Energy-Languages/blob/ma...
-
General Availability of the AWS SDK for Rust
Trawling through the wayback machine, I did find that the older pages link to https://github.com/greensoftwarelab/Energy-Languages, which does seem to provide the contents of the specific programs used and the benchmarking software. Excellent.
-
Java consumes 38x less energy than Python
> β¦ not β¦ primarily an issue with means vs medians
We're comparing averages, why would we bother so much about the cause of an outlier.
> you linked directly to the C++ code for spectral-norm
You had linked to the wrong C and C++ code for spectral-norm, I linked to the code that was actually used.
> The time ratio of the Benchmarks Game fastest C version to the slowest C++ version is over 16x.
Again, you seem to be looking at the wrong repo.
The authors of "Energy Efficiency across Programming Languages, SLEβ17" provided this repo β
https://sites.google.com/view/energy-efficiency-languages
https://github.com/greensoftwarelab/Energy-Languages
-
Racket: The Lisp for the Modern Day
https://github.com/greensoftwarelab/Energy-Languages/issues/...
-
Is your language eco friendly?
The paper authors provided a repo for the source code they used: https://github.com/greensoftwarelab/Energy-Languages
- Reasons you prefer Golang over Java?
-
I don't hate it. But I can't deny it.
The study made their own measurements. They did not re-use measurements made by the benchmarks game.
-
Energy Efficiency across Programming Languages [pdf]
One of the JavaScript programs at least was concurrent, whereas the TypeScript equivalent was synchronous. No wonder there's a difference...
Haven't looked closely at the other problems, but it's apparent to me that the solutions are not even trying to be similar, so comparing their efficiency is near useless.
the problem in question was the k-nucleotide one, IIRC:
https://github.com/greensoftwarelab/Energy-Languages/blob/13...
-
How to install libraries into a common directory so that they can be targeted by an -L flag to rustc?
I've been trying to replicate a study on energy usage (alright, it's that study on energy usage) and I've hit a bit of a snag while trying to compile the Rust components of the project. Instead of using a Cargo.toml and building with cargo, the authors have decided to use a Makefile and manually pass flags into rustc.
-
Greenest programming languages: a reason to support JavaScript over TypeScript
Here is an issue from the repo with the code they used: https://github.com/greensoftwarelab/Energy-Languages/issues/34
What are some alternatives?
Quarkus - Quarkus: Supersonic Subatomic Java.
SGDK - SGDK - A free and open development kit for the Sega Mega Drive
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
gdnative - Rust bindings for Godot 3
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
racket-binfmt - A binary format parser generator DSL with support for limited context-sensitivity.
Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
Programming - This repo contains my Projects and practice code of various languages which I have learned during my Graduation in Computer engineering.
Nacos - an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
OTA_update_STM32_using_ESP32 - Program STM32Fxx MCUs Over-the-Air using ESP32
JaCoCo - :microscope: Java Code Coverage Library
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266