Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 827 Bytes

File metadata and controls

27 lines (15 loc) · 827 Bytes

Openframeworks Node.js Python Instruction

Note

This repository is just a note. Real implementation is not included now, just refereces to other repositories.

This is my notes about how to:

  • Call node.js from openFrameworks (C/C++)
  • Call python from openFrameworks (C/C++)

Python

You can call Python (even if conda or uv), using nimpy.

https://github.com/funatsufumiya/call-nim-from-c-test/tree/nimpy

Once you have created .dll (or .lib, .dylib, .so, .a), you can call it from C/C++ (openFrameworks)

Node.js

You can call Node.js from Rust's edon crate.

https://github.com/funatsufumiya/edon-test

If you once created lib from Rust for C, then you can call it from C/C++.

(I did't research how to call Rust from C/C++, but there are many ways and many articles descriptions.)