jpluimers
In addition to Shared/IShared, there is also Weak/IWeakReference in Spring.pas; these blog post explain more about them: Shared/IShared (search for {$REGION ‘Shared smart pointer’} at the current repository): [WayBack] Delphi sorcery: Smart pointers in Delphi Weak/IWeakReference (search for… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
A few posts on why not to use the TPL and be very careful with regular RTL threading code: [WayBack] Ondrej Kelle – Google+ [WayBack] Delphi To Go: Don’t lose time with a known Delphi… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Via [WayBack] TMonitor vrs Critical sections revisited. Back then (https://www.delphitools.info/2013/06/06/tmonitor-vs-trtlcriticalsection/), it was found that critic… – Kiriakos Vlahos – Google+ as he re-did the measurements that DelphiTools did before Delphi XE5 came out: Slim Reader/Writer Lock… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
For Variant types, the = comparison operator in Delphi maps to the VarCompareValue in the Variants unit. That function fails to handle various comparisons and for some it knows it can handle raises a VarInvalidOp through… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
If I ever need to download multiple files in multiple parts at the same time, support resuming, gzip-encoded files, cookies, logging to websites using POST and so on, then I need to look at [WayBack]… … Read more
4 years ago in Delphi, Development, Indy, Software Development0
jpluimers
One of the great things about the Delphi docwiki structure is that the naming system is very consistent. The consistency helps you quickly finding the What’s new for any version, just by getting the latest… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Reminder to self for checking if this still fails: [WayBack] Bogus W1036 ? Documentation: … “If you do not explicitly initialize a global variab… – Stefan Glienke – Google+ Documentation: http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Variables_(Delphi) “If you do not… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Delphi does indeed so some type inference as Primoz found out below. It has been doing this for a long time, improved over time, but has a long road ahead. One odd thing is that… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Warning: I posted this without doing a proper copyright check on the linked github repository, and it looks like this library heavily copies code from copyrighted materials. So better not use them, for one because… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
On my todo list, as Synops is updated more often than JCL: [WayBack] The logging facility in Synopse seems to be an interesting alternative to JclDebug: According to this StackOverflow answer, one of its features… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Since GetIt is hardly, if at all documented, but has quite a few of problems, I will likely need to use this another time: [WayBack] delphi – How to reset the download when the GetIt… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
As I one day likely need to pas a dynamically created array of const from scratch (which behind the scenes actually is an array of TVarRec, where each element is, TVarRec which is a variant record that… … Read more
4 years ago in Delphi, Development, Software Development0