Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pkhuong
· 4y ago · 0 comments
We've had a lot of success combining that approach (cffi instead of ctypes) with property-based testing (
https://github.com/HypothesisWorks/hypothesis
) for the query engine at backtrace:
https://engineering.backtrace.io/2020-03-11-how-hard-is-it-t...
.
Comments
[–]
jaromir_
4y ago
Have you exposed the C library to Python via ctypes as OP or have you taken a different approach?
[–]
pkhuong
OP
4y ago
Just cffi, and keeping the headers free of inline implementation noise (a side benefit, in my opinion).