TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Being lazy has its benefits

2 点作者 jtregunna将近 14 年前

1 comment

tsewlliw将近 14 年前
Futures make for an interesting 'batch' RPC API - queue up a bunch of RPC calls by returning Futures instead of values, and when one is forced send them all across the wire.<p>This is a great way to add batch functionality to an API that didn't have it originally. Need to frob a set of zibs? store the futures of the zib frobbings in a new set, and then force them. (wow, bad faux verbs and nouns)