Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Concurrent Programming in Mac OS X and iOS: Unleash Multicore Performance with Grand Central Dispatch

Buy

With the introduction of multicore devices such as the iPad 2 and the quad-core Mac- Book Pro, writing multithreaded apps that take advantage of multiple cores on a device has become one of the biggest headaches for developers. Take, for instance, the introduction of iPad 2. On the launch day, only a few applications, basically those released by Apple, were able to take advantage of its multiple cores. Applications like Safari performed very well on the iPad 2 compared to the original iPad, but some third-party browsers did not perform as well as Safari. The reason behind this is that Apple has utilized Grand Central Dispatch (GCD) in Safari’s code base. GCD is a low-level C API that allows developers to write multithreaded applications without the need to manage threads at all. All developers have to do is define tasks and leave the rest to GCD.

The trend in the industry is mobility. Mobile devices, whether they are as compact as an iPhone or as strong and full-fledged as an Apple MacBook Pro, have many fewer resources than computers such as the Mac Pro, because all the hardware has to be placed inside the small devices’ compact bodies. Because of this, it is very important to write applications that work smoothly on mobile devices such as the iPhone. We are not that far away from having quad-core or 8-core smartphones. Once we have 8 cores in the CPU, an app executed on only one of the cores will run tremendously more slowly than an app that has been optimized with a technology such as GCD, which allows the code to be scheduled on multiple cores without the programmer having to manage this synchronization.

Apple is pushing developers away from using threads and is slowly starting to integrate GCD into its various frameworks. For instance, prior to the introduction of GCD in iOS, operations and operation queues used threads. With the introduction of GCD, Apple completely changed the implementation of operations and operation queues by using GCD instead of threads.

This book is written for those of you who want to do what Apple suggests and what seems like the bright future for software development: migrating away from threads and allowing the operating system to take care of threads for you, by replacing thread programming with GCD.

(HTML tags aren't allowed.)

Professional Techniques for Video Game Writing
Professional Techniques for Video Game Writing

This book by the International Game Developers Association (IGDA) Game Writing Special Interest Group focuses on various aspects of working as a professional game writer, including how to break in to game writing, writing manuals, narrative design, writing in a team, working as a freelancer, working with new intellectual property, and more....

Beginning Windows 10: Do More with Your PC
Beginning Windows 10: Do More with Your PC

Beginning Windows 10 takes you through the new features of this amazing new operating system, revealing some of its surprising capabilities, and helping you customize it to suit you. Whether you are new to Windows, or you want to get up to speed with the latest features and changes, this book has everything you need to get started.

...
The Best of Brochure Design 9 (No. 9)
The Best of Brochure Design 9 (No. 9)
Brochure design is a perennial in the world of marketing and graphic design, yet it can be challenging to execute successfully. This collection of the world's best brochure design offers hundreds of ideas, pages of inspiration, and armloads of advice for professional graphic designers and students alike. Using a clean, unfussy...

MCSA/MCSE Exam 70-291 Study Guide and Training System: Implementing, Managing, and Maintaining a Windows Server 2003 Network Infrastructure
MCSA/MCSE Exam 70-291 Study Guide and Training System: Implementing, Managing, and Maintaining a Windows Server 2003 Network Infrastructure
All of Microsoft’s published objectives for the
MCSA/MCSE 70-291 Exam are covered in this book.
To help you easily find the sections that directly
support particular objectives, we’ve listed all of the
exam objectives below, and mapped them to the
Chapter number in which they are covered. We’ve
also
...
Essential SharePoint 2007: A Practical Guide for Users, Administrators and Developers
Essential SharePoint 2007: A Practical Guide for Users, Administrators and Developers
If your business needs to control its documents, structure its workflow, or share information over the Web, you need SharePoint. It’s simply the quickest way to fill those needs using standard tools business users already know: Microsoft Office and Internet Explorer. Best of all, SharePoint is free (well, kind of); SharePoint Services are...
ASP.NET Web API 2: Building a REST Service from Start to Finish
ASP.NET Web API 2: Building a REST Service from Start to Finish

The ASP.NET MVC Framework has always been a good platform on which to implement REST-based services, but the introduction of the ASP.NET Web API Framework raised the bar to a whole new level.

Now in release version 2.1, the Web API Framework has evolved into a powerful and refreshingly usable platform. This concise book provides...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy