kushview / element

Element Audio Plugin Host
https://kushview.net/element/
1.13k stars 98 forks source link

Lua: el.object Might Be Overkill #746

Closed mfisher31 closed 7 months ago

mfisher31 commented 7 months ago

The more I dig in to Lua, the more I realize lua <-> c++ class inheritance isn't all that necessary. Removing the object proxy bridge would improve general performance and simplicity.

mfisher31 commented 7 months ago

I came to the conclusion there's to much already set up and working as far as recycling widget types and overrides is concerned. to change this up at this point wouldn't be worth it. The idea of not using an object proxy should be pursued in a v2 version of the UI lua api later down the road.