Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Ask HN: Glueing C/C++ with Perl/Python/Ruby | Better HN
Ask HN: Glueing C/C++ with Perl/Python/Ruby
3 points · by
adm
· 17y ago · 1 comment
Is there any better alternative than swig. There is large c/c++ code which I would like to use through Perl/Python/ruby.
Comments
[–]
thristian
17y ago
Recent(ish) versions of Python have the "ctypes" ffi module in the standard library, which is useful if your C/C++ code is compiled into a shared library and doesn't use any particularly esoteric ABI features.