Y
Hacker News
new
|
ask
|
show
|
jobs
by
pkhuong
1593 days ago
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...
.
1 comments
jaromir_
1593 days ago
Have you exposed the C library to Python via ctypes as OP or have you taken a different approach?
link
pkhuong
1593 days ago
Just cffi, and keeping the headers free of inline implementation noise (a side benefit, in my opinion).
link