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.

Why Rust Is the Future of Game Development

10 pointsby TheFuntasticover 4 years ago

2 comments

ncmncmover 4 years ago
Because it isn&#x27;t?<p>The author can only find tentative experiments. Rust probably will not be viable for coding games in production without a new compiler that is at least two orders of magnitude faster.<p>The good news is that it seems eminently doable. The bad news is that there is no apparent effort going into writing one. Undergraduate classes implement a complete standard-conforming Java compiler in a semester. Surely a compiler for a language less than, what, 3x as complicated as Java can be coded by an experienced professional using modern tools in little more time?<p>I don&#x27;t know of anything in the language to make it inherently slow to compile. The macro system complicates the parser, but parsing is very mature technology. Even compiling a new parser to machine code and dynamic-linking it when new macros are encountered would be faster than what is done now.
infomaxover 4 years ago
&gt; [...] even if some workloads (i.e. large games) still require alternatives<p>Well, maybe:<p><i>Watch Dogs Legion&#x27;s programming was done on a visual scripting framework like Scratch</i> [1]<p>[1] <a href="https:&#x2F;&#x2F;twitter.com&#x2F;WOops3301&#x2F;status&#x2F;1323607083913195520" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;WOops3301&#x2F;status&#x2F;1323607083913195520</a>