New VMMaker/svn release

David T. Lewis lewis at
Thu Dec 29 03:40:59 UTC 2005

On Wed, Dec 28, 2005 at 06:44:48PM -0800, tim Rowledge wrote:
> On 28-Dec-05, at 6:36 PM, David T. Lewis wrote:
> >
> > The VMENDIANNESS macro should not be necessary, since endianness can
> > be tested at runtime. Change sets attached.
> Cute! It's fractionally slower at runtime in return for slightly  
> simpler make/autoconf setup. Does anyone have a strong opinion either  
> way?

Well, it's a bit simpler in BCPL (ref. Martin Richards' bcpl source):

  bigender := (!"AAA" & 255) = 'A' // =TRUE if running on a bigender

The slang version handles 64 bit/32 bit word size, and caches the
result so it may not be much slower.


More information about the Vm-dev mailing list