D Language (DLang) 2.098.0 Release Announcement and Changes
Version 2.098.0 of the D programming language has been released, featuring DMD 2.098.0 and LDC 1.28.0 compilers, OpenBSD support, 17 major compiler changes, runtime improvements, library updates, and Dub enhancements, along with 160 issue fixes.
The D language (DLang) version 2.098.0 has been released; it is now available as DMD 2.098.0 (the D compiler) and LDC 1.28.0 (the LLVM‑based D compiler). Additionally, D now supports OpenBSD.
This release includes 17 major changes and fixes 160 issues.
Compiler Changes
Added Alias Assignment feature.
Enabled accessing C declarations from D via the ImportC compiler.
Using the syntax (args) => {} triggers a deprecation warning.
Improved generation of C++ header files.
Enabled -preview=dtorfields by default.
Added .min, .max and other properties to vector types.
Using mutable variables as switch case values now triggers an error.
Out‑of‑bounds array accesses now provide more friendly error messages.
Removed class allocators from the D language.
Initializing immutable global data from static this now triggers an error.
Added -target=<triple> for cross‑compiling OS, C, and C++ runtimes.
Default initialization of a union field that is not the first member now triggers an error.
Runtime Changes
Aggregate TypeInfo names now fully conform to requirements, making them unique.
Concurrent garbage collection for POSIX systems.
Improved POSIX imports.
Library Changes
Added function isValidCharacter to std.utf.
Dub Changes
Added support for environment variables in dub configuration files and dub.json/dub.sdl, allowing them to be used in compile, run, or test options.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.