Tail Call Optimization
0612 TV w/ NERDfirst 0612 TV w/ NERDfirst
58.9K subscribers
7,194 views
0

 Published On Nov 10, 2020

We hear about tail calls from time to time in the world of programming, and how they can be optimized for performance. What exactly is that, and how would such optimization work? Today, we take a closer look at tail calls, in addition to a common use case - Tail call recursion!

= Contents Page =
0:00 Introduction
0:42 Contents Page
1:13 Foundation: Code and RAM
1:59 Functions and RAM
2:22 The "Return" Problem
2:57 The Call Stack
4:06 Introduction to Tail Calls
4:39 Need for Tail Call Optimization
5:27 Tail Call Optimization
6:14 Tail Call Recursion
7:14 Benefits of Tail Calls
8:02 Conclusion

= 0612 TV =
0612 TV, a sub-project of NERDfirst.net, is an educational YouTube channel. Started in 2008, we have now covered a wide range of topics, from areas such as Programming, Algorithms and Computing Theories, Computer Graphics, Photography, and Specialized Guides for using software such as FFMPEG, Deshaker, GIMP and more!

Enjoy your stay, and don't hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don't forget to subscribe!

Like what you see? Buy me a coffee → http://www.nerdfirst.net/donate/

0612 TV Official Writeup: http://nerdfirst.net/0612tv
More about me: http://about.me/lcc0612
Official Twitter:   / 0612tv  

= NERDfirst =
NERDfirst is a project allowing me to go above and beyond YouTube videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.

Watch this space, and keep your eyes peeled on this channel for more updates! http://nerdfirst.net/

-----

Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.

show more

Share/Embed