Kostiantyn Koval

Swift High Performance

Notify me when the book’s added
To read this book, upload an EPUB or FB2 file to Bookmate. How do I upload a book?
Leverage Swift and enhance your code to take your applications to the next levelAbout This BookBuild solid, high performance applications in SwiftIncrease your efficiency by getting to grips with concurrency and parallel programmingUse Swift to design performance-oriented solutionsWho This Book Is ForThis book is aimed at experienced Swift developers wanting to optimize their programs on Apple platforms to optimize application performance.What You Will LearnBuild solid, stable, and reliable applications using SwiftUse REPL and Pl to manage and configure relational databasesExplore Swift's features including its static type system, value objects, and functional programming Design reusable code for high performance in SwiftUse to Xcode LLBD and REPL to debug commandsAvoid sharing resources by using concurrency and parallel programmingUnderstand the lazy loading pattern, lazy sequences, and lazy evolution.In DetailSwift is one of the most popular and powerful programming languages for building iOS and Mac OS applications, and continues to evolve with new features and capabilities. Swift is considered a replacement to Objective-C and has performance advantages over Objective-C and Python. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun.Develop Swift and discover best practices that allow you to build solid applications and optimize their performance.First, a few of performance characteristics of Swift will be explained. You will implement new tools available in Swift, including Playgrounds and REPL. These will improve your code efficiency, enable you to analyse Swift code, and enhance performance. Next, the importance of building solid applications using multithreading concurrency and multi-core device architecture is covered, before moving on to best practices and techniques that you should utilize when building high performance applications, such as concurrency and lazy-loading. Finally, you will explore the underlying structure of Swift further, and learn how to disassemble and compile Swift code.Style and approachThis is a comprehensive guide to enhancing Swift programming techniques and methodology to enable faster application development.
This book is currently unavailable
211 printed pages
Publication year
2015
Have you already read it? How did you like it?
👍👎

Impressions

  • Enzoshared an impression5 years ago
    🐼Fluffy

Quotes

  • Enzohas quoted5 years ago
    Swift is also a static programming language. Its source code is compiled to the assembly code and the assembly code is compiled to the machine code using the LLVM tool. Running native machine code instructions is the fastest way of doing this. In comparison, Java and C# are compiled to a piece of intermediate code, and it needs a virtual machine to run it, or another tool that will translate it into machine instructions. Because Swift doesn't do this at runtime, it has a very big performance gain
  • Enzohas quoted5 years ago
    A lazy collection or sequence performs an operation, for example, a mapping of elements, when we start pulling elements from it. The difference here is that a regular array applies a mapping only once for every element and returns the result immediately.
  • Enzohas quoted5 years ago
    Global variables and constants are always loaded lazily in Swift. This means that every global variable is initialized only when you access it for the first time.
fb2epub
Drag & drop your files (not more than 5 at once)