Ask HN: Programming library that allows you to call libraries from any language?
I saw in a comment thread here a few weeks ago a library that allows you to call library functions from any programming language from any other programming language. I believe it was using WASM or some other kind of translation framework. I want to play around with it and see if it is practical. I believe the name of the software began with "d". Does anyone know it?
3 comments
There's Dylibso's Extism, a WebAssembly plugin system. The company building it begins with D. https://www.dylibso.com/products/extism/
Something like this? https://en.wikipedia.org/wiki/Foreign_function_interface
no, its not that, its a whole language agnostic programming library. the code example was like this:
#python code
import ffi_like_interface as ffi_like
jquery = ffi_like.transpile_js_library('jquery') json = jquery.call("function(args)") use_in_python(json)
#python code
import ffi_like_interface as ffi_like
jquery = ffi_like.transpile_js_library('jquery') json = jquery.call("function(args)") use_in_python(json)