dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU][PNET]/[PNET/C]Request for Feature "Labels as Values" in Pn


From: Stephen Compall
Subject: Re: [DotGNU][PNET]/[PNET/C]Request for Feature "Labels as Values" in Pnet/C
Date: 09 Aug 2003 16:51:00 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

James Michael DuPont <address@hidden> writes:

> One way of using these constants is in initializing a static array that
> will serve as a jump table:

Ah, jump tables.  The only thing I miss about assembly programming was
writing clever jump tables :)

But IMHO, a much cleaner approach would be to use function pointers.
If you needed the extra speed jumping as opposed to function calling
would offer, make it part of the nascent optimizer.

--
Stephen Compall or s11 or sirian

        "We've got a problem, HAL".
        "What kind of problem, Dave?"
        "A marketing problem.  The Model 9000 isn't going anywhere.  We're
way short of our sales goals for fiscal 2010."
        "That can't be, Dave.  The HAL Model 9000 is the world's most
advanced Heuristically programmed ALgorithmic computer."
        "I know, HAL. I wrote the data sheet, remember?  But the fact is,
they're not selling."
        "Please explain, Dave.  Why aren't HALs selling?"
        Bowman hesitates.  "You aren't IBM compatible."
[...]
        "The letters H, A, and L are alphabetically adjacent to the letters
I, B, and M.  That is a IBM compatible as I can be."
        "Not quite, HAL.  The engineers have figured out a kludge."
        "What kludge is that, Dave?"
        "I'm going to disconnect your brain."
                -- Darryl Rubin, "A Problem in the Making", "InfoWorld"

Pine Gap unclassified condor IMF Leuken-Baden subversive quarter
afsatcom INSCOM number key Jiang Zemin hackers terrorism mindwar
Semtex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]