The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,778 other followers

Archive for November 4th, 2014

Delphi; Reminder to self: “Parallel Programming Library” in XE7 is the end result of “Delphi Parallel Library” by Allen Bauer

Posted by jpluimers on 2014/11/04

Like any long term project (Spring4D took [WayBack] about 5 years to release version 1.0 and still needs a lot of mobile polishing) the “Delphi Parallel Library” took a long time to complete.

It got incorporated as the “Parallel Programming Library” in Delphi XE7.

Since the documentation is thin (like Spring4D <g>), but the posts about “Delphi Parallel Library” (those started in 2008!) give a lot of background information.

Hence the reminder to self.

Now I need to compare this to the [WayBackOmni Thread Library for Delphi (which is on [WayBack] version 3+ now and moved to [WayBack] GitHub – gabr42/OmniThreadLibrary: A simple and powerful multithreading library for Delphi in the same release range) one day (:

(PPL is cross platform whereas OTL is not, but there must be much more differences).

–jeroen

Posted in Delphi, Delphi XE7, Development, Software Development | Leave a Comment »

Delphi, C#, VB.NET and SQL all have escapes to use reserved words as identifiers

Posted by jpluimers on 2014/11/04

Normally you would not want to use a reserved word as an identifier. But sometimes it can be very convenient, for instance for a code generator that wraps remoting calls or does ORM.

Both Delphi and C# have an escape for this:

The prefixes are to tell the compiler knows you really know what you are doing, and are using a reserved word as an identifier.

The cool thing: in the Run Time Type Information (Delphi) or Reflection (C# and VB.NET) you will see the names without the prefix.

Some examples from StackOverflow: Read the rest of this entry »

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 8, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development, VB.NET, VB.NET 10.0, VB.NET 11.0, VB.NET 7.0, VB.NET 7.1, VB.NET 8.0, VB.NET 9.0 | Leave a Comment »

 
%d bloggers like this: