- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 20 Mar 2013 13:29:43 -0400
- To: Marcos Caceres <w3c@marcosc.com>
- CC: Domenic Denicola <domenic@domenicdenicola.com>, Yehuda Katz <wycats@gmail.com>, Anne van Kesteren <annevk@annevk.nl>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 3/20/13 12:39 PM, Marcos Caceres wrote: > Initially I think it was C++, but increasingly these are reflected in JavasScript. Boris can provide details, but I think Moz's WebIDL parser/code generator will generate JS stubs. Our WebIDL code generator consumes WebIDL and outputs C++ code that works with SpiderMonkey APIs to implement the semantics WebIDL defines and to insulate the core Gecko code from having to manually work with SpiderMonkey data structures. Instead it can work with objects that make sense to it and have that automatically reflected into JS. This is also what our old xpidl-based binding system did, and what pretty much any IDL-based binding generator does, in effect... > This is what we are trying to get towards. I'd like to understand more about this. What exactly is the goal? -Boris
Received on Wednesday, 20 March 2013 17:30:14 UTC