# Tail-call optimization and function-barrier -based accumulation in loops

**URL:** <https://discourse.julialang.org/t/tail-call-optimization-and-function-barrier-based-accumulation-in-loops/25831>\
**Category:** Internals & Design\
**Tags:** question, type, loops\
**Created:** [June 29, 2019, 4:20am UTC](https://discourse.julialang.org/t/tail-call-optimization-and-function-barrier-based-accumulation-in-loops/25831 "2019-06-29T04:20:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [September 15, 2019, 1:47am UTC](https://discourse.julialang.org/t/tail-call-optimization-and-function-barrier-based-accumulation-in-loops/25831/8 "2019-09-15T01:47:28Z")

</div>

I just find that Guy Steele is discussing something very similar in the first half of this talk:

[![](https://global.discourse-cdn.com/julialang/original/3X/c/e/ce0b1e884ff882ad64dbd60f1729f65ccc3ffd4e.jpeg "Keynote with Guy Steele") ](https://www.youtube.com/watch?v=0hlBkQ5DjaY)

---

_[View the full topic](https://discourse.julialang.org/t/tail-call-optimization-and-function-barrier-based-accumulation-in-loops/25831)._
