On Monday, 20 April 2015 at 20:01:17 UTC, Johan Engelen wrote:
On Saturday, 18 April 2015 at 20:39:56 UTC, weaselcat wrote:
On Saturday, 18 April 2015 at 17:21:28 UTC, Shammah Chancellor
wrote:
...
Are there any plans for the LDC and SDC team to work together
once SDC matures?
I recently joined the LDC team, and I am a bit at a loss...
Should I join SDC so that I can have fun writing in D? How big
is the duplication of effort between SDC and LDC? Could LDC and
SDC perhaps share druntime? (LDC has many custom changes to
druntime to either use LLVM intrinsics, or rewriting of
assembly routines that (I think) really only work for DMD)
-Johan
I'm actually looking at how things are done in LDC runtime on a
regular basis. That is great source of help.
Right now, thing are reimplemented in SDC, but the actual runtime
is very slim. I reimplemented exceptions as I was not satisfied
by the way C++ exception are handled by LDC and I want to
leverage type qualifier to improve the GC, which makes for an
incompatible GC API at runtime level for SDC (so reimplementation
is going on here).
I'm not opposed to sharing work with LDC, and vast part of SDC's
runtime are stupid stubs that fake it (till hopefully we can make
it) and I'm sure sharing with LDC is an option for some of them.