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

C bindings #399

Open
nicoburns opened this issue Mar 20, 2023 · 3 comments · May be fixed by #404
Open

C bindings #399

nicoburns opened this issue Mar 20, 2023 · 3 comments · May be fixed by #404
Labels
enhancement New feature or request

Comments

@nicoburns
Copy link
Collaborator

nicoburns commented Mar 20, 2023

What problem does this solve or what need does it fill?

The ability to use Taffy from languages other than Rust.

What solution would you like?

Official C bindings maintained in the Taffy repository.

Additional context

  • Most languages have facilities to bind to C libraries, so a C API not only allows Taffy to be used from C/C++/Objective-C, but makes it much easier for people to create bindings to other languages that don't (yet) have their own bindings.

Prior Art

@nicoburns nicoburns added the enhancement New feature or request label Mar 20, 2023
This was referenced Mar 21, 2023
@nicoburns nicoburns removed this from the 0.4 "Make taffy easier to embed" milestone Apr 10, 2023
@kkukshtel
Copy link

+1'ing this. Currently using Yoga but would like another option that is more capable of being compiled to a DLL and bound via a C ABI. My target is C#/.NET but as you pointed out there are a world of additional use cases that this would unlock.

@alice-i-cecile
Copy link
Collaborator

I don't have the expertise to maintain this, but I think this is a thing that should exist. If you'd like to help maintain these, please let us know in this thread!

@crystalthoughts
Copy link

Is there any movement on this? Would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants