iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift (Developer's Library)
I**T
Just a goldmine of usable optimization information that you'll never find anywhere else - phenomenal
I'll just briefly go point by point:-it's not written in beginner language, you need a good general knowledge of computer science and objC to take advantage-though it's primarily about objc, it talks about swift too. You'll learn plenty about both, and most of what you learn has applications in both languages. And alot of what you learn in this book applies broadly - like tagged pointers, for example. Any language that supports pointers can implement that. Smalltalk implements it, apparently-there are so many useful things about performance you'd never find anywhere else and would not think of.-my tests indicate most of the performance issues and optimizations apply to Swift as well as objC, and still hold up today-you might be surprised to learn that ObjC outperforms Swift significantly when correctly optimized (despite the general dogma this is still true today, I've ran the tests myself) - you'll learn there's a serious use case for objC at a time when so many people are saying there's zero reason to ever use it.-you will need to do a slight bit of research a few times in conjunction with reading the book - like on how to compile swift from the command line to run the tests, which he didn't specify, for example. There are also a few minor bugs in some of the code, and he doesn't explain some of his code examples well (not a beginners book). Nonetheless this isn't worth taking off a star, the knowledge in this book is just too valuable-you're just going to gain so much deeper understanding of how these languages work in the process of studying their performance characteristics-he's an expert in performance with something approaching 30 years of experience, was an apple engineer on their performance team...
M**L
The Best Non-Beginner Apple/Cocoa Development Book Available
I hardly ever write reviews, but this book is really excellent. It's the rare programming book that is API-specific but not just a reformulation of the documentation. It's clearly based on long experience and full of information that, as far as I know, is not available anywhere else: measurements, explanations for why things are the way they are, and examples of code that doesn't work the way you might expect. I've been programming Cocoa for almost 20 years, so I had figured out many of the specific points on my own, but I read the book cover-to-cover and don't feel that any of my time was wasted. The writing is concise and filled with little nuggets of insight. The principles are timeless, so I expect this book to remain relevant and even be of interest to programmers using other platforms.
G**E
If you're an experienced iOS / macOS developer you'll find this book to be like an extended conversation with a long-time expert
This book is well written, thoughtful, and accessible to beginning developers. If you're new to the platform this is a must-read. If you're an experienced iOS / macOS developer you'll find this book to be like an extended conversation with a long-time expert. It's more than helpful and the author's candor is refreshing. Marcel Weiher has opinions based on deep experience, and he knows the difference between an opinion and an objective fact. This book is rich with helpful examples showing how to circle in upon a performance issue which might not be obvious at first blush. Developers, if you work on a team you'll want your managers to read this book, too. (I am the CEO of illumineX, inc, maker of custom software for large enterprises and consumer software for macOS and iOS. I'm going to give a copy of this book to every developer on my team.)
S**L
lots of useful information. Could use better editing
Very talented writer, lots of useful information. Could use better editing: more than a few typos and the level of the book bounces around a lot.
B**I
Great book for understanding iOS performance
Highly recommended to anyone looking to tune their apps
J**J
Respected Engineer, New Classic Treatise
Marcel is a former Apple engineer who's thoughts and opinions are strong, well-informed and are still well-respected within that large pool of excellent software minds. This book is awesome and if you intend to do anything on a macOS or iOS (or any other Apple platform) do buy and read this book. Wisdom and experience and yes strongly worded pragmatism throughout.I will add to it that Mr. Weiher is well known as an advocate of all of the things SmallTalk brought to Objective-C and you should understand the perspective he presents is that Objective-C is a strong and flexible language. Understanding this will make more sense in reading the book.
F**.
A must-have for anyone serious about writing performant code on Apple's platforms.
Developing for the Mac for more than 13 years and many other operating systems and CPU architectures for more than two decades, I've learnt a lot about what makes code performant. Yet I still learnt new things and picked up new ideas reading this book. If you're serious about writing performant code (not only) for Apple's platforms, I can wholeheartedly recommend this unique collection of knowledge, opinions and advice.
A**R
One Star
Absolutely terrible!
N**R
Must-Read für alle Mac- und iOS-Entwickler!
Das Programmieren von hübschen Programmen für den Mac oder das iPhone wird heute immer leichter, leistungsfähige Frameworks machen es einfach, auch komplexe Benutzerschnittstellen mit wenigen Mausklicks zusammenzubauen, und dann mit Leben zu füllen.Aber was, wenn so ein Programm eines Tages richtig große Datenmengen verarbeiten muß? Wenn sich die Anwender beschweren, daß es langsamer und langsamer wird?Dann ist eine sorgfältige Analyse der Schwachstellen erfoderlich, genaue Performance-Mesungen, und die richtigen Entscheidungen, wie mit diesen Informationen umzugehen ist.Genau davor schrecken leider viele Entwickler zurück. Dabei gibt es jetzt dieses wunderbare Buch, das die nötigen Schritte ausgiebig darstellt und erläutert.Natürlich werden Tools wie Instruments von Xcode erläutert, und bis in große Details auf mögliche Performance-Fallen und ihre Lösungen eingegangen.Auch erfahrene Entwickler können hier noch so machen Tricks lernen, daher sollte dieses Buch zum Standard-Repertoire eines jeden Entwicklers gehören.
Trustpilot
Hace 2 meses
Hace 2 semanas