Am 20.08.2011 11:34, schrieb Orchid XP v8:
> I can still remember everybody laughing when he said that our assignment
> was to write a program to draw a straight line. But *you* try doing that
> with only integer arithmetic. It's surprisingly nontrivial.
... but can be accomplished by surprisingly elegant and (comparatively)
fast code in Assembler. (What surprised me even more was to see how a
similarly elegant and efficient algorithm could draw a circle. No
trigonometrics, not even a radix, just plain Assembler commands you'd
find on a Z80 processor.)
Post a reply to this message
|