3 ms·
In my case I’d go for embedded Lua with all the business logic in Lua and all the infra code in the host language (Go, Rust, etc…) What I have found with this
by _benj 5y ago
In my case I’d go for embedded Lua with all the business logic in Lua and all the infra code in the host language (Go, Rust, etc…)
What I have found with this approach is that sometimes it can be difficult to draw a clear line between business logic code and infrastructure code.
Traversing through a list of customers to make a report… do you call a dedicated function or do it on the scripting language? If you need a slightly different report format (including address + phone number) do you write a new function on the host lang or implement it as business logic?