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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Porting Doom to the Fastly edge serverless platform

162 点作者 kickdaddy大约 4 年前

9 条评论

krige大约 4 年前
Running Doom on anything and in any form imaginable really is an artform but in this case I can&#x27;t help but be reminded of the recent &quot;Brainfuck as a Service&quot; post ( <a href="https:&#x2F;&#x2F;zserge.com&#x2F;posts&#x2F;bfaas&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zserge.com&#x2F;posts&#x2F;bfaas&#x2F;</a> )
评论 #26885965 未加载
dividuum大约 4 年前
I don’t know how larger the game state&#x2F;save game is, but if it’s small enough for a url parameter, they might even use their CDN for caching, as I would assume the same state always results in the same game output. If you don’t deviate from paths of previous players, you could sail along a cached path, no computation required :)
评论 #26887583 未加载
评论 #26887427 未加载
taneq大约 4 年前
&quot;Remember Doom? I love that game, but is there any way we could make it less... well... <i>efficient</i>?&quot;
评论 #26886828 未加载
评论 #26889437 未加载
woeirua大约 4 年前
This is one of those projects that sounds neat at first, but the more you think about it you&#x27;re left with an overwhelming question of why. Since serverless platforms charge you per API call this would be tremendously more expensive than just about any other approach that already exists today as the game would be making tens of thousands of API calls per user per session.
评论 #26890970 未加载
评论 #26890685 未加载
johnklos大约 4 年前
Neat idea, but the term &quot;serverless&quot; is still incredibly stupid and misleading. Go ahead and run any of this stuff without a server. Go ahead. I&#x27;ll wait.
评论 #26889411 未加载
评论 #26889754 未加载
评论 #26889299 未加载
tyingq大约 4 年前
Cool write up, but no short demo or repo? Or did I somehow miss that?
评论 #26885167 未加载
评论 #26890465 未加载
philipswood大约 4 年前
Serverless Doom.<p>Cloud, clouds everywhere.
评论 #26885378 未加载
评论 #26885315 未加载
mwcampbell大约 4 年前
If kentonv or someone else at Cloudflare is paying attention, I think Doom would make a good demo for Cloudflare&#x27;s new edge containers (currently in private preview) [1].<p>Edit: Or maybe Doom would be a good demo of Workers Unbound and Durable Objects. After all, Fastly just demonstrated that Doom can be ported to wasm, so it clearly doesn&#x27;t need a whole Linux container.<p>[1]: <a href="https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;containers-on-the-edge&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;containers-on-the-edge&#x2F;</a>
评论 #26909767 未加载
daxfohl大约 4 年前
Does this load the entire wasm binary each request or does it stay warm while playing?