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.

Porting Doom to the Fastly edge serverless platform

162 pointsby kickdaddyabout 4 years ago

9 comments

krigeabout 4 years ago
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 未加载
dividuumabout 4 years ago
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 未加载
taneqabout 4 years ago
&quot;Remember Doom? I love that game, but is there any way we could make it less... well... <i>efficient</i>?&quot;
评论 #26886828 未加载
评论 #26889437 未加载
woeiruaabout 4 years ago
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 未加载
johnklosabout 4 years ago
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 未加载
tyingqabout 4 years ago
Cool write up, but no short demo or repo? Or did I somehow miss that?
评论 #26885167 未加载
评论 #26890465 未加载
philipswoodabout 4 years ago
Serverless Doom.<p>Cloud, clouds everywhere.
评论 #26885378 未加载
评论 #26885315 未加载
mwcampbellabout 4 years ago
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 未加载
daxfohlabout 4 years ago
Does this load the entire wasm binary each request or does it stay warm while playing?