From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 17 Feb 2010 15:58:53 +0100 From: Enrico Weigelt To: 9fans@9fans.net Message-ID: <20100217145853.GD10816@nibiru.local> References: <20100217133109.GA10816@nibiru.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: [9fans] Binary format Topicbox-Message-UUID: d4d60346-ead5-11e9-9d60-3106f5b1d025 * blstuart@bellsouth.net wrote: > If you're interested in how to do dynamic loading in a clean > and elegant way, take a look at Inferno. hmm, isnt this an interpreter-based system ? > Along the lines of what you're suggesting, everything is a module. > The only thing necessary to make a module suitable as a program to > run from the command line is the existence of a function > called init() with a particular signature. yes, definitivly a good way. reminds me a bit on Oberon, where commands are simply parameter-less procedures in some module. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 174 7066481 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------