I'm amused to learn that many MUSHes have a notion of in-game currency used to pay for compute: https://github.com/pennmush/pennmush/blob/master/game/txt/hlp/penntop.hlp#L794
This very much predates Ethereum or AWS Lambda pay-per-API call!
Related Posts
An ad hoc, informally-specified, bug-ridden, slow implementation of half of a text adventure game -- or as I like to call it, a compiler.
What are the most popular languages that have used an AST walker for their implementation?
I know Ruby used to do this, but there must be others.
(I'm interested in the lowest PL speed that users will tolerate if you have awesome features.)
TIL Tcl has a notion of 'safe interpreters', a mode where you can run untrusted code in a sandbox: https://www.tcl.tk/man/tcl8.4/TclCmd/safe.htm
Not many programming languages have this, but it's way safer to include in the implementation than try to build as a userland library.