|
Hello, I wanted to write qt binding for crystal language. |
Replies: 1 comment 1 reply
|
Hi! Thanks for the interest! The answer to your questions are entirely up to you and how you want to integrate your Crystal project with this library. On a technical level, this project has C wrappers and C bindings, both of which should be usable with Crystal's C FFI. This library is designed for consumption via C so I am of the opinion that the bindings should be used for other languages instead of the wrappers but that is also considerably more work and not many will have the appetite for that. For the optimal long-term experience, any target language is better served by native wrappers as well. To boil it all down, it depends on what your goals are. If you want to get started with a Crystal application today, that path is different from if you want to create a library for long-term consumption via Crystal. |
Hi! Thanks for the interest! The answer to your questions are entirely up to you and how you want to integrate your Crystal project with this library. On a technical level, this project has C wrappers and C bindings, both of which should be usable with Crystal's C FFI. This library is designed for consumption via C so I am of the opinion that the bindings should be used for other languages instead of the wrappers but that is also considerably more work and not many will have the appetite for that. For the optimal long-term experience, any target language is better served by native wrappers as well.
To boil it all down, it depends on what your goals are. If you want to get started with a C…