Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why bother generating type information from an interface ?

0
Posted

Why bother generating type information from an interface ?

0

With ORBit stable, language bindings had to load and parse the IDL definitions for the interface. This had several disadvantages. • Primarily performance – loading a load of IDL text, forking the pre-preocessor to pre-process it, resolving all the symbols as strings, converting to an internal representaton – took time. With a standard internal representation, and a simple dlopen to grab it we have a major performance win. • Include problems: many IDL files are grouped into a single file to build, and can cause grief when included individualy. This contrasts with a working bundle of interfaces, verified at package IDL compile time. • libIDL – is an unmaintained mess, and is not particularly pleasant to link against, or code to. • Finding the IDL files – there was no standard path structure, or method of reliably locating all the relevant IDL files. Now at least there is an ad-hoc shared standard.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123