David Millington Millington

David Millington has not set their biography yet


Posted by on in Blogs
Do you use C++Builder? Would you like to become a MVP - part of our most valued professional program? Or do you know someone you think would be a great addition? We are actively seeking C++ people who are some or all of the following (don't worry if you feel not all these apply to you, eg if you don't like presenting): Technically skilled Know C++ Builder Happy writing technical articles, eg blog posts Happy presenting or talking at user groups and meetups Fluent in any language, not just English. It's a big world. C++Builder has a great foundation now with four platforms plus Linux soon, great cross-platform UI support (we think it's better than other C++ UI libraries) and m...
We have been working on several hotfixes to address recent operating system changes on iOS (10) and macOS (Sierra) that affect debugging with RAD Studio. In December we released a hotfix for debugging on 32-bit iOS 10, and we are pleased to release a second hotfix for debugging on macOS Sierra and the iOS Simulator. This hotfix addresses: RSP-16322: Problems deploying to or debugging on macOS 10.12 Sierra RSP-16368: Problems running and debugging using the iOS Simulator on macOS 10.12 Sierra RSP-16324: debugging a 32-bit iOS application on iOS 10 (the first debugger hotfix.) This hotfix is for RAD Studio, Delphi and C++Builder 10.1 Berlin, and includes the previous debu...

Posted by on in Programming
Update Jan 11 2016: a second debugger hotfix is available, which includes the contents of this hotfix and addresses the macOS and iOS Simulator issues below. We believe the Windows 10 issue was fixed by a Windows update. Read more here.   We have been working on several hotfixes to address recent operating system changes on iOS (10), macOS (Sierra) and Windows (10 Anniversary) that affect debugging with RAD Studio. We have two debugger hotfixes in the works which you will be able to apply to 10.1 Berlin Update 2. The first of these is now available, and addresses RSP-16324, debugging a 32-bit iOS application on iOS10. Download it here! Other debugging issues In additio...

Posted by on in Blogs
C++Builder ships two C++ compilers on Windows: the "classic" old bcc32 compiler for Win32 only, and the modern "Clang-enhanced" compiler, for both Win32 and Win64. Why should you be using the Clang compiler? If you're building software for Windows, you might want to consider switching to the new compilers. This CodeRage XI (Nov 2016) lightning talk discusses two reasons why: Using modern C++ - you can write expressive, clear, safe code much better than with "old" C++ Getting better compiled performance than with the old compiler - this is the main focus
You c...

Posted by on in Blogs
You have a TStringList and <algorithm>. What can you do? Quite a lot, actually. Image credit: Chris Lawton, tookapic.com Did you know that as of RAD Studio 10.1 Berlin, Delphi's inbuilt containers, such as TList, the Generics.Collections containers, all enumerable types, and arrays, can be used from C++ using standard algorithms, iterators, and range-based for loops? This blog post contains a Youtube video of the CodeRage XI (Nov 2016) lightning talk, but also some source code and other information.
The degree to which iterators and algorithms can be used...

Posted by on in Programming
Would you like to add C++ to your Delphi application? Or add Delphi code to your C++ application? Here's how. One thing you might not know is how closely integrated the C++ and Delphi languages are in RAD Studio. You can compile a single application in a single project to a single EXE, mixing both languages. (And of course you can do so using DLLs or packages as well.) If you use C++Builder, this is useful to add Delphi-implemented libraries. If you use Delphi, you might want to use portions of C++ to take advantage of C++ libraries, or perhaps the LLVM optimizer.  For CodeRage XI (2016), I gave a presentation on mixing Delphi and C++ code.  The talk is online, but this...
C++ Today and Tomorrow: the Coderage XI C++ keynote "C++Builder is sometimes seen as the small cousin to Delphi. This is no longer true. Where is it now, and where are we planning to take it?" This is the C++ keynote from CodeRage XI (November 2016), presented by David Millington, C++ Product Manager at Embarcadero. 
...

Posted by on in Programming
Random interesting C++ and general programming items. Being a Good Programmer, where 'good' relates to ethics. This is a topic I think about from time to time. Are the products we or you create good for your users and good for the world? There have been a couple of great posts and discussions on these topics recently, examining things programmers have been asked to do, as well as 'dark patterns', UI design patterns intended to mislead. The Code I'm Still Ashamed Of, by Bill Sourour. If you read one article today, read this one. A great Hackers News thread discussing similar issues. Another thread discussing "dark patterns" and ethical user-based design. Another e...
Welcome to the fifth and final episode of Learning C++ with C++Builder Starter. Last time, we had a calculator and numerical input, demonstrating using boost::optional, smart pointers, and more. This post is shorter: it will finish the calculator with operators (implementing addition, subtraction, etc) and end with a full application, ready to move to cross-platform if you wish. Operators The calculator is almost functional. The one thing missing is actually performing the math operations. We want to support four operations: addition, subtraction, multiplication, and division. Each of these is an operation; each takes two operands, a left and a right operand.  In the expression 3 x ...
  A couple of weeks ago, we discussed a feature planned for the upcoming Update 2 of C++Builder 10.1 Berlin, C++ rename refactoring. This feature allows you to right-click on any identifier in your C++ code, and rename it throughout the project. Unfortunately, we have had to defer the feature from Update 2. After having shared the potential feature with the community, this is sure to be a disappointment to you, as well as to us. I’d like to share with you why, and also give you some good news about when to expect it. Very late in testing Update 2, we identified two critical bugs in rename refactoring. Both of these were to do with some complex situations including when the file was i...

Check out more tips and tricks in this development video: