2 ms·
If lua is used only as an adapter, that is an intermediary between the client and host converting objects to table and vice versa. You cannot dump function defi
by caligian 3y ago
If lua is used only as an adapter, that is an intermediary between the client and host converting objects to table and vice versa. You cannot dump function definitions (hence only serializable) except in bytecode. Who'd pass that around? You can store code as pure function strings and eval them as a module to provide a transformer module. Certainly a hash can be embedded in the code or sent over the server to prevent tampering with no security headaches
- cxr 3y agoI'd wager that if the person you're responding to posted because they were unsure if they understood you correctly, then after this comment they're probably sure that they don't. (But I could be wrong.)
- caligian 3y agoMy bad. What i meant is that code execution is alright rather than dealing with macro magic in yaml or excessively verbose nesting like in toml