Some great reads from Barry Kelly
Posted by jpluimers on 2014/09/02
Barry Kelly (Twitter, [WayBack] HN, SO, G+, Blog) was one of the Delphi compiler engineers.
He wrote a great number of insightful blog posts, some of which are in chronological order:
- [WayBack] Entropy Overload: Fun with asynchronous methods and scalability.
- [WayBack] Entropy Overload: Closure variable capture in Ruby and C#, compared.
- [WayBack] Entropy Overload: Anonymous methods in testing / profiling situations.
- [WayBack] Entropy Overload: Anonymous methods in testing / profiling – Pt. 2.
- [WayBack] Entropy Overload: Smart pointers in Delphi.
- [WayBack] Entropy Overload: Reference-counted pointers, revisited.
- [WayBack] Entropy Overload: Somewhat more efficient smart pointers.
- [WayBack] Entropy Overload: Commonly Confused Tidbits re .NET Garbage Collector.
- [WayBack] Entropy Overload: One-liner RAII in Delphi.
- [WayBack] Entropy Overload: Virtual method interception.
The fun thing while making this list: I wish I’d seen the RAII post before writing Delphi: using IInterface to restore cursor at end of mehod (prelude to a memento that executes any code at end of method) and Delphi: a memento that executes any code at end of method: his TScopeExitNotifier is virtually the same as my TAnonymousMethodMemento.
On the Smart Pointer side of things: read [WayBack] Smart Pointers | Australian Delphi User Group Members.
Note that if you are using Smart Pointers, use the ones that Spring4D implemented in 2015 named Shared/IShared<T>/TShared<T>, see [WayBack] Spring4D – Pascal Today and [WayBack2] Smart Pointers will be in Spring4D 1.2.
–jeroen






If you were using Managed / IManaged in Spring4D, be aware they got renamed to Shared / IShared « The Wiert Corner – irregular stream of stuff said
[…] [WayBack] Some great reads from Barry Kelly « The Wiert Corner – irregular stream of stuff […]
sglienke said
I really miss his insightful blog posts.