
⏩ Going native with Spring Boot on Mac M1
👉 Intro
I recently saw a great Spring blog post aboutBuilding Native Images with GraalVM and Spring Native on Apple's M1 Architecture.
In the same time we are investigating on porting some of our (innovation dedicated) existing Spring Boot based APIs toSpring Native, see related content :


Knative : the easy way to serverless a java app
Daniel Santos for opt-nc ・ Mar 4 '22
As one of our developers works on an Mac M1, we wanted to give it a try to see what would happen.
This short blog post is about that short experimentation.
🎞️ Build & Run : 2' speedrun
Finally we could enjoy the full and smooth cli based experience :
- Setup Java runtime withGraalVM
22.0.0
withsdkman - Build & Install native image (and see resources used : time & memory)
- Boot the API (
0.4
s.) - Perform a first REST query (
0.007
s.) withhttpie
- Perform a second REST query (
0.003
s.)
Let the show begin :
🍏 More about Apple M1
You can get a full intro/deep dive on Apple M1 Ultra architecture thanks to this greatComputerphile episode :
🔖 Resources
Top comments(2)

- LocationNouméa, New-Caledonia
- PronounsHe
- WorkDivision manager at OPT-NC New Caledonia
- Joined
GraalVM@graalvmGreat news — IntelliJ IDEA can now help you with debugging GraalVM Native Image executables!🎉
We are happy to collaborate with the @Intellijidea team to provide GraalVM users with the best developer experience.
Learn more:blog.jetbrains.com/idea/2022/06/i…17:36 PM - 17 Jun 2022

- LocationNouméa, New-Caledonia
- PronounsHe
- WorkDivision manager at OPT-NC New Caledonia
- Joined
For further actions, you may consider blocking this person and/orreporting abuse