3 ms·
So there are two approaches to accomplishing the apparently desired goal(s) here: 1. a (typically) non-compiled language wrapper around the internal library 2
by PaulDavisThe1st 5y ago
So there are two approaches to accomplishing the apparently desired goal(s) here:
1. a (typically) non-compiled language wrapper around the internal library
2. a (normally) non-compiled language used for scripting inside the application
Guess which one is easier to do? For bonus points, present a case for one of them being better than the other
- hjek 5y ago> Guess which one is easier to do? I'm guessing 2) would be easier to implement as 1) would require using the FFI of the wrapping language, which can be challenging. Also, the scripting language is likely to be well-documented as I assume it's core functionality readily available from the GUI. (Although, as a counter-example to this, I found GIMP's Scheme scripting terribly under-documented, so not always.) > For bonus points, present a case for one of them being better than the other 2) is clearly better because it treats the whole OBS application as a black box and just pipes (or whatever) scripting command strings to OBS. 1) is clearly better because performance. Ee're talking about a video streaming app, so performance is essential.