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

Pages: 1-

knowledge for noobs

Name: Anonymous 2016-07-23 4:48

How are procedure calls implemented? well you need to push a return address so that once the procedure completes it knows where to go back to, and you need to push all the parameters too, then you simple jump into the procedures code address.

And what is a tail call? its exactly the same as a normal procedure call except that the current stack frame is replaced or overwritten rather than a new one being created.

Name: Anonymous 2016-07-23 5:12

And what is a tail call?
Imagine your body is a function, and your tail is a return statement. Now insert the the tail in your anus and you got tail-end recursion!

Name: Anonymous 2016-07-23 5:23

It all depends on your programming language requirements, implementation requirements, exception ABIs, side-band contexts, binding environments, threading ABIs (including sharing stack with multiple green threads) and other things.

>>1 is just a collection of noob-tier non-knowledge, so I guess the title is mostly correct.

Name: Anonymous 2016-07-23 5:26

knowledge for boobs

Name: Anonymous 2016-07-23 5:29

>>1
And what is a tail call? its exactly the same as a normal procedure call except that the current stack frame is replaced or overwritten rather than a new one being created.
That's an optimized tail call. A tail call in general is just a recursive function, call at the end of a procedure, which may or may not overwrite the current stack frame. An infinite recursion algorithm like
int f(n) {
n++;
return f(n+1);
}

will cause a stack overflow if unoptimized, but will be transformed into a simple infinite loop if optimized.

Name: Anonymous 2016-07-23 5:31

will cause a stack overflow if unoptimized
not on a Turing Machine!

Name: Anonymous 2016-07-23 5:33

>>5
Tail calls are orthogonal to recursion. They just happen to be the last evaluation of a function.

Name: Anonymous 2016-07-23 5:40

>>6
What calling convention does a Turing machine use?

Name: Anonymous 2016-07-23 6:04

And what is a tail call? its exactly the same as a normal procedure call except that the current stack frame is replaced or overwritten rather than a new one being created.

no tthey ARENT

don't u know ANYTHING

a tail call's a call that CAN be replaced by a jump

IM JUST A RAW GIRL IN A TOXIC WOR-ORLD

https://rawgirltoxicworld.wordpress.com/

Name: Anonymous 2016-07-23 6:54

RAW .. TOXIC
woo faggot detected

Name: Anonymous 2016-07-23 6:55

>>8
Manual.

Name: Anonymous 2016-07-23 6:55

woo dubs detected

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