Get the latest tech news

macOS Tips for Programmers: Threading


Most people writing code that ends up running on macOS machines aren’t super familiar with the operating system, its unique features or its rough edges. That’s okay! If you’re a programmer using macOS and your code will actually end up running on a Mac rather than a server somewhere or whatever – even if your software isn’t a user-facing graphical application – then this post is for you.

Most people writing code that ends up running on macOS machines aren’t super familiar with the operating system, its unique features or its rough edges. If you’re a programmer using macOS and your code will actually end up running on a Mac rather than a server somewhere or whatever – even if your software isn’t a user-facing graphical application – then this post is for you. Their processors have a massive dynamic range in power consumption: the CPU in my laptop, a 10-core M1 Pro, can scale from consuming 10 mW sitting on the desktop to 40 W at full tilt, a ratio of 1 to 4,000.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of programmers

programmers

Photo of threading

threading

Photo of macOS Tips

macOS Tips

Related news:

News photo

State of Python 3.13 performance: Free-threading

News photo

Will AI replace programmers? Don't count on it, says Google's CEO

News photo

Why Copilot Is Making Programmers Worse at Programming