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

feat: Support for C and perhaps other languages too #43

Open
eliassjogreen opened this issue Jan 11, 2022 · 0 comments
Open

feat: Support for C and perhaps other languages too #43

eliassjogreen opened this issue Jan 11, 2022 · 0 comments
Milestone

Comments

@eliassjogreen
Copy link

It would be nice to have support for more languages than just rust, but I understand if that is out of the scope of the project at the moment. Anyways I propose splitting up codegen into a different crate and removing serde instead opting for encoding and decoding repr(C) objects in js directly using the new UnsafePointerView (wrote a small prototype in ts to prove that this works which it does).

This approach would let us continue using the macro for rust, and possibly reusing the codegen for analyzing other languages such as C header files while being more intuitive and most likely performant.

@littledivy littledivy added this to the 0.6.0 milestone Feb 8, 2022
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