[vlc-devel] [PATCH] Add Rust backed cue sheet parsing module
remi at remlab.net
Thu Aug 20 18:04:52 CEST 2020
Either Rust is used as a special niche with its custom API, like Lua. Or it wraps (a relevant subset of) the plugin API.
It makes no sense to have to maintain dedicated glue code for each and every Rust module, especially if they're for the same VLC capability.
Le 20 août 2020 10:51:13 GMT+02:00, Kartik Ohri <kartikohri13 at gmail.com> a écrit :
>On Thu, Aug 20, 2020 at 1:43 PM Steve Lhomme <robux4 at ycbcr.xyz> wrote:
>> On 2020-08-19 17:22, Alexandre Janniaux wrote:
>> > Hi,
>> > On Wed, Aug 19, 2020 at 05:04:08PM +0200, Rémi Denis-Courmont
>> >> And then I would expect that the interface from Rust is not
>> rather wrapping the plugin API directly.
>> > I'm not sure to understand this correctly.
>> > Does it mean that rust should use vlccore function for the plugin
>> > behaviour, or that the plugin should directly expose itself without
>> > a C wrapper, or something else?
>> Have generic Rust code that handles the VLC filter API and then each
>> filter be written in Rust without caring of the C binding. That seems
>> cleaner IMO so when we update the filter API we only have this
>> to update.
>> And then we could do the same kind of generic binding for codecs and
>> pretty much every other module type.
>Before beginning the development on this, I had a discussion with
>Thomas. It was decided that this approach is not very good. The
>the Rust Bindings for the VLC API will need to be regenerated for even
>change in the VLC API. This will be cumbersome. Also, since Rust will
>sparingly in the codebase it is probably better to have separate rust
>expose a C interface. I think Thomas and Romain will be able to better
>the reasons behind the approach here.
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel