The Delphi 'Modern" 64bit compiler

This is mostly directed to @ianbarker. Delphi 12.2 apparently has the “new” 64bit “modern” compiler working. However, there is almost no public information of any depth about what this actually is. What is it? Will it create different/more optimised machine code? Will it fix the ongoing access violations in the compiler on large projects? Does it change the stack/heap or any other structures or frames. When is it safe to use it in production. Will it allow for Delphi to finally catch up and add language features everyone else has had for years?

Or is it just marketing for a 64bit address space with the same ancient compiler underneath?

It’s actually for targeting the Moden 64bit C++ compiler - so mostly useful for delphi component vendors generating libs for the modern c++ compiler. When you target that compiler, it still runs the same Delphi 64bit compiler, but there are different options for C++ lib output and the format of those libs is different.

TBH the way the implemented this feature is a hack, making it looks like a different delphi compiler when it’s not.

I’d rather they kept the old one and just fixed its old issues. I do not want any new features and like ancient (=proven) things.

But the question is of course very valid: this new thing (if it’s indeed new) may have new hidden flaws making it unusable for production use, so a lot more details need to be disclosed.

Alex

The old C++ compiler has more tech debt that delphi by far - it’s so ancient that most c++ you find on the net won’t come close to compiling. I’m not a c++ fan, so my only interest in this is supporting it in FinalBuilder.

So just to be clear (in case I misunderstood your post) - there is no “modern 64bit delphi compiler”

  • there is no “modern 64bit delphi compiler”

Great, thanks for the clarification, I feel safer now! I probably just wouldn’t use it for a long while otherwise.

Alex

Watch this webinar (one of several about it, this is the most recent ) https://youtu.be/3VSLBbY6Dng?si=qC0tR_OLWzP8WH41

We also have more coming up. You can ask the C++ team directly any questions you have.

Also, subscribe to the main blog - we have a ton of existing posts and from next week one post a day specifically about the new C++ compilers.

Maybe I dreamt about it but I thought a new compiler for Delphi was released that will finally fix the compiler access violations on big projects that’s plagued the product since at least 10.2?

I think I will just look at the current procedures and make my own procedure some time
I have a little to much just at the moment just to get the kennel of my project going
with the kernel going I can then branch out and it will be cool
Even New Zealand its hot over hear

I think there are some crossed wires here, a little bit.

There is the (now) very uptodate C++20(Clang 15.0) C++ compiler … which is known as the “64 bit (Modern) compiler target” but …

Embarcadero did release a “Delphi compiler that operates in a 64 bit space” for Enterprise editions only.

I’ll need to search back a bit to find a reference.

Delphi Enterprise 12.2 Athens Patch 1

Released: Sep 12, 2024

Updates in 12.2 Athens

Features

64-bit Version of Delphi Windows compilers

  • RAD Studio 12.2 includes the 64-bit binary version of the Delphi Win32 and Win64 compilers, offering the ability to build extremely large applications as a single executable, given the 64-bit memory space of the new compilers. These new compilers are currently available from the command line and from the IDE when using external compilation. They are only included as part of the Enterprise and Architects editions.

My mistake with the name, I’m not sure what this compiler looks like in Delphi 12.2 as I haven’t installed it yet. I just assumed it was being called the modern compiler…
This ‘64bit compiler’ is what I’m asking about.

1 Like

Yeah, I don’t know if it has an actual name.

This would be one time when some weird codename would be actually helpful.

The “Delphi Fat Boi” compilers. :thinking:

A note of caution; the new 64-bit DCC32 binary has a problem if optimization is on.

https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-2048

I am going to suggest “Delphi Fat Boi” as the new official name. :grin:

Correct, and this is being investigated.

1 Like