For a while now, I&#x27;ve been pondering problem areas that would ideally be solved by domain-specialized variants of &quot;client-server architecture with client-side arbitrary code execution.&quot; Perhaps understandably, I&#x27;ve historically shied away from exploring these problem areas practically due to the fact that I&#x27;m well aware that it&#x27;s incredibly hard to find an effective ideal balance between client-side performance and safe code execution.<p>I don&#x27;t think I need the kind of performance that can only be obtained via JIT execution; I&#x27;m looking rather to run code that will update 2D graphics (alongside performing small amounts of 2D-related math), handling user interaction, etc, so I don&#x27;t think I need to worry about JIT, thankfully.<p>That said, I <i>am</i> especially interested in systems that are proven and have existed for a while, so that I can extend into areas of industrial control and the like, which generally like platforms built on stuff that has existed in the public consciousness for very long amounts of time. Forth comes to mind, but I don&#x27;t know if its token parsing overhead would make it slower than a binary-bytecode-based alternative (?).<p>The lowest common denominator of what kinds of processing power one should expect to run in has increased quite exponentially in recent years, so trying to solve for potential scenarios like &quot;what about a 25MHz CPU with 4MB of RAM&quot; is borderline a waste of time, but performance, albeit sans JIT, is definitely something I&#x27;m also interested in knowing about.
Ask HN: Fast, simple, unbreakably-sandboxed embeddable scripting language?