Purpose: this page describes one of JCW's strong opinions:


Make all POLICY decisons scripted, write only INTERFACES in C.


The dostring case described in Easy changes for Lua is a good example. It is easy to write a wrapper (especially with Lua's closures) which disallows running compiled scripts, when the unrestricted version exists. It is impossible to do that with the current 4.0 design. IMO, luasocket [1] might benefit from a similar approach: make a really cool Lua networking interface in Lua itself - but consider writing it on top of a very thinly wrapped, ugly, C extension.


Last modified
2001-02-04

(216.232.136.19)

Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated