Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calypso could then exist as a LDC plugin in the form of a shared library. #44

Open
wilzbach opened this issue Jul 28, 2016 · 2 comments
Labels

Comments

@wilzbach
Copy link

It is designed so that when the day comes splitting Calypso from LDC will be easy and Calypso could then exist as a LDC plugin in the form of a shared library.

Is there already a roadmap with open issues for this day to happen?

@Syniurge
Copy link
Owner

Syniurge commented Aug 29, 2016

Hi @wilzbach and sorry for the late reply, there is still a long way to go, Calypso first has to make the DDMD jump.

And the sentence from the wiki may make it sound easier than it is. It's easy to separate the bulk of Calypso from DMD/LDC and put it into a shared library but there are still many intrusions into the code of DMD and LDC that first need to be turned into PR and accepted by the DMD and LDC teams: type system changes, class value types, generalization of struct literals for class values, multiple template parameter pack support, lots of small hooks... (and some of these changes need rework and cleanup before submission)

According to ldc-developers/ldc@release-0.17.1...Syniurge:cpp11-push there are more than 1700 lines of change to submit.

The dive into DDMD will be the occasion to trim down the changes that could be controversial (for ex. Type::equivs which is horrible and unfortunately I didn't realise it until too late, it was already everywhere) and create at least a few PRs for bugfixes and improvements not Calypso-specific that I didn't take the time to submit to upstream before, e.g template argument deduction improvements (which iirc is ~400 lines of code). It shall happen after the first MSVC release so probably some time in October.

@timotheecour
Copy link
Collaborator

As of 3ec67bc the DDMD jump was done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants