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

Using native OCaml C stubs with compiled languages? #32

Open
Lupus opened this issue Feb 15, 2020 · 1 comment
Open

Using native OCaml C stubs with compiled languages? #32

Lupus opened this issue Feb 15, 2020 · 1 comment

Comments

@Lupus
Copy link
Contributor

Lupus commented Feb 15, 2020

I'm still dreaming about Go backend, and got an idea - since Golang interfaces nicely with C, may be there is little benefit in reimplementing C stubs in Go, but instead bind them and call directly? Two garbage-collected runtimes in one process, what could go wrong? :)

@jordwalke
Copy link
Owner

Yeah, two garbage collectors tend to be very difficult to integrate with each other. However garbage collectors and C also do not interop well together. Nothing interops well together :D

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

No branches or pull requests

2 participants