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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Lyceum – An MMO game built with Zig and Erlang

148 点作者 fluidwizard6 个月前
Hey HN, this is a small project myself and closer friends have been building on our free time (<a href="https:&#x2F;&#x2F;github.com&#x2F;Dr-Nekoma&#x2F;lyceum">https:&#x2F;&#x2F;github.com&#x2F;Dr-Nekoma&#x2F;lyceum</a>), it finally reached 0.1.0, we are open to feedback!<p>The original idea was to experiment with Zig + Raylib, eventually we wrote a small server in Erlang as well. We started by first interacting with Erlang via its C bindings, but this eventually led to some of us to prototyping our own tooling to better integrate Zig types with Erlang, we called such tool &quot;zerl&quot; as its avaliable here <a href="https:&#x2F;&#x2F;github.com&#x2F;dont-rely-on-nulls&#x2F;zerl">https:&#x2F;&#x2F;github.com&#x2F;dont-rely-on-nulls&#x2F;zerl</a>.<p>Most of the developers are NixOS users, so the tooling heavily relies on Nix as well, including a Postgres running our devshell as well.

14 条评论

Closi6 个月前
Pretty amazing effort, this looks like a great labour of love!<p>I can&#x27;t give feedback on the code&#x2F;technology, but on the writing on the lore section, I would try to simplify the writing. For instance the following:<p>&gt; The reverberations of the trumpet stirred the knights from their deep repose, igniting a tumultuous awakening. With swords unsheathed and hearts ablaze, they clashed in a thunderous symphony of war, each seeking to claim dominance over the waking realm.<p>Feels too ornate (purple prose) and could be more directly put as:<p>&gt; The trumpet’s call jolted the knights from their rest. Swords drawn and hearts alight, they clashed in a fierce battle, each striving for dominance.<p>I&#x27;m not an author or anything, but a little bit of copy writing could help - although this might just be me as it&#x27;s probably a matter of personal taste!
评论 #42108210 未加载
评论 #42107017 未加载
评论 #42107559 未加载
评论 #42108002 未加载
评论 #42107201 未加载
评论 #42107052 未加载
mtlynch6 个月前
What&#x27;s your experience been like with Nix?<p>How do you feel about devenv vs stock Nix? How are you getting devenv to work, as I don&#x27;t see a devenv.nix file. I&#x27;m still a Nix beginner and would like to find ways of integrating it more into my development and improving my current techniques.[0]<p>[0] <a href="https:&#x2F;&#x2F;mtlynch.io&#x2F;notes&#x2F;nix-dev-environment&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mtlynch.io&#x2F;notes&#x2F;nix-dev-environment&#x2F;</a>
评论 #42110058 未加载
fluidwizard6 个月前
Regarding Zerl, my friend just presented about it in Functional Programming Sweden: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=5Cuv0WnbZtk&amp;t=795s" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=5Cuv0WnbZtk&amp;t=795s</a>.
diath6 个月前
The BEAM is made with fault tolerance, scalability, and concurrency in mind at the cost of performance due to immutability and message passing approach among other things, which sounds like a terrible choice for a multiplayer video game that&#x27;s anything more than a walking simulator. Erlang sounds like a good choice for auxiliary video game services, such as chat&#x2F;social, guild management, auction house and so on, not so much for the game shard itself.
评论 #42109386 未加载
评论 #42109679 未加载
评论 #42109902 未加载
racenis6 个月前
Do you think that you could use that Erlang feature where you can link up several server program instances running on separate physical servers?<p>Maybe you could simulate different parts of the game world on different physical servers.<p>I think this is something like what the Very Large MMOs do, but with Erlang it might be easier.
评论 #42109855 未加载
mapcars6 个月前
Its always nice to see people experimenting with different technologies.<p>I&#x27;m curious about Erlang server, do you see any advantage or features that Erlang provides, compared to for example if the server was running in Python via multiple instances?
评论 #42107010 未加载
评论 #42110372 未加载
mysterydip6 个月前
I&#x27;m confused by the use of a 10,000 poly model for a tile instead of a flat (2 poly) square. I didn&#x27;t even realize there were changes in its height from the animation on the page. Was it just to test things out and you plan to go to a full terrain later?
评论 #42107004 未加载
canadiantim6 个月前
Seems cool, would love to see a couple more videos of gameplay, but otherwise looks really cool. I would definitely consider playing
评论 #42106907 未加载
subsaharancoder6 个月前
Did you happen to tinker with <a href="https:&#x2F;&#x2F;machengine.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;machengine.org&#x2F;</a> it&#x27;s a Zig game engine &amp; graphics toolkit?
评论 #42120452 未加载
7bit6 个月前
I was clicking the source expecting to see what kind of game Lyceum is. There is no description about the game and no images of the game.
评论 #42115530 未加载
pmarreck6 个月前
Props for using Nix.
lovegrenoble6 个月前
Will the game evolve further, and what is its future?
评论 #42106999 未加载
评论 #42107051 未加载
newobj6 个月前
is Lyceum a reference to Ultima?
lionkor6 个月前
&gt; the client written in Zig (superchanged with raylib and Zerl).<p>What does &quot;supercharged&quot; mean here? I&#x27;d guess raylib simply does <i>all</i> the rendering and input handling, what is it &quot;supercharging&quot; here?
评论 #42106521 未加载
评论 #42107872 未加载
评论 #42109658 未加载
评论 #42106840 未加载