I'm creating a m3u8 generator/parser for crystal, yet I want to use it later with ruby. Is that possible/easy to do it?
Is it possible to create Crystal binds for Ruby?
Asked Answered
Yes, you export the functions in your crystal library to C and then create a ruby wrapper for that, see firmhouse.com/… –
Ajaajaccio
Yes, you can create Ruby extension using Crystal. It's enough to bind Ruby lib. There's an interesting presentation by Anna Kazakowa regarding that topic.
See also:
© 2022 - 2024 — McMap. All rights reserved.