Micro-ISV.asia

Friday, 3 September 2010

More Goodies in Delphi XE and C++Builder XE

Filed under: Programming — Jan Goyvaerts @ 10:58

Delphi XE and C++Builder XE were released on Monday. The eagerly anticipated support for Win64, OS X, and Linux remains on the roadmap for Delphi and C++Builder. The focus for the XE releases seems to be on added goodies.

  • Regular expressions: With regular expression support now part of the RTL, that is one less 3rd party component that you need. The way the RegularExpressions unit is implemented is particularly nice. It uses records instead of classes to mimic .NET’s regex support. It only takes one line of code to use a regex. You don’t need to worry about memory management.
  • Subversion integration: Check out projects from version control and commit your changes without leaving the IDE. The Differences subtab of the History tab in the code editor allows you to quickly compare any two revisions of the file you’re editing. All this works even if you don’t have a subversion client installed, though you’ll probably want to keep the client you have to manage files that you edit outside the Delphi or C++Builder IDE. The CollabNet subversion client that is part of the installer is the command-line svn tool. You don’t need to install it unless you really want to work from the command line.
  • Beyond Compare: Delphi and C++Builder do not include the full directory comparison tool. They do include the file differ that is part of Beyond Compare. If you don’t like the built-in differ on the Differences subtab of the History tab in the code editor, you can make a change in Tools, Options to use the Beyond Compare differ instead.
  • AQTime: AQTime from SmartBear Software is a code profiler that supports a wide range of development tools for Win32 and .NET. Delphi and C++Builder XE include a version of AQTime with reduced functionality. It only works with the XE versions of Delphi and C++Builder, and does not include some of the more advanced profilers. Even so it offers everything most developers need for profiling their applications. AQTime normally costs $599, so that’s a nice bundle even with the limitations.
  • CodeSite: CodeSite from Raize Software is a logging tool. A logging tool can be very helpful for debugging code where breakpoints are cumbersome. The main benefit of CodeSite is that you can log almost anything, including complete Delphi objects. CodeSite can also log what your application does on your customer’s computers if they install a redistributable with the CodeSite logging application (or if you make it part of your own installer).
  • IP*Works: IP*Works is a set of Internet components, much like the Indy components that have shipped with Delphi and C++Builder for many years. Since IP*Works is not written in pure Delphi, Indy is likely a better choice for Delphi developers. IP*Works is included with Delphi and C++Builder mainly because it is also included with RadPHP, which is now part of RAD Studio XE. If you want to use the same internet components in Delphi and PHP, then IP*Works may be an option.

FinalBuilder is only included with the Enterprise and Architect editions of Delphi XE and C++Builder XE. All the other goodies are included with all editions, including the Professional edition.

No Comments

No comments yet.

Sorry, the comment form is closed at this time.