In the early days of computing most regular application programs were single threaded. They often only ran exclusively on the machine’s CPU, or they did not run at all or ran slowly as they competed for machine resources with other apps. To answer the increasing demands on personal computers and to address the rapid rise of sophisticated applications, multi-threading operating systems became available.

Generally, multi-threading is a way of telling your operating system that these are the different threads (chunks of instructions) that you want to run, potentially at the same time as one another. In this video, we will dive into the details of thread performance for single and multi-threaded programming not just in windows development but also for cross platform apps targeting systems like macOS, Android, iOS and IoT.

How Delphi Behaves Differently on Different Operating Systems

In this session from the recently concluded DelphiCon, Olaf Monien will demonstrate how Delphi and its compiler would behave differently in machines running or powered by the different operating systems. The focus will be given to the performance and what you as a developer need to be aware of when developing multi-threaded applications on the latest generation of CPUs. With all the new hardware that are out today, this is something a developer should be concerned about.

Using a Threading Test Tool, we will be able to differentiate the performances delivered by three different operating systems when running single and multiple threads. The sample machines include a Windows 10 with an Intel Core i7 CPU, a Macbook Pro with an Intel Core i9, and a Macbook Air running in an ARM-based Apple M1 processor. All machines will be tested and all performances will be compared based on their outputs (primes/second) after running Single and Multiple threads. Olaf will also walk us through the process of creating the Threading Test tool in Delphi. To learn more, feel free to watch the video below


Download a free trial of RAD Studio Delphi today and follow along with the video and examples.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free TrialUpgrade Today

Free Delphi Community EditionFree C++Builder Community Edition