jpluimers
The title might sound like a lot of gibberish, but the mechanism it describes helps solving a problem when using generics: lack of generic constraints in the compiler. For instance, you cannot constrain on enumeration… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A while back I proposed using JSON in order to [WayBack] Delphi 2010: How to save a whole record to a file? – Stack Overflow. There is also a native solution using streaming (which by… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A few things to learn from [WayBack] delphi – Constant array of cardinal produces error ‘Constant expression violates subrange bounds” – Stack Overflow: Delphi XE7 introduced compiler support for const dynamic arrays. Compiler errors can completely… … Read more
4 years ago in Delphi, Development, History, Software Development, Undocumented Delphi0
Dalija Prasnikar
Running long tasks in a background thread to keep the UI responsive is one of the main purposes of multithreading. A common code pattern for doing so would look like:procedure TMainForm.BtnClick(Sender: TObject);begin TThread.CreateAnonymousThread( … … Read more
4 years ago in Delphi, multithreading, synchronize0
Holger Flick
Last week, I noticed a post on Facebook that immediately triggered my interest: Dave Akerman posted that one of his Delphi projects was used to manufacture the parachute for the Mars Rover Perseverance which just… … Read more
4 years ago in Delphi, FMX, interview, Mapping, MVP, REST, Video0