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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Simple games ported to Scala 3 – Try them in the browser

70 点作者 AlexITC将近 3 年前
Hi everybody, I just ported some 2018-scalajs games to Scala 3, it is amazing that such 8-year old code base required less than an hour to get all the games working in Scala 3.<p>I encourage you to try Scala.js&#x2F;Scala3 which work really nice.

4 条评论

threeseed将近 3 年前
For those interested in Scala.js I would recommend two UI frameworks:<p>a) Slinky - <a href="https:&#x2F;&#x2F;slinky.dev" rel="nofollow">https:&#x2F;&#x2F;slinky.dev</a><p>b) Laminar - <a href="https:&#x2F;&#x2F;laminar.dev" rel="nofollow">https:&#x2F;&#x2F;laminar.dev</a>
评论 #31890352 未加载
评论 #31887837 未加载
评论 #31885887 未加载
评论 #31886742 未加载
评论 #31886490 未加载
esarbe将近 3 年前
Scala&#x2F;Scala.js is an amazing ecosystem. It simply astounding being able to take code from the frontend and move it to the backend by simply importing it in a different project. Using the same domain validations everywhere is also mind-blowing.<p>Thanks for the effort, these are really cool demos.
评论 #31913876 未加载
hombre_fatal将近 3 年前
The games on the live demo eat 100% of a CPU and go down to crawling FPS on my Macbook M1 Pro once I start using the keyboard to control them. Wonder what&#x27;s going on.
评论 #31886447 未加载
评论 #31888301 未加载
marwis将近 3 年前
Would be nice to see the diff vs Scala 2
评论 #31890411 未加载
评论 #31886312 未加载