Skip to content

WIP: C bindings#3

Closed
JaminKoke wants to merge 7 commits intoBorgerLand:masterfrom
JaminKoke:c_bind
Closed

WIP: C bindings#3
JaminKoke wants to merge 7 commits intoBorgerLand:masterfrom
JaminKoke:c_bind

Conversation

@JaminKoke
Copy link
Copy Markdown
Contributor

So I also took a mini break to work on something else 🙂

I'm not familiar with creating bindings for C, so possibly a lot of this could be wrong. I created this by skimming through this video I found on Youtube and also asking AI what the "Rust equivalent" of something is.

Any help is appreciated!

Motivation

There are 2 main reasons I can think of:

  1. Feature complete with Manifold
  2. Using original tests

The first is self explanatory.

The second is an idea I had: Rather then having to port the test suite to Rust, we can use the original tests.
This means we don't have to worry about accidentally introducing a bug into the tests making them invalid.
We can eventually rewrite the tests in Rust when we feel like it, but for now this should (hopefully) be good enough!

Also as a mini bonus, it makes it easier to know what still needs to be ported!

@JaminKoke
Copy link
Copy Markdown
Contributor Author

Closing in favor of #7 .

I won't delete the branch in case we want to go back to this for whatever reason.

@JaminKoke JaminKoke closed this Nov 17, 2025
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

Successfully merging this pull request may close these issues.

1 participant