Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

New thread

Name: Anonymous 2010-09-02 14:29

Best way to learn programming:

1) Learn logic
2) Learn assembly
3) Learn C

At this point, two choices: stick with C or learn whatever high-level languages/paradigms suit what you want to do.

Almost everyone does the exact reverse.  First learn BASIC or Java, then attempt to understand what's going on underneath (and probably never get around to it).

If you go from the bottom up, each step gets easier and there's no mystery hiding what's going on under the hood.

Name: Anonymous 2010-09-04 1:20

>>51
There's many ways to do it.
One CL implementation that I know of uses the lower 2 bits as tags (so you have 29bit signed integers, which isn't that good actually, but it's okay, if you really want fast 32bit ops, you can use  declarations or make yourselves some macros for such things - for example, if you're writing a crypto library and want to achieve c-like speed). So fixnums would be xx00, thus addition and overflows all work correctly, and converting the value to a normal int would be just a shr reg, 2.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List