| Article: |
An Introduction to Erlang | |
| Subject: | Recursion? Goto? | |
| Date: | 2007-12-21 03:46:33 | |
| From: | GregoryBrown | |
|
Response to: Recursion? Goto?
|
||
|
Hi. The call to loop() is a simply a recursive call. Functional languages are optimized to handle recursion efficiently, and Erlang is no exception.
|
||
Showing messages 1 through 1 of 1.
-
Recursion? Goto?
2007-12-21 18:20:52 rickhg12hs [View]



I'll have to learn more about Erlang and how it does recursion. Seems like after some enormous number of messages, the chat system would run out of memory by the ever increasing stack ... so I guess that's not how Erlang handles it. Very interesting.