M1 Max | Why is compiling slow?

Поділитися
Вставка
  • Опубліковано 11 лют 2025

КОМЕНТАРІ • 58

  • @AZisk
    @AZisk 3 роки тому +13

    Your videos are getting more and more awesome! Keep it going!

    • @somehrjdbddhsjsbnsndndk751
      @somehrjdbddhsjsbnsndndk751 2 роки тому +1

      But you are still the number one source for everything that has to do with performance when it comes to macs and programming.

  • @acsmars
    @acsmars 3 роки тому +28

    I'm embarrassed as a java dev that I just learned about oh my zsh and sdkman. This video was immensely helpful, thank you

    • @D3VTec
      @D3VTec  3 роки тому +4

      This makes me so happy! I was hoping to help someone with the pains I have experienced in the past!

  • @GrudikCZ
    @GrudikCZ 3 роки тому +1

    Thank you. I was angry when I compile code same time as always. Now it's from 1 minute 49s to just 38s! Really helpfull.

  • @lalitac
    @lalitac 3 роки тому +5

    Such an informative video! And not to mention the production quality has improved A LOT! Didn't knew Rosetta 2 can be this slow. Well, I'll be purchasing the M1 Max MacBook Pro 16 during Fall 2022 so hopefully by then we would have a lot more native softwares for the Arm architecture. You make awesome videos! Just keep doing!

    • @D3VTec
      @D3VTec  3 роки тому +1

      Yay! You will be happy with the purchase regardless Lalita! Thanks so much for your support!

  • @ef20syxalag
    @ef20syxalag 3 роки тому +13

    Leaps and bounds ahead, compared to what your - even a little back - older videos were like from a production value standpoint. The camera angles, coloring, texts and animations are very well executed. Also, your geniune personality and sincerity really oozes a friendly vibe, love listening to your insights. Although I don't understand the majority of the programming stuff you talk about, even though I work with programmers and their stuff (technical writer at a telco multi). You inspire me to start messing around with programming, although I have no idea where to start doing that. :D keep it up, loving what you are doing here.

  • @Aselia-q6w
    @Aselia-q6w 3 роки тому +1

    Talking about Alfred felt almost like an ad where I just started skipping, and by the way, I'm so happy for you, that your channel is growing, love to watch what you're working on, and the tests that you're doing, at least till APPLE decide to ship my freaking machine, but till then, I guess I'm sticking here, another man's mis fortune, is another's treasure.
    OR so they said!
    Great video!

    • @D3VTec
      @D3VTec  3 роки тому

      Oh man. I'll totally try not to make it feel like an ad next time. I believe in the product I think Alfred does a great job helping me become more efficient. So sorry to hear that your machine still hasn't shipped I hope you get it soon

  • @TaylorBrauer
    @TaylorBrauer 3 роки тому

    Neat comparison of the two. I didn't know about the settings to filter down to native jdks. Your videos are really good and this is one is on another level!

  • @drprince8766
    @drprince8766 3 роки тому +1

    Are you okay.? No videos uploaded lately. Stay safe. This raising covid is really upsetting.!

  • @mirrormirage0
    @mirrormirage0 3 роки тому

    This is the only Mac video I need as a programmer to make an informed decision. 👍 Thanks

  • @stolt6399
    @stolt6399 3 роки тому

    Thank-you for propagating this. Was just explaining this to a friend the other day that was wondering why their old i7 was quicker. Also, for Oh My Zsh and SDKMAN.

  • @stevvns
    @stevvns 3 роки тому +3

    Beautifully done video - interesting, engaging and useful!
    Funny thing that i9 was somewhat buffed in this test by the lower temperature that kept it from overheating :) Just kidding, I don't seriously consider that the temperature affected the results of the test :D
    Thanks for the video!

    • @D3VTec
      @D3VTec  3 роки тому

      That is actually a really fun thought though. Thanks so much for the feedback Vladimir!

  • @joedhoe
    @joedhoe 3 роки тому +5

    I've seen some youtubers recommend alfred but none of them showed anything useful they do with it, just that it is amazing. Can you make a video about what you use it for and why you recommend it over the default spotlight or spotlight with the native shortcuts app?

    • @D3VTec
      @D3VTec  3 роки тому +2

      Yes, I really should do this. It is integral to my workflow it deserves its own _spotlight_ :-D

  • @ritwik5774
    @ritwik5774 3 роки тому +1

    really well made video, and pretty helpful too!

    • @D3VTec
      @D3VTec  3 роки тому

      Thank you Ritwik!

  • @brunojcm
    @brunojcm 3 роки тому

    You chose a J9 JDK to be the "non-native" one, any reason for that? Why not just the most recent Temurin 11?

  • @yuriyyermilov7808
    @yuriyyermilov7808 3 роки тому

    This also shows how slow javac is... on modern machines java tooling costs a ton. Gr8 vid, thank you.

  • @producdevity
    @producdevity 3 роки тому

    You mentioned an awesome keyboard for Mac users but I've been looking for it for 30 minutes but can't seem to find the video where you were talking about it. I think it started with a D but I am not sure. Do you know which one I mean?

  • @igordasunddas3377
    @igordasunddas3377 3 роки тому

    I actually used a vast amount of shells in my past and the auto complete feature is pretty standard even to bash (on Linux, I have never used a Mac long-term).
    Judging by the results you presented, I am happy I asked my company, that I am switching to, to get me an i9 Mac instead of the M1 (I don't believe they already have the M1 Max ones), because while I might find most of the tools for ARM64 native (like the JDK you mentioned), I am sure there will be some, that aren't.
    Our application is huge and I want something reliable and proven. Sure, I might switch to a M1 device later, but since I am coming from Windows (sadly all dev laptops in the company I'll work for and the one I currently work for allow only a choice between Mac and Windows), I sure will be happy if not everything changes all at once.
    Anyhow: thanks for the videos, especially the M1-related content, because sure enough I am definitely watching the M1 dev stuff, but I am not yet eager enough to try it out myself.
    Btw.: I am a Fullstack Developer, too.
    Thanks for the videos. I'm already subbed 👍😊

  • @AcePineda
    @AcePineda 3 роки тому

    I find your videos very professional. I'm a fellow Java developer and eagerly waiting for my m1 max macbook to be delivered tomorrow. Hoping that my workflow and tech stacks will work without major issues. my stack btw consists of Java, Docker(nginx, keycloak, mysql(this is im worried about), Vagrant, JBoss seam and sideline projects with Spring Boot.

    • @igordasunddas3377
      @igordasunddas3377 3 роки тому

      I thought MySQL/MariaDB is somewhat based on Java, so it should be fine, since Java is bytecode interpreted by your machine? So installing this Zulu- or w/e it's called version of the JDK (possibly even only the JRE) should be enough?
      I'd probably be a bit more concerned about virtualization and it's performance, because I don't know if one can run e.g. alpine Linux containers on Docker for ARM64. I also don't know if Windows containers work on a Linux host, but in this case at least the hardware should support it.
      Also not sure whether Vagrant will work. It'd be cool if you could share your findings somewhere, because this is also part of the stack I am using.

  • @drjones694
    @drjones694 3 роки тому

    Wow great video never knew the different downloads were an option and they make a huge difference.
    Have to be honest i am stuck trying to decide, coming from a 2012 with 16GBs RAM and SSD gets the job done
    but I want to upgrade so bad not sure if I should by the base M1 Pro 16 with 32 GBs of RAM for docker dev and some android iOS dev and davinchi resolve for videos
    or just go all out best M1 max 64 GBs of RAM
    and can keep it for 5-10 years which will happen either way
    the cost ranges are so tuff and high to make the final decision and hit the button...
    thanks for all the great content it is so appreciated from a day to day developers perspective actually living with the things

  • @mateusquaresma7357
    @mateusquaresma7357 2 роки тому

    Nice info! Did you notice any issues when building and using docker images or using any command in a terminal, I'm considering the move, but I'm afraid to end up losing a lot of time trying to figure out ARM related issues instead of getting the work done!
    Thanks!
    PS: Loved the garage project!

  • @arminkeyvanloo1151
    @arminkeyvanloo1151 3 роки тому

    Very helpful. Thanks!
    Had a question, is there a way to fix the same JVM compatibility/performance issue for a Docker container that runs java?

  • @localblackman427
    @localblackman427 3 роки тому

    When did you discover this? Has it been the whole time or recently?

  • @user-jm6gp2qc8x
    @user-jm6gp2qc8x 3 роки тому

    M1 max 16 inch arrived, was feeling overwhelmed as I was a pc user, now learnt all the keyboard shortcuts, system prefs, basic softwares used in college and trying out parallels trial now. Any other app suggestions or any suggestions regarding macos in general would be much appreciated 🙂

  • @kamurashev
    @kamurashev 3 роки тому

    I love your videos so much especially IntelliJ one. What I can not find is the comparison between latest intell cpus say 11900/11800h vs m1pro/max for jvm based development, if you have a chance could you please film something like that, it would be much appropriated!!!

  • @JBravo69
    @JBravo69 3 роки тому

    I’m gonna replace my MBP 2015 w/ MBP 2021 and was thinking of using my old MBP as a server to which one of my colleagues can remotely connect and work on Xcode. He’s on a Linux and in another country. Is this possible?

  • @kingofcampbell6413
    @kingofcampbell6413 3 роки тому

    we should do more testing about other languages, willing to help if we can do something.

  • @ScottGrunwald
    @ScottGrunwald 3 роки тому +1

    Awesome video, the java stack doesn't apply to me, but I still find your videos very insightful and interesting. I'm a c# / dotnet developer who does a lot of native cross platform work. I need to stay on x86 architecture with my 2019 i9 32gb to run windows 86 virtualized when needed. One day everything will be ARM as competitors make ARM mainstream. Until then I'll be using my intel Mac.. Who knows how long entire tech stacks will run ARM natively. Anyway, those new Mac's and ARM SoC's are impressive as fuck. Enjoy my man!!

  • @Aselia-q6w
    @Aselia-q6w 3 роки тому

    Most of my work is related to swift, and Xcode,e so having the m1 max would be great and would make things faster and easier to work, since I got an apple device, to make something for the apple platform, I do simple things that are related to web dev, maybe some html and css plus the casual PHP and SQL, but yeah, that was actually super cool, and for the give aways, like I get it you want to people to follow you somewhere else, but that is a hassle, most of us just use UA-cam and UA-cam only, so keep on that end, and call it a day, instead of jumping hopes around

  • @gongzhang8633
    @gongzhang8633 3 роки тому +1

    Hi, Bob, 😄 I have watched all of your episodes carefully and I really enjoy your videos. I've noticed that the style of your video this time is a bit different, a bit like unbox therapy maybe, and although their videos are always of high quality, for some reason I always find them a bit annoying. I would actually prefer that you keep the original style of your previous videos. I hope you will consider it. (My English is not good, I am not sure if I have expressed my thoughts correctly, please forgive me 🙏)

    • @D3VTec
      @D3VTec  3 роки тому +1

      Hey Gong, thank you so much for the honest feedback. I am still trying to figure out what kind of style to really stick with, I will for sure take this into consideration for the next video.

  • @rabywuk1
    @rabywuk1 2 роки тому

    Great video

  • @SimplicityForGood
    @SimplicityForGood 3 роки тому +1

    I know my question got nothing to do with this specific video today!
    😂😇
    But when it comes to programming perhaps people that follow along here and work with AI can assist me with some advices of what I should aim for…
    Let me explain my reflections on this configuration issue I have and reasons for asking you guys for help…
    When it comes to hacking, virtual machines, taking control over AI things like drones, robots, Tesla cars, your smart home and hack all these or design them how to understand what matters in the choice of a laptop or desktop cmfguration:
    -should I for example choose a low storage in the laptop and have access to external hard drives and put my money more on have many cores the laptop have, how much RAM it have and how much GPU it has?
    When would 32 gb ram not be enough and 64 gb needed?
    When would 32 cores be actually better than 24 cores?
    When would 1 tb storage not be enough in the laptop and 2 tb better?
    Can someone please give a couple of real life examples of when one part of the computer need more process power and better performance compared to other types of lab projects?
    I like to program both robotics, design 3D models for toys and tools for AI and hack them! 😀
    Shall I then choose for example a MacBook Pro 14 inch Max with:
    2 tb storage
    24 cores
    32 ram
    Or for example rather choose:
    1 tb storage
    32 cores
    64 RAM
    Do you see my point here, can someone please tell me how to best understand and choose the right need of volume/size of the different parts that build up a good computer ?
    I want a computer that is still good for my workflow in 10 years…
    A lot of people state that the 32 cores on a 14 inch new MacBook Pro chassi is going to eat the battery at once and that one should only go up to 24 cores on a 14 inch MacBook Pro with à Max chip… Others say they got a 32 core MacBook Pro 14 inch Max and do not see any issues…
    When one is new to hardware and got a chance to economically choose the best machine for one’s future in programming for robotics, AI. and hacking one feel a bit lost of the overwhelming amount of info on UA-cam today from all kinds of tech channels out there!
    So, I hope to ask here as this is a serious channel where guys get things done and talk intellectually about AI as well as work with it for real and not only got money to buy what ever Apple device that cost the most….
    So, I hope to get some serious replies and advices of what to look out for.
    I cannot buy any other computer than a MacBook Pro or Mac Mini pro if such a machine will be released soon.
    I know very well that for example system 76 is amazing with their Thelio but they do not yet ship to EU and my company are apple fan boys so they buy me what ever Apple machine I choose now….
    I do not care is called apple, is great hardware and I want to get serious in programming these coming ten years on a machine that can take control of Elon Musk space station if ever needed, ha ha or design one myself in 3 D, like a 3 D game for seeing how humans can come to live in better AI controlled environments (something that interest me a lot, automated living environments in decentralized systems) as well but I do not want to waste money on just maxing out a configuration for the sake of doing that, I want efficiency for the things I want to program and hack! 😁
    😘😛 hope you see my point and really hope honest people can advice me right!
    thanks guys!

    • @igordasunddas3377
      @igordasunddas3377 3 роки тому +1

      I'm sorry if my response sounds weird, but: it depends...
      If you think you might need a lot of storage, because e.g. your training data sets are huge, you should get more storage. If you cannot or don't want to upgrade it afterwards, get it ahead of time.
      If you have a lot of training instances for AI stuff, you might need a lot of data available in RAM. If so, get more RAM. I don't really do anything AI-related, but even I wouldn't settle for anything less than 32GB RAM on my work horse, because I can end up running many Docker containers (virtualization) simultaneously.
      Last but not least: if you're buying a laptop and you know you're going to be using it a lot, especially with heavy loads, get the fastest processor you can. On the other hand do note, that the more your hardware does, the faster it drains the battery and - usually - the louder it gets. If you don't move your device too often, perhaps get a quality desktop PC and some average laptop for those few times you need to do something on the go.
      Just thinking.

  • @SwissPGO
    @SwissPGO 3 роки тому

    Another interesting video would be impact of antivirus configurations on compile time. On big projects involving external dependencies, antivirus is a must to protect against supply chain attacks. I've seen crypto miners in external packages, where the maintainer was not doing his job when reviewing code submissions. But worse things could be included.
    So AV is a requirement in many development shops, and it slows down compilation time a lot and finding the right workflow is complex.

  • @woolfel
    @woolfel 3 роки тому +2

    I compared my AMD Ryzen 3700x with 64G oracle jdk11 to my M1 Max 32G UM, 24GPU mbp with zulu. In all of the tests I ran, my M1 max mbp is faster than ryzen desktop. Heck intelliJ runs better on the new M1 max mbp compared to Ryzen 2700x on windows. I pretty much stopped using windows if I'm coding in IntelliJ.

  • @y2an
    @y2an 3 роки тому

    Duh well of course you should use native code. But this is a very small program so there could be startup costs which dominate the results. How does a real world project fare?

  • @giorgio6506
    @giorgio6506 3 роки тому

    Very detailed video, may I know what degrees you studied for in order to achieve the level of knowledge you have as a full stack eng? Thank you! Also, what MCs would you currently recommended? Thank you for your time!

  • @royendgel
    @royendgel 3 роки тому

    Great!

  • @briancase6180
    @briancase6180 3 роки тому

    Bzzzt. No, oh, sorry. But thanks for playing! X64 or x86_64 is actually from AMD. Intel was forced to acquiesce and copy AMD after they came out with a 64-bit extension to the 32-bit x86 and killed itanium, Intel's +and HP's) $10 billion wet dream (and this was when $10 billion was a lot of money).

  • @uhohwhy
    @uhohwhy 3 роки тому +1

    M1 chips only seem fast due to Optimizations and Asics(kinda cheat)

  • @dudblock4201
    @dudblock4201 3 роки тому +2

    Tone down the animations. Too ADD.

    • @D3VTec
      @D3VTec  3 роки тому

      Sure thing, I appreciate you taking the time to let me know. It's difficult to know what the right amount is when editing sometimes x_x

  • @drprince8766
    @drprince8766 2 роки тому

    Try the M1 ultra for faster compilation 😂

  • @tonsab.assist.master
    @tonsab.assist.master 3 роки тому

    Valterri? is that you?

  • @herrxerex8484
    @herrxerex8484 3 роки тому

    If you want to avoid the mouse , use yabai

  • @christostsangaris4785
    @christostsangaris4785 3 роки тому

    If you plan to use Intel based Macs you better not insulate! 🤣🤣

  • @Alperic27
    @Alperic27 3 роки тому

    geeez … another ytube diva…. ‘Lots of overhead’ … to manage jdks…. 🤦‍♂️…….. ‘terminal restart’ ….. geeeeezzz 🤮

  • @haralc
    @haralc 3 роки тому

    One more click-bait title like this and I'm unfollowing.

    • @drjones694
      @drjones694 3 роки тому +3

      the title wasn't click bait in my opinion...
      it was what the video was about...??

    • @D3VTec
      @D3VTec  3 роки тому

      Thanks Harold, I too find click-bait titles annoying. Trying to understand the right combo of correct information, and engaging information is hard!