DWScript now support Delphi 11.3 Alexandria

Latest commits in the DWScript repository bring compatibility with Delphi 11.3 Alexandria.

There were very few changes required, and a couple bugs were fixed in the process. One test (stack overflow) had to be tweaked, apparently the new compiler uses more stack space, which caused one of the unit tests to fail in the “wrong “place.

All in all the 11.3 IDE and compiler appear way more stable, and AVX2/FMA support is nice… hopefully will get support in the CPU debugger as well soon 🙂

SamplingProfiler 23.1.23 (belated) release is available

After years of beta, the 23.1.23 version of SamplingProfiler is available from its downloads & changelog page.

The download ZIP includes both 32 & 64bit executables.

The main change since the last version is that the code to detect Delphi browse paths was rewritten to accommodate future (unreleased) Delphi versions… as long as the registry names and keys follow the current logic. The previous version supported all Delphi versions, but you had to manually specify browse paths.

DWScript compatible with Delphi 11.1

Just downloaded and installed Delphi 11.1, and all the unit tests passed without a glitch. So I can announce that DWScript is compatible with Delphi 11.1 for Win32 and Win64! You can find links to all the Delphi 11.1 release details on Marco’s blog.

In other news, the tip of the DWScript repository is considered stable, but a round of core changes were made a few days ago. The last stable state just before the round of changes can be found in the DWScript Releases on the GitHub mirror. The next round of changes likely be able to will rip out the stack from the engine, and transition to closures.

DWScript now compatible with Delphi 11

Just pushed a few changes to the DWScript repository for compatibility with the just released Delphi 11 Alexandria.

The only change required was related to a fix of the Delphi compiler, which now properly has integer overflow checks controlled by $OVERFLOWCHECKS while they were previously controlled by $RANGECHECKS.

I also added support for the Delphi 11 dialect for binary literals (starting with %). DWScript already supported binary literals with the “0b” prefix since 2012 (as in C), I had been hoping the % symbol would not be sacrificed for this purpose, but oh well. (more…)