Reflections on using Go instead of D

SealabJaster sealabjaster at gmail.com
Tue Jul 12 15:42:23 UTC 2022


On Tuesday, 12 July 2022 at 14:26:45 UTC, Adam D Ruppe wrote:
> My lib also dynamic loads and detects incompatible versions, so 
> it can adapt to 1.0 or 1.1 and such at runtime and just work.
>
> But then openssl put out a 3.0 which has more random troubles. 
> Ugh. But I'll prolly be able to adapt to that at some point too.
>
> Still, I've found dynamic loading openssl is the best way to 
> use it - static versions get outdated and websites move on to 
> different algorithms, load-time linking hits incompatibilities. 
> So runtime branching, while more work, gives best results.

Slightly off topic, but I've found 
https://github.com/Mbed-TLS/mbedtls a lot easier to work with 
than OpenSSL.

I like having things as statically linked as possible, and 
OpenSSL was a pain to say the least to get working with Meson. 
MbedTLS was still a bit of a pain, but wasn't as _much_ of a pain.

Also I struggled quite a lot getting dstep to fully work with 
OpenSSL. It works without issue on MbedTLS.


More information about the Digitalmars-d mailing list