[Beowulf] A start in Parallel Programming?

Chris Samuel csamuel at vpac.org
Mon Mar 19 16:30:07 PDT 2007


On Wed, 14 Mar 2007, Peter St. John wrote:

> and Ken wrote B in the late 60's (to extend your "gleam in the eye"
> metaphor beyond bearability, I'd say that Dennis carred the project to
> term). Nice thing about B is that the formal definition fits in 2 pages.

B, I remember it well and with fondness.  I was one of the folks who was 
involved in hacking on AberMUD (and its predecessor BBS HoneyBoard) in B at 
the University of Wales, Aberystwyth on their Honeywell L66 back in 87/88..

It had both the variable types you could ever need, namely auto and extern.

FYI.. (from the Users' Reference to B via Wikipedia):

/* The following function will print a non-negative number, n, to
  the base b, where 2<=b<=10,  This routine uses the fact that
  in the ASCII character set, the digits 0 to 9 have sequential
  code values.  */

printn(n,b) {
        extrn putchar;
        auto a;

        if(a=n/b) /* assignment, not test for equality */
                printn(a, b); /* recursive */
        putchar(n%b + '0');
}

Takes me right back..

-- 
 Christopher Samuel - (03)9925 4751 - VPAC Deputy Systems Manager
 Victorian Partnership for Advanced Computing http://www.vpac.org/
 Bldg 91, 110 Victoria Street, Carlton South, VIC 3053, Australia

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.scyld.com/pipermail/beowulf/attachments/20070320/1df1edff/attachment.bin


More information about the Beowulf mailing list