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.

Show HN: Multiplayer NES Server in 77 Lines of Go

127 pointsby olaalmost 10 years ago

8 comments

sschuelleralmost 10 years ago
mmm, not sure if doing this counts as using 77 lines of code:<p><pre><code> import ( &quot;github.com&#x2F;gin-gonic&#x2F;gin&quot; &quot;github.com&#x2F;gorilla&#x2F;websocket&quot; &quot;github.com&#x2F;olahol&#x2F;melody&quot; &quot;net&#x2F;http&quot; &quot;sync&quot; ) </code></pre> But still impressive.
评论 #9609731 未加载
评论 #9610011 未加载
andrewliebchenalmost 10 years ago
It might be simple, but it&#x27;s certainly not simplistic :)
eynix_almost 10 years ago
I don&#x27;t get the difference between github.com&#x2F;gorilla&#x2F;websocket &amp; github.com&#x2F;olahol&#x2F;melody. Does someone have a clue ?
评论 #9611288 未加载
tokenrovealmost 10 years ago
It would be nice to see state-synchronization using rewinding like GGPO, instead of just sending the inputs which introduces a lot of latency.
评论 #9611528 未加载
geff82almost 10 years ago
So how many stories &quot;X in Go&quot; or &quot;Y in Rust&quot; a day will we have in future? Its a bit much currently...
SpaceManNabsalmost 10 years ago
Is there any documentation around? I have no idea how any of this code works, and it doesn&#x27;t seem to similar to the web apps that I have seen before. Haven&#x27;t worked with melody before either...
评论 #9609719 未加载
mappualmost 10 years ago
What&#x27;s the best solution in Go to support graceful degradation for browsers without websockets &#x2F; networks that disallow it?
评论 #9609794 未加载
评论 #9610861 未加载
oknoorapalmost 10 years ago
well done, impressive.