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

Allow quilc to be compiled to a dynamic library #63

Closed
stylewarning opened this issue Feb 7, 2019 · 1 comment
Closed

Allow quilc to be compiled to a dynamic library #63

stylewarning opened this issue Feb 7, 2019 · 1 comment
Labels
valves-and-cogs Difficult for the newcomer

Comments

@stylewarning
Copy link
Member

This is possible with Embeddable Common Lisp and I think would be the most straightforward way to do it instead of trying to coax SBCL into doing it.

quilc isn't all portable to ECL, so this issue would require stubbing out the appropriate ECL functionality.

The biggest trouble, however, is that arrays of (complex double-float) must be supported by MAGICL. ECL doesn't support it yet, and would be critical to getting this to work. See this thread on the ECL issue tracker.

@jmbr
Copy link
Contributor

jmbr commented Jun 21, 2019

I've been going through some of the documentation of SBCL's internals recently and it seems like this might be viable using so-called "alien callbacks" and libsbcl.so

@notmgsk notmgsk closed this as completed Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
valves-and-cogs Difficult for the newcomer
Projects
None yet
Development

No branches or pull requests

3 participants