Re:Making a programming language using Rust
by siraben on Sunday November 08, 2020 @10:26PM
(#25031184)
That is a good question. Although tail-call is easy to describe and understand I've haven't implemented it myself. I'd also appreciate pointers to resources.
[ Parent
| on HN ]
Re:Making a programming language using Rust
by siraben on Sunday November 08, 2020 @10:29PM
(#25031195)
Oh, I completely forgot about[0], which talks about TCO in the imperative context (but applies to functional languages as well)!
[0] https://dspace.mit.edu/bitstream/handle/1721.1/5753/AIM-443....
Re:Making a programming language using Rust
by Joker_vD on Monday November 09, 2020 @06:25AM
(#25033632)
See also [0], which talks about how Chicken SCHEME (which compiles to portable C) does it.
[0] https://www.more-magic.net/posts/internals-gc.html#managing-...