Thanks, Minh. So are things like recursion and memory sharing typically out
the window?

Recursion works in C, but every function call pushes stack, so
recursive depth is limited by RAM (compare to tail call optimization
in many functional programming languages where the stack frame is
reused if code is written iteratively with an accumulator). Most of
the time for performance (and to be idiomatic) in C you will just
write for and while loops and modify state in place. Welcom to C.

 Jared.
--
http://www.updike.org/~jared/
reverse ")-:"
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to