4 ms·
From the article, it's interesting to note that D utilizes Thread-Local Storage (TLS) by default and that OpenBSD does not has support for the feature [1]. [1]
by teleforce 6y ago
From the article, it's interesting to note that D utilizes Thread-Local Storage (TLS) by default and that OpenBSD does not has support for the feature [1].
[1]https://www.oreilly.com/library/view/the-linux-programming/9781593272203/xhtml/ch31.xhtml https://www.oreilly.com/library/view/the-linux-programming/9...
- p0nce 6y agoNote that you can use D without TLS on scenarii that don't support it. TLS is a need of (parts of) the D runtime, which you can avoid if need be. This is painful, yet doable.
- WalterBright 6y agoThe older D compilers would emulate TLS for platforms that didn't support it, like the older Mac OS. That code is still in there somewhere.
- rurban 6y agoHe is using exactly that already.