‹ Post details

Rust (game) is being rewritten in C#

  • rust.facepunch.com
  • By flykespice
  • 70 points
  • 77 comments

Discussion

Source links

Showing up to 12 top-level comments in Hacker News order.

  1. andrewjvb
    This is Rust -the game- and for those who love PvP experiences, and anarchic social interactions then look no further. It was C# already, just built on the Unity C# abstractions. It’d be pretty interesting to know the porting methodology and what was salvaged vs wholesale rewrite, or if there was a long-standing design edict which had been positioning them for this for some period of time. It’d also be interesting to know the justification for the rewrite. The game posted it’s highest steam CCU last year or the year prior. It’s clearly making money hand over fist, so I’m a bit surprised they’d fund an engine port for something that works (even though unity is a pig for their use case, and gives players a hard time unless they’re running a large-cache CPU).
  2. Permik
    Interesting, kinda would've thought that they'd use something like https://ahwoo.com/brutal for the game engine, especially because of the Unity roots of the game project, but I guess they're going to bake their own stuff.
  3. lazypenguin
    > The only graphics API we support is Vulkan I think this is the most noteworthy choice. Instead of D3D12/Metal/Vulkan split they are choosing only Vulkan. Not sure if they support MacOS but that's interesting choice for Windows by default. It's either a sign that Vulkan is mature and stable enough that it's a fine default even on Windows OR this is just a trade-off Facepunch made for a simpler implementation
  4. CharlieDigital
    I think a few languages are going to grow in the AI age. - Rust for CLIs, tooling; backends that need to be maximally optimized (the bigger the org, the more reason to switch to Rust) - C# for games, web backends - TypeScript for web frontends Why not Go? Might as well use Rust. Google will shift more of their internal platform to Rust over time because they will save money. A small 10% improvement for them could be $ millions/year. Then there is no longer a reason for Go. Go will fade in the longer scale because Rust does the same things, but better. Why C#? Entrenched in game dev, actual teams at Microsoft patching and maintaining wide first party libraries makes it "safer" in this era of exploits that some team owns patching it. "Fast enough" and flexible enough to cover a lot of use cases. Still getting faster. Python will return to its roots. PHP is gone. TS on the backend will be gone (risky supply chain; high transitive deps). Java likely supplanted by Rust over time.
  5. tester756
    C# is really well designed language (lowest count of WTF per line of code) and has great ecosystem I wish more interesting projects used this technology
  6. orbital-decay
    I wonder what that means for cheating. Facepunch is/was known for encouraging players to search for bugs and exploits and freely use and spread them. Eventually they're posted on YouTube and fixed. As a result they have a thoroughly polished game in which it's extremely hard to find e.g. a duping exploit (bane of survival sandboxes) without resorting to actual third-party hacks. There's no way their new codebase will be as polished.
  7. jey
    Seems like it's not actually a change in language, but switching from Unity game engine to an in-house engine.
  8. yodon
    >These tests have shown that the new server is quite literally an order of magnitude faster than the old one.
  9. shmolyneaux
    Game devs are fearful of anti-AI rhetoric, so Facepunch will probably keep silent about how they approached this rewrite. This should be celebrated regardless, but I'm very interested in how they actually managed it. > In other ways, we still can’t fully believe that we’re actually at this point now This sounds like someone hitting the jackpot with agents, rather than the voice of a team that slogged endlessly to move to a new engine. I don't fault them for wanting to keep things ambiguous, but these days if you do a major rewrite and don't mention LLMs, you probably used LLMs.
  10. squidlib
    The fps scores are enough to make this former gamer happy. I hope other devs can run with this in their own way.
  11. blinded
    Mad fun game. Unhinged at times, but fun
  12. 0xbadc0de5
    Misleading title. Should be 'Rust Game Engine...' not to be confused with Rust programming language.

Source links