Dalija Prasnikar
The Delphi 12.3 update has just been released.The most exciting part of this release is the long-awaited 64-bit IDE. Now, this is only an Initial Release of the IDE, and it is not yet a… … Read more
3 weeks ago in Delphi0
Dalija Prasnikar
On the 13th March, last year I was elected as a Stack Overflow moderator. I am using this opportunity to thank everyone who who voted for me back then. It has been an interesting year…. … Read more
3 weeks ago in Stack Overflow0
Dalija Prasnikar
This year, on February 14th, Delphi celebrates its 30th birthday. Over the past three decades, Delphi has proven to be a robust and versatile development environment, empowering developers to build high-performance applications with ease across… … Read more
2 months ago in book, Delphi, testing0
Dalija Prasnikar
Developers that extensively use interfaces in Delphi probably know about a long-standing issue with the compiler, where interface parameters declared as const or [ref] will cause a memory leak if a reference-counted object instance is… … Read more
9 months ago in Inline variables, Leaks, memory management, Parameters0
Dalija Prasnikar
The Delphi 12.1 update has been released. Besides a number of bug fixes, this release also has a few new features. The most notable ones are the new Split Editor, which allows having multiple files… … Read more
12 months ago in Delphi, Quality Portal0
Dalija Prasnikar
It has been quite some time since I wrote the Catch Me If You Can post about the inability of LLVM-backed compilers to catch non-call hardware exceptions. In other words, hardware exceptions raised by code… … Read more
1 year ago in Delphi, Exceptions0
Dalija Prasnikar
Delphi 12 is in the works. One of its small features that will have a huge impact is a change in the default handling of floating-point exceptions, which will now be masked on all platforms…. … Read more
2 years ago in Delphi 12, floating-point, thread safety0
Dalija Prasnikar
Loops and anonymous methods don’t go hand in hand. Any variable that changes for each iteration will cause problems if it is used within an anonymous method. I explained the mechanism behind variable capturing in… … Read more
2 years ago in anonymous methods, Tasks0
Dalija Prasnikar
One of the more common problems that comes up in multi-threading, especially when refactoring existing code, is assigning a result obtained from asynchronous code. In other words, how do you write a function that will… … Read more
2 years ago in Asynchronous programming, Delphi, multithreading0
Dalija Prasnikar
Did you miss the DelphiCon session on “NX Horizon – The Open Source Event Bus for Delphi”? The webinar replay is now available! Code can be found on GitHub: https://github.com/dalijap/nx-horizonReplay can be found at: https://www.youtube.com/watch?v=a… … Read more
2 years ago in delphicon2023, eventbus, github0
Dalija Prasnikar
Here you can find slides from my CodeRage 2022 presentation about Challenges of Multi-threaded Programming, as well as additional links to code examples related to the presentation. Slides: https://dalija.prasnikar.info/dl/DP_CodeRage2022.pdf Additiona… … Read more
2 years ago in CodeRage2022, eventbus, multithreading, Webinar0
Dalija Prasnikar
In the two-part post series, The purpose of weak references – Part I and The purpose of weak references – Part II, I wrote about the purpose of weak references in automatic reference counting, as… … Read more
2 years ago in Delphi, memory management, Weak0
Dalija Prasnikar
In the first part of this post series, I covered owning and non-owning references under manual memory management, and the purpose of non-owning (weak) references in that memory model. Following the same use cases, we… … Read more
2 years ago in ARC, memory management, Strong, Weak0
Dalija Prasnikar
The terminology “weak and strong references” is commonly used in the context of automatic reference counting. In the context of manual memory management, we talk about ownership, and owning and non-owning references. While the terminology… … Read more
2 years ago in ARC, memory management, Strong, Weak0
Dalija Prasnikar
Delphi Thread Safety Patterns book is now available as paperback on Amazon, too. https://dalija.prasnikar.info/delphitspatt/While the thread safety of a particular piece of code depends on the surrounding context and how it is used, some data types… … Read more
2 years ago in book, Delphi, multithreading0