960
you are viewing a single comment's thread
view the rest of the comments
[-] barsoap@lemm.ee 3 points 10 months ago

Yes you still need the loop part I skipped over that one, only focussing on the "why no return address on the stack" part. It's what you need to focus on to see whether a recursive call is in a tail position and if it is the compiler does the rest no need to worry about that part.

this post was submitted on 04 Mar 2024
960 points (100.0% liked)

Programmer Humor

32797 readers
456 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS