Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
523 views

I have recently evaluated freely available software-packages / frameworks for producing complex, flexible and high quality graphics of statistical data for displaying such data in a machine-learning - ...
javaGeek's user avatar
1 vote
2 answers
4k views

I created a webpage that has one JavaScript function called foo(z). For the sake of this question, let's assume that all foo(z) does is call console.log(z). Is it possible to run a Python script that ...
Ryan's user avatar
  • 6,087
2 votes
0 answers
188 views

I have a program which is an extension of Lua, i.e. it includes a bunch of additional objects and functions. This program can now be used to execute lua scripts which make use of the additional ...
user2224350's user avatar
  • 2,336
1 vote
0 answers
451 views

I'm trying to create language bindings for a message passing interface but the compiler can't recognize my reference to the C functions... I'm currently using gfortran as my compiler on a linux ...
dabblerabble's user avatar
4 votes
2 answers
786 views

I would like to be able to catch a terminating Fortran runtime errors in a C++ binding. I have a legacy F90 code to bind to and expect all kind of errors e.g. numerical, IO etc. I managed to handle ...
levego70's user avatar
1 vote
1 answer
62 views

I have several cases where I needed to make an interface library somewhat "dummy", meaning that it is just needed to make an application written in language A call a library written in language B, in ...
Fabius Wiesner's user avatar
0 votes
1 answer
2k views

I git cloned pybind11's cmake exmaple. Then I built it with pip install ./cmake_example. My python file contains the following: import cmake_example print(cmake_example.add(1, 2)) This works fine. ...
user3132457's user avatar
  • 1,069
5 votes
0 answers
541 views

I am trying to write a library which can be used from multiple programming languages, for example: CLR languages (C#, F#..) JVM languages (Java, Kotlin, Scala..) Native languages (C/C++, Rust, ...
Jesse's user avatar
  • 7,065
12 votes
1 answer
6k views

I've found that Elixir programs can run C code either via NIFs (native implemented functions) or via OS-level ports. Having read those and similar links, I'm not a hundred percent clear on when to use ...
Vivian's user avatar
  • 1,639
1 vote
3 answers
344 views

I tried to follow this: http://www.troubleshooters.com/codecorn/lua/lua_lua_calls_c.htm I tried to compile the c code like it says in the guide: gcc -Wall -shared -fPIC -o power.so -I/usr/include/...
Ace shinigami's user avatar
7 votes
2 answers
858 views

I have a C library that uses a struct of function pointers for callbacks. The callbacks will be called from C code. extern "C" { typedef struct callbacks_t { void (*foo) (const char*); int (*...
user1526370's user avatar
0 votes
2 answers
308 views

Widget toolkits like qt/gtk+ have multiple language bindings. Suppose I want to develop an application in c++ but want to use gtk+ C language bindings for my gui. Is it possible to write the source ...
jdmuroe's user avatar
  • 29
2 votes
1 answer
544 views

There are multiple questions about "how to" call C C++ code from Python. But I would like to understand what exactly happens when this is done and what are the performance concerns. What is the theory ...
Marcel's user avatar
  • 1,152
1 vote
1 answer
737 views

I am trying to make a binding between an Objective-C library and C# within Xamarin. The class header that I am trying to bind is this: @interface MGLPolyline : MGLMultiPoint <MGLOverlay> + (...
Brendan Murphy's user avatar
1 vote
1 answer
309 views

The problem Say you've got a C++ class. Say you want to export its constructor(s) and methods to C. Say you followed the advices given in the solution to the "Wrapping C++ class API for C ...
Fabio A.'s user avatar
  • 2,804

15 30 50 per page