www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LDC 1.33.0

reply kinke <noone nowhere.com> writes:
Glad to announce LDC 1.33.0. Major changes:

- Based on D 2.103.1.
- New CLI option `-femit-local-var-lifetime` to enable stack 
memory reuse.
- C files are now automatically preprocessed using the external C 
compiler.
- Less pedantic checks for conflicting C(++) function 
declarations ('Error: Function type does not match previously 
declared function with the same mangled name').
- New CLI option `--fcf-protection` to enable Intel's 
Control-Flow Enforcement Technology (CET).
- Experimental: `--plugin` now also accepts semantic analysis 
plugins (besides LLVM plugins). New tool `ldc-build-plugin` 
simplifies building such plugins.

Full release log and downloads: 
https://github.com/ldc-developers/ldc/releases/tag/v1.33.0

Thanks to all contributors & sponsors!

PS: Unfortunately no prebuilt Linux-AArch64 package to download 
for now; our CI provider is having issues.
Jul 23 2023
parent reply Johan <j j.nl> writes:
On Sunday, 23 July 2023 at 20:45:08 UTC, kinke wrote:
 
 - Experimental: `--plugin` now also accepts semantic analysis 
 plugins (besides LLVM plugins). New tool `ldc-build-plugin` 
 simplifies building such plugins.
See an example of a plugin here: https://github.com/ldc-developers/ldc/blob/94edb02a3aff4e8dc64814c20ef325f367672f78/tests/plugins/visitor_example.d Blog post incoming! -Johan
Jul 23 2023
parent d007 <d007 gmail.com> writes:
On Sunday, 23 July 2023 at 22:48:35 UTC, Johan wrote:
 On Sunday, 23 July 2023 at 20:45:08 UTC, kinke wrote:
 
 - Experimental: `--plugin` now also accepts semantic analysis 
 plugins (besides LLVM plugins). New tool `ldc-build-plugin` 
 simplifies building such plugins.
See an example of a plugin here: https://github.com/ldc-developers/ldc/blob/94edb02a3aff4e8dc64814c20ef325f367672f78/tests/plugins/visitor_example.d Blog post incoming! -Johan
Thanks for the great work. look forward to use llvm16 and llvm17 based (android ndk beta already based on llvm17) ldc.
Jul 23 2023