Book description
Find out how to write Kotlin code without overhead and how to use different profiling tools and bytecode viewer to inspect expressions of Kotlin language.
About This Book- Apply modern Kotlin features to speed up processing and implement highly efficient and reliable codes.
- Learn memory optimization, concurrency, multi-threading, scaling, and caching techniques to achieve high performance.
- Learn how to prevent unnecessary overhead and use profiling tools to detect performance issues.
This book is for Kotlin developers who would like to build reliable and high-performance applications. Prior Kotlin programming knowledge is assumed.
What You Will Learn- Understand the importance of high performance
- Learn performance metrics
- Learn popular design patterns currently being used in Kotlin
- Understand how to apply modern Kotlin features to data processing
- Learn how to use profling tools
- Discover how to read bytecode
- Learn to perform memory optimizations
- Uncover approaches to the multithreading environment
The ease with which we write applications has been increasing, but with it comes the need to address their performance. A balancing act between easily implementing complex applications and keeping their performance optimal is a present-day requirement In this book, we explore how to achieve this crucial balance, while developing and deploying applications with Kotlin.
The book starts by analyzing various Kotlin specifcations to identify those that have a potentially adverse effect on performance. Then, we move on to monitor techniques that enable us to identify performance bottlenecks and optimize performance metrics. Next, we look at techniques that help to us achieve high performance: memory optimization, concurrency, multi threading, scaling, and caching. We also look at fault tolerance solutions and the importance of logging. We'll also cover best practices of Kotlin programming that will help you to improve the quality of your code base.
By the end of the book, you will have gained some insight into various techniques and solutions that will help to create high-performance applications in the Kotlin environment
Style and approachThis book guides you through how to use profiling tools to detect performance issues and build high-performance applications in the Kotlin environment.
Publisher resources
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Identifying Performance Bottlenecks
- Identifying Indicators of Performance Issues
- Learning How to Use Profiling Tools
- Functional Approach
- Enhancing the Performance of Collections
- Optimizing Access to Properties
- Preventing Unnecessary Overhead Using Delegates
- Ranges and Identifying Performance Issues
- Multithreading and Reactive Programming
- Best Practices
- Other Books You May Enjoy
Product information
- Title: Mastering High Performance with Kotlin
- Author(s):
- Release date: June 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788996648
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Code: The Hidden Language of Computer Hardware and Software, 2nd Edition
Computers are everywhere --- most obviously in our laptops and smartphones, but also our cars, televisions, …
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for the latest version of React—React 18** React.js is the most …
video
Angular - The Complete Guide [2023 Edition]
Learn all the fundamentals you need to know in order to get started developing Angular applications …