Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 1996 08:41:27 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        jbarrm@panix.com
Cc:        questions@freebsd.org
Subject:   Re: Design & Implementation of 4.4BSD
Message-ID:  <199606091441.OAA02110@gatekeeper.fsl.noaa.gov>
In-Reply-To:  <Pine.BSF.3.91.960609083447.2892A-100000@jbarrm.dialup.access.net> (message from Barry Masterson on Sun, 9 Jun 1996 08:36:19 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Barry" == Barry Masterson <jbarrm@panix.com> writes:

    Barry> What language is this?  Are there other examples of this
    Barry> type of programming in the FreeBSD source code?

Are you serious?  It's called pseudo-code ... you use plain English in
the style of a programming language in order to convey an algorithm,
not to show something that will compile.  Many textbooks from the
realm of computer science make use of pseudo-code.  Sometimes, the
exercises at the end of a chapter will even say, ``Implement the
pseudo-code on page x.''

To see FreeBSD's actual implementation of disksort(), see the file

                     /sys/ufs/ufs/ufs_disksubr.c

-- 
Sean Kelly                          
NOAA Forecast Systems Laboratory    kelly@fsl.noaa.gov
Boulder Colorado USA                http://www-sdd.fsl.noaa.gov/~kelly/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606091441.OAA02110>