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.

Continuations by example: Exceptions, time-traveling search, threads, and more

151 pointsby alschwalmalmost 5 years ago

4 comments

verytrivialalmost 5 years ago
I always start Matt Might articles thinking "Okay, THIS is the one I'm going to understand all the way to the very end without unlearning what I just read, else I die," and alas, I have again died.
评论 #23863985 未加载
评论 #23862170 未加载
emmanueloga_almost 5 years ago
I was actually relieved when I found this article [1] which argues against call&#x2F;cc as a core language feature. Alas, I think the argument does not dismiss _delimited continuations_, so now my burden has shifted from mastering call&#x2F;cc to mastering shift&#x2F;reset :-&#x2F; [2].<p>1: <a href="http:&#x2F;&#x2F;okmij.org&#x2F;ftp&#x2F;continuations&#x2F;against-callcc.html" rel="nofollow">http:&#x2F;&#x2F;okmij.org&#x2F;ftp&#x2F;continuations&#x2F;against-callcc.html</a><p>2: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Delimited_continuation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Delimited_continuation</a>
jolmgalmost 5 years ago
I think I&#x27;ve found a good use for continuations in a parser combinator library I&#x27;m writing, though I haven&#x27;t gotten around to working on the corresponding feature yet.<p>Has anyone used continuations in a serious&#x2F;non-academic way?
评论 #23864782 未加载
评论 #23865444 未加载
评论 #23865272 未加载
Google234almost 5 years ago
Wow, imagine writing in such an unreadable language