Delphi High Performance

Build fast, scalable, and high performing applications with Delphi
Preview in Mapt

Delphi High Performance

Primož Gabrijelčič

Build fast, scalable, and high performing applications with Delphi
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Delphi High Performance Book Cover
Delphi High Performance
$ 35.99
$ 25.20
MySQL Admin Cookbook Book Cover
MySQL Admin Cookbook
$ 29.99
$ 21.00
Buy 2 for $35.00
Save $30.98
Add to Cart

Book Details

ISBN 139781788625456
Paperback336 pages

Book Description

Delphi is a cross-platform Integrated Development Environment (IDE) that supports rapid application development for Microsoft Windows, Apple Mac OS X, Google Android, iOS, and now Linux with RAD Studio 10.2. This book will be your guide to build efficient high performance applications with Delphi.

The book begins by explaining how to find performance bottlenecks and apply the correct algorithm to fix them. It will teach you how to improve your algorithms before taking you through parallel programming. You’ll then explore various tools to build highly concurrent applications.

After that, you’ll delve into improving the performance of your code and master cross-platform RTL improvements. Finally, we’ll go through memory management with Delphi and you’ll see how to leverage several external libraries to write better performing programs.

By the end of the book, you’ll have the knowledge to create high performance applications with Delphi.

Table of Contents

Chapter 1: About Performance
What is performance?
Algorithm complexity
Don't guess, measure!
Summary
Chapter 2: Fixing the Algorithm
Responsive user interfaces
Caching
Speeding up SlowCode
Summary
Chapter 3: Fine-Tuning the Code
Delphi compiler settings
Extracting common expressions
The helpful CPU window
Behind the scenes
Optimizing method calls
The magic of pointers
Going the assembler way
Returning to SlowCode
Summary
Chapter 4: Memory Management
Optimizing strings and array allocations
Memory management functions
Dynamic record allocation
FastMM internals
Memory allocation in a parallel world
Replacing the default memory manager
Fine-tuning SlowCode
Summary
Chapter 5: Getting Started with the Parallel World
Processes and threads
When to parallelize the code?
Most common problems
Synchronization
Communication
Third-party libraries
Summary
Chapter 6: Working with Parallel Tools
TThread
Setting up a communication channel
Summary
Chapter 7: Exploring Parallel Practices
Tasks and patterns
Variable capturing
Tasks
Async/Await
Join
Future
Parallel for
Pipelines
Summary
Chapter 8: Using External Libraries
Using object files
Using C++ libraries
Summary
Chapter 9: Best Practices
About performance
Fixing the algorithm
Fine-tuning the code
Memory management
Getting started with the parallel world
Working with parallel tools
Exploring parallel practices
Using external libraries
Final words

What You Will Learn

  • Find performance bottlenecks and easily mitigate them
  • Discover different approaches to fix algorithms
  • Understand parallel programming and work with various tools included with Delphi
  • Master the RTL for code optimization
  • Explore memory managers and their implementation
  • Leverage external libraries to write better performing programs

Authors

Table of Contents

Chapter 1: About Performance
What is performance?
Algorithm complexity
Don't guess, measure!
Summary
Chapter 2: Fixing the Algorithm
Responsive user interfaces
Caching
Speeding up SlowCode
Summary
Chapter 3: Fine-Tuning the Code
Delphi compiler settings
Extracting common expressions
The helpful CPU window
Behind the scenes
Optimizing method calls
The magic of pointers
Going the assembler way
Returning to SlowCode
Summary
Chapter 4: Memory Management
Optimizing strings and array allocations
Memory management functions
Dynamic record allocation
FastMM internals
Memory allocation in a parallel world
Replacing the default memory manager
Fine-tuning SlowCode
Summary
Chapter 5: Getting Started with the Parallel World
Processes and threads
When to parallelize the code?
Most common problems
Synchronization
Communication
Third-party libraries
Summary
Chapter 6: Working with Parallel Tools
TThread
Setting up a communication channel
Summary
Chapter 7: Exploring Parallel Practices
Tasks and patterns
Variable capturing
Tasks
Async/Await
Join
Future
Parallel for
Pipelines
Summary
Chapter 8: Using External Libraries
Using object files
Using C++ libraries
Summary
Chapter 9: Best Practices
About performance
Fixing the algorithm
Fine-tuning the code
Memory management
Getting started with the parallel world
Working with parallel tools
Exploring parallel practices
Using external libraries
Final words

Book Details

ISBN 139781788625456
Paperback336 pages
Read More

Read More Reviews

Recommended for You

MySQL Admin Cookbook Book Cover
MySQL Admin Cookbook
$ 29.99
$ 21.00
React 16 Tooling Book Cover
React 16 Tooling
$ 35.99
$ 25.20
Kubernetes for Developers Book Cover
Kubernetes for Developers
$ 35.99
$ 25.20
PostgreSQL 10 High Performance Book Cover
PostgreSQL 10 High Performance
$ 35.99
$ 25.20
C# 7 and .NET Core 2.0 High Performance Book Cover
C# 7 and .NET Core 2.0 High Performance
$ 35.99
$ 25.20
Rust High Performance Book Cover
Rust High Performance
$ 35.99
$ 25.20