Friday, October 30, 2020

Variant support in chakracore-delphi

The new experimental/variants branch of chakracore-delphi introduces some experimental support for Variants. It's now possible to write code similar to the following:

The example above is using Javascript built-in JSON object and its methods: parse and stringify. On Windows, it's possible to expose an Automation object to your script, using late (IDispatch) binding. An example of this is shown in the new WmiSample demo:

and its output:

For more example code, you can also check out the associated tests.

Thursday, April 30, 2020

FastMM5 released

Check it out:

First non-beta release of FastMM version 5 (a complete rewrite) has just been made public on GitHub.