TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tail-call optimization added to 6to5 compiler

117 pointsby insertionover 10 years ago

5 comments

jarcaneover 10 years ago
I was literally complaining today about the fact that no-one seems to have yet implemented that part of the ES6 standard yet[1], and yet now here it is.<p>As someone chiefly interested in .js for it&#x27;s &#x27;functional curious&#x27; side, the new features in ES6 have me really excited.
评论 #9015829 未加载
billburchamover 10 years ago
Best part, from the actual commit[1]:<p><pre><code> Showing 24 changed files with 182 additions and 214 deletions. </code></pre> More lines <i>deleted</i> than added.<p>[1] <a href="https://github.com/6to5/6to5/pull/714/files" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;6to5&#x2F;6to5&#x2F;pull&#x2F;714&#x2F;files</a>
sebastianmckover 10 years ago
Available as of 3.5.0. Happy to answer any questions if anyone has any!
jabbrassover 10 years ago
<a href="http://jsperf.com/tco/8" rel="nofollow">http:&#x2F;&#x2F;jsperf.com&#x2F;tco&#x2F;8</a>
评论 #9018090 未加载
smrtinsertover 10 years ago
I wonder if this implementation idea is general enough that it could be added to clojure anr script.
评论 #9015945 未加载