top | item 37617013

(no title)

ali_m | 2 years ago

I think ctypes shines when it comes to fast prototyping, since you can iterate on the python bindings without a compilation step. It can also simplify distribution since the bindings can be pure python. Where it's arguably not so good is performance and maintainability.

discuss

order

jofer|2 years ago

Yeah, I'd agree with that. Ctypes does have advantages for several use cases, and quick iteration is one of those, for sure.

It's definitely a good tool to have in your toolbox!