News for hackers. Stuff that matters.
Re:Tcl Calling Parallel C++ Code Using OpenMP by elteto on Saturday May 29, 2021 @10:34PM (#27330142)
How do you use an FFI with C++ classes? My understanding is that you must lower things down to C level, this is a lot of work and not all scripting languages have the same FFI.

SWIG automatically translates (to a certain degree) constructs in one language to another. So a C++ class becomes a Python class. Again, it needs some work to map these things but it mostly just works.

Re:Tcl Calling Parallel C++ Code Using OpenMP by pjmlp on Sunday May 30, 2021 @02:15AM (#27331007)
In Windows you make everyone speak COM, or the improved version UWP.