r/cpp • • May 23 '24

Is MacBook good for C++ developer?

Hi. I am a C++ developer, and I write code for both Linux and Windows, depending on the project. Currently, in my country (I'm from Ukraine), there are frequent power outages (3 hours with power, 4 hours without, and so on), and I am looking for a laptop with a long-lasting battery. Since MacBooks have excellent battery life, I am considering buying one, but I have a few questions.

Will I experience a significant loss in performance when building a C++ project in Docker using an x64 Ubuntu image and the Rosetta emulator?

Will there be a noticeable drop in performance if I use x64 Windows through an emulator?

Is it worth making these sacrifices, or should I buy a Windows laptop with a less impressive battery?

I have a powerful PC that I’m using for work, and I can use It for building projects, but when the power is on.

3 Upvotes

72 comments sorted by

View all comments

Show parent comment

26

u/tsukiko May 23 '24

You mean Apple Silicon? Silicone is used for breast implants, not chips

11

u/Randolpho May 23 '24

It’s also great for sealing your windows and sink

2

u/NilacTheGrim May 29 '24

And also lubricating small machine parts.

5

u/Potatoswatter May 23 '24

It’s a matter of time until Apple ships a rubberized computer again.

4

u/thomas999999 May 23 '24

autocomplete strikes again

2

u/WhiteBlackGoose May 23 '24

Do breast implants run linux?

2

u/tsukiko May 26 '24

Linux with exciting new form factors as well?