<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div><br></div><div>On Mon, May 27, 2019, at 06:43, Aakash Singh wrote:<br></div><blockquote type="cite" id="qt"><div dir="auto"><div>Hello<br></div><div dir="auto">I am Aakash Singh and I will be working towards integrating JS engine in VLC for scripting purposes and this will replace the Lua engine.<br></div><div dir="auto">HTTP, telnet and console are three <b>standard</b> interfaces included with Lua. I don't see any reason why they should be built on top of the scripting engine and not be independent modules when the functionality they provide are pretty standard.<br></div><div dir="auto">In the Lua implementation, they are registered as individual submodules and whenever a request to open a certain interface is made, the interface open function checks for the specific interface(http, telnet, console or any other) and then loads the corresponding Lua script <b>along with doing some additional work for the standard interfaces</b>. (So, if the 3 standard interfaces are implemented as independent modules, the scripting engine will still support loading new interfaces supplied by the user.)<br></div><div dir="auto">Any thoughts on this, why they should or shouldn't be built on top of the scripting engine?<br></div><div dir="auto">Regards<br></div><div dir="auto">Aakash Singh<br></div></div></blockquote><div><br></div><div>I don't know at all why these modules are done in lua and not in C.<br></div><div><br></div><div>But if you want to change it, you will have to rewrite them in C. It may be longer than rewriting them in JS.<br></div><div>Anyway, this should not be the priority of your GSOC work. You should focus on rewriting the youtube module in JS first. Then we will see.<br></div><div><br></div><div>BTW, I think the lua rc module will soon be gone since it has duplicate functionalities with our oldrc modules.<br></div><div><br></div><blockquote type="cite" id="qt"><div dir="auto"><div dir="auto">(Blurrrb)<br></div><div dir="auto"><br></div></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div>https://mailman.videolan.org/listinfo/vlc-devel<br></div></blockquote><div><br></div></body></html>