![]() ![]()
So, I would expect this to get even faster once there are ARM builds of Node available for macOS. And then I remembered that the Node binary was the 圆4 version, meaning that part of this process is running through the Rosetta translation layer. But I didn’t expect performance from a $700 Mac mini to equal the performance from my $4,500 iMac that has 8x the RAM of the Mac mini. Now, looking back on it, we know that the M1 has ridiculous single-core performance based on benchmarks, and I should have realized that would make a difference. But, to my surprise, the M1 Mac actually beat out the 10-core iMac, running a production build in 1:14. So I was thinking it would take 2–2.5 minutes on the M1 Mac. #INTELLIJ IDEA APPLE SILICON FULL#Running a production build, which includes full minification, takes usually around 1:40 on my iMac. Coming from a 64GB, 10-core Mac, I expected the M1 machine to lag behind a bit in speed. Thanks, Eirik!Īnd once I updated my Maven file to use the new version of the plugin, it all just worked. #INTELLIJ IDEA APPLE SILICON UPDATE#I found the plugin I use, frontend-maven-plugin, did some quick modification to the code to use the 圆4 binaries on Apple Silicon (and added a calendar event to remind me weekly to check for Apple Silicon native binaries so we can update the plugin again once they are available), submitted a pull request, and thankfully the developer accepted it and released a new version within hours. Because it was detecting an ARM CPU, it was generating a download link for a Darwin ARM64 build of Node, which doesn’t exist. Everything seemed to be going smoothly, until I got to the part where it tried to download the Node binary. Downloading the DMG, the installer put the JDK into the correct location and Java was up and running natively on ARM within a minute. Thanks to Azul, their Zulu builds of OpenJDK are already running on ARM (Java 8, 11, and 13 are available, along with an early access version of Java 16). I knew there were going to be some bumps along the way trying to get this thing to build on an Apple Silicon Mac. My current main development machine is a 27" iMac with an Intel Core i9 (10-core) and 64GB of RAM that I just bought in August after the last iMac refresh. All of this is built using a single Maven script to pack it all into a fat JAR that is easy to deploy to AWS. I also do frontend development for this application, which uses Webpack to do minification and all that jazz. My main development environment is IntelliJ IDEA, and I use JDK8 and Kotlin 1.4. #INTELLIJ IDEA APPLE SILICON SOFTWARE#Here’s my experience.įirst off, I’m a solo Java developer creating an internal software tool for a food manufacturing company. Being a curious Java engineer, I knew I had to give it a try. For a price of $99/month, you can rent an 8-core, 8GB memory, 256GB SSD equipped Mac. On December 15, I noticed that MacStadium had Apple M1-powered Mac minis available in their data centers. ![]() Update with Apple Silicon native Node from Decemat the end of the article. ![]() About screen for IntelliJ IDEA showing it running natively on Apple Silicon ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |