Re: Packaging of libraries with unstable ABI (D, Rust, Go, ...)
- Date: Fri, 19 May 2017 18:47:49 +0200
- From: Matthias Klumpp <matthias@xxxxxxxxxxxx>
- Subject: Re: Packaging of libraries with unstable ABI (D, Rust, Go, ...)
2017-05-19 2:35 GMT+02:00 Paul Wise <pabs@xxxxxxxxxx>:
> On Thu, May 18, 2017 at 10:37 PM, Matthias Klumpp wrote:
>> Unfortunately though, the D language ABI isn't stable, so any future
>> compiler update might break the software in weird ways unless all D
>> software is recompiled when a new compiler is released.
>> To make things worse, D also has three different compilers (which
>> share the same frontend), the GNU D Compiler (GDC), LLVM D Compiler
>> (LDC) and the reference compiler Digital Mars D compiler (DMD).
>> All compilers have different advantages, but they also have
>> incompatible ABI, especially because each comes with a separate
>> version of the D runtime and standard libraries.
> Is there any chance of the D community creating a standard ABI that
> will be stable and shared all of the compilers?
There is a chance, and I was pushing rather hard for that, but I don't
think this will happen in the near future. It's also one of these
cases where you ask others to do something for you which has never
been a big issue for them.
For the record, see https://forum.dlang.org/post/och4d8$1i1n$1@xxxxxxxxxxxxxxx
(Very) long-term, there might be a stable, shared ABI, in the short
term though, that definitely won't be the case.