137 points · by flykespice · 21h ago · 174 comments
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).
Projects making money hand over fist are one of the only times it might make sense to do an engine rewrite. Why waste the effort on a game that is losing money?
Either Unity the technology is holding them back or Unity the company is charging too much.
Kenshi [1] is a good answer to this. It launched with a sputter and shortly thereafter was down to 10s of players. But the dev behind it kept working on it for years. It's now made the dev behind it millions and in the top 250 games being currently played, more than a decade after release.
No Man's Sky [2] is another far more high profile example of something kind of similar, except it started off with a HUGE bang - and that sputtered down losing more than 98% of their players, because it was marketed on lies. The devs there could have just cashed out, but they kept working on it for for more than a decade trying to make the game the marketing promised. It's now in the top 150 games being currently played.
The whole agile, mvp, etc stuff for games just seems dumb, at least for small studios. If you're making something you would like then there's approximately a 100% chance that other people would like it too. It's just a matter of being objective enough to understand whether you'd actually like what you've made or are just convincing yourself of that. It's also way less stressful than constantly trying to do a 'market fit' for a market that you yourself aren't a core part of.
or both.
I do think unity as an architecture has some hard caps on how many objects can exist and such. Rust, being a game based on building and crafting stuff, can potentially (and quite likely) hit those limits. Working around them is almost as hard as porting imho.
Some YouTubers such as twig have managed to crash servers by placing too many spike traps
Quite possibly both.
I like to pretend that I am a game developer when time permits. My experiences with Unity were so unpleasant that I did not want to put forth any more effort into learning it. I do not doubt it's powerful, and the name carries a lot of weight.
However, at first, I thought that I would find certain things less annoying as I learned more, but the opposite ended up happening.
Why have you got people on a software development team that don't know how to write code?
I think unity role of quick prototyping your ideas before you begin implementing them on a more "serious" engine will stay. Specially since it has a very mature ecosystem of assets and community resources.
I wish more interesting projects used this technology
* For a long time, it only ran on a single platform (Windows), and while it does support other platforms now, they are still kind of second class citizens. In particular developer tooling on other platforms isn't as mature. Swift has the same problem.
* It has a close relationship with Visual Studio, and there is a history of not really supporting other editors, including VS Code. And there is an obvious incentive there as Visual Studio is a commercial product MS makes money from.
* For a long time, it was completely proprietary.
* It is in a very similar niche to Java, and other JVM languages. And while java isn't perfect it doesn't have the above issues.
TypeScript also has a similar benefit, since you just ship JavaScript. You don't need your users to have a special TypeScript runtime.
I really like the language and I would like to use it to create things on Linux (which then possible can also run under Windows). But it does not feel right...
ive used it (c#+linux) on prod since 2018
So despite C# being the property of Microsoft, it's the product of Hejlsberg.
Please tell me there's a Borland-style editor for them.
yet you hear golang praised. Or kotlin praised. Or typescript. Hell, even java (tho less praised - it's more business oriented).
I think it's just bias, rather than actual reasoned thought, that makes people feel the unease.
I don't think that's it.
Java is still controlled by Oracle. TypeScript is also Microsoft. Go is Google's language.
You don't see comments regarding users feeling ever mattered when discussing these languages.
The only languages that are actually open are the ones specified by international standards. This means programming languages such as C or C++. Yet, you don't hear good things about them.
It all boils down to tribalism.
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
Usually you would just run the Windows version in a VM or use Wine or whatever.
Apple’s game porting toolkit seems like it might provide one, but I thought they still didn’t allow you to actually ship software using that. It was only supposed to be to help you transition and know what to do during development or something like that. But I haven’t kept up with it in the last year+, so I could be wrong.
I agree with you on multiple APIs. The only reason I could think it would be worth it is it one was significantly faster, like Glide vs OpenGL in the early accelerator days.
Do they have similar levels of GPU features exposition so that the API translation is practically zero-cost (1:1) or is one limited over another, and the layer of emulation incurs a cost compared to writing a Metal native implementation?
IIRC the 2016 Doom reboot and all its sequels used Vulkan, right?
This a bigger deal for gaming than people realize. 10x faster servers means 10x cheaper servers for the same player count. Free multiplayer games that monetize only a little can now still keep the lights on, and I believe it will unlock a lot of potential for community-run games independent of money-hungry studios and publishers going forward.
- 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.
They will abandon Go because it has no reason to exist; it does nothing better than Rust. It has no entrenched use case that wouldn't be better served by Rust. Python has data science and ML. C# has games (where it's seeing a lot of growth). TS has web frontends, desktop apps via Electron. What is the entrenched use case for Go that wouldn't be better off with Rust?
K8s will be rebuilt in Rust simply because at the scale of Google, it will save (hundreds of?) millions (billions??) in operational cost for them. Less electricity, less CPU, less RAM.
Google are (cautiously) porting Bazel to Rust and not Go.
In enterprise you mostly don't care much about performance optimizations, but care a lot about reliability, so in AI-dominated enterprise development most focus will be on formal code verification.
Which most game companies are.
And having tried both on large projects. gopls is generally faster than rust-analyzer for initial indexing, incremental analysis, and large workspace responsiveness. Far easier to code-review and test things quickly.
Sure infrastructure services may be re-written in Rust - after things get stable. But developer/compiler/agent velocity is far higher in Go.
The capex for writing code cannot compare to the opex for running code.
Google has ported several C++ services to Go: Google Search web indexing infrastructure ported from C++ to Go. Prodspec and Annealing (Google CRE), which manage much of Google's production infrastructure is written in Go. Firebase Hosting which was earlier in Node.js was ported to Go, Google download servers were ported from C++ to Go, Large-scale data processing uses Go.
Actuating Google Production: How Google’s Site Reliability Engineering Team Uses Go https://go.dev/solutions/google/sitereliability
Go's lightweight concurrency, despite its warts, is also far easier to manage for middleware compared to Rust's hammer-on-head async complexity. (Not just my ordinary coder opinion)
What are see from Anthropic and Microsoft porting the Copilot SDK to Rust "online" are patterns to modernization.
Memory savings of 80%. That's the difference between a 1x node and a 5x node even for a small scale. Once you move an API off of Python, you never build another one in Python again; Anthropic will never build another Python backend again.
Thus my claim: Python will return to its roots in data science and ML. Not widely adopted in most enterprise applications[0].
[0] https://itnext.io/python-on-the-backend-is-dead-865da84db00d
It's easy for a tech company to talk about api savings on serving because that's their primary product, but that's because that is their main cost and impacts margins. In most businesses tech decisions around stack are not directly related to swapping to language x will give us perf/cost savings of y to our bottom line. Business decisions are much more bludgeoned. We're cutting your budget so 'figure it out' which equals layoffs, not necessarily tech changes or even language jumps. More likely its replacing one tech with another slightly different tool.
Thank you for writing this. I am glad I am not alone in this opinion. I do not think C# is a bad language by any means. I have used it professionally for over a decade. However, I do think it's kind of kludgy and more on the uglier side of the spectrum, syntactically speaking.
I do think Rust is probably the ugliest of the popular, modern languages, but many of Rust's benefits make the trade-off far more justifiable.
C# is growing driven largely by games. AI has made it more accessible for folks to build games and C# adoption is trending up (will find the report)
Edit: https://www.slashdata.co/research/topic/programming-language...
> Key Findings: C# is becoming a strategic powerhouse, growing from 10.2M to 13.9M developers in two years, a growth backed by Unity's dominance in mobile gaming and Microsoft's push to make NET a credible cross-platform environment.
It was also TIOBE's language of the year in 2025: https://www.infoworld.com/article/4112993/c-wins-tiobe-progr...Pretty confident that Rust and C# are the big winners in the AI era. TS on the FE, but not on the BE. Microsoft teams owning patches for big first party libraries is an understated angle in this era of exploits. Node ecosystem's high transitive package deps on the backend is a recipe for disaster.
Visual Basic is in the top ten (above both Rust and Go), and Scratch is just barely outside the top ten.
For reference, TypeScript is currently ranked 41.
So their investment into it translated directly into $$$$. Span<T> and all the CLR improvements. AOT. That's all to improve performance and lower compute usage.
The rest of us have been riding high off those motivations for a while now.
I can imagine some niche reason for moving from C# to TypeScript on the backend, but in the age of agentic coding holy cow why for the common cases?!
Your comment is meaningless. It doesn't make any sense to compare programming languages for backend work. What matters are the frameworks and target infrastructure. Backend work is the epitome of inversion of control, and what matters is what framework features you use. You barely use the language itself for the actual core work.
It’s fast, has great devex, and is super easy.
If you are into AI, their AI tooling is top notch, including c# REPL for running services that the AI can inject extra logging or code fixes with instant feedback
My most recent complaint with C# is that it feels like it is becoming more and more of a directionless language with each new release. So many new features and syntax changes that I personally find to be unnecessary considering there are more desirable and useful things that should take priority.
For example, one can now write single-file C# applications in some bastardized attempt to make C# into some kind of pseudo-scripting language. I mean, cool, I guess? But I think it's kind of a weird thing to add 25 years after the language was released.
There's a team in Microsoft that owns each package and they are watching for CVE's, patching and updating. Your TS app has a mystery dep 4 layers down that's 12 months out of date. The guy's NPM account got hijacked. Now it's your problem to deal with.
I think this becomes more important now, not less. If agents are writing the code, who cares if it's TS or C#? Pick C# because it has much lower risk profile than Node ecosystem.
Pick Rust if you are Google or Microsoft or Facebook or Anthropic because you'll save b/millions in ongoing operational cost.
Google will switch more of their backends to Rust over time because at their scale, even small % improvements in CPU/RAM means millions in infra opex. The problem with Rust, C/C++ previously was human expertise; Go had simplicity going for it. If we no longer need to design for human understanding, what does Go have left over Rust?
When Google starts doing that, then Go becomes a hobby language.
Do not bet on Go because it doesn't do anything better than Rust.
Anything that's going to grow has to do _____ better than Rust or has to have some specific, entrenched use case that is going to grow (e.g. C# has games, 3D). I can't see this with Go; I think most things using Go today will be rewritten in Rust.
The funny part of that argument applies also to Rust in the age of AI... The advantage is the memory safety into build time, but now with AI being able to build 1000's of tests in a single day, languages like C/C++ get the same benefits. You simply shift the when to where...
So what does Rust offer over C/C++ then beyond the build time memory safety? I can tell from building multiple 500 to 1m lines of code Go / Rust / C languages that the compiler is a major issue. Way too slow as projects grow, not C++ slow but darn slow and resource hungry when compiling. Especially when your running AIs and building test after test after test.
Ironically, I have gone from using Go, to Rust, to C for all my projects over the years.
> 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.
> “Programming is a creative discipline whose labour deserves the same respect we extend to any part of making a game. This extends to the past work used to train these models without the creators’ consent.”
https://www.videogameschronicle.com/news/big-walk-studio-say...
I'm certain this will change, taking into account their PSA on "rethinking" their Next Fest approach: https://news.ycombinator.com/item?id=50707419
That's not true, Steam requires you to disclose if anything (including code) been "pre-generated":
> First, we are updating the Content Survey that developers fill out when submitting to Steam. The survey now includes a new AI disclosure section, where you'll need to describe how you are using AI in the development and execution of your game. It separates AI usage in games into two broad categories: Pre-Generated: Any kind of content (art/code/sound/etc) created with the help of AI tools during development.
> Valve will use this disclosure in our review of your game prior to release. We will also include much of your disclosure on the Steam store page for your game, so customers can also understand how the game uses AI.
It isn't clear if that information would go onto the Steam listing itself, I guess that's up to Steam to decide.
> Generative Artificial intelligence (AI)
> We are aware that many modern game development environments have AI powered tools built into them. Efficiency gains through the use of these tools is not the focus of this section. Instead, it is concerned with the use of AI in creating content that ships with your game, and is consumed by players. This includes content such as artwork, sound, narrative, localization, etc.
> Does this game use generative artificial intelligence to generate content for the game, either pre-rendered or live-generated? This includes the game itself, the store page, and any Steam community assets or marketing materials.
> Yes / No
.
> Please enter a message to players describing how this game uses generative artificial intelligence.
> Note: The Steam Store will display this message under the 'About This Game' section on the game's store page. You can return to this survey at any time to update this message or its localizations.
> <textarea>
.
> Content Generated During Gameplay
> Because the live generation of AI content can produce novel images, audio, text and other content which neither the developer, nor the Steam review process, can verify through standard processes, it is important that you make honest and accurate disclosures about your implementation and its usage. In addition, we will provide users with tools through the Steam Overlay to flag inappropriate, or copyright infringing, output.
> It is the responsibility of you, the developer, to implement guard rails that will prevent users from being exposed to inappropriate and illegal content. Failure to do so will result in your app being pulled from the store. Does this game use artificial intelligence to generate content or code during gameplay?
> Yes / No
I mean, can you blame them? The game Big Walk got review-bombed on Steam after they disclosed usage of AI to fix a few lines of code. It doesn't matter how much honest you are or how little you used AI assistance, they witch hunt anyone by the simply presence of the AI disclosure clause on your steam game description.
> 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.
Unfortunately on this age of AI you can't anymore compliment human talent or effort without getting suspicious of anything being AI generated, it's getting harder by the day as AI generation gets more human-like.
What does Unity bring to us?
From a programmer's perspective, it lets us focus on the gameplay logic more, and less on essential but boring parts like asset compression and cross platform support.
From a designer's perspective, it lets you change stuff quickly without learning a programming languages or bothering your programmer, like adjusting material parameters, move stuff around it the scene editor, etc.
Among all things above, the only one I am slightly uncomfortable to hand to LLM is crossplatform support. But if you use libraries like SDL you are 90% covered.
It's that other 10%. Technically correct and practical are different universes.
No one is operating under some illusion that everything in unity is somehow unique and cannot be replicated OSS. People use this tool because it's a complete functional package that covers 100% of the space with a reasonable degree of fidelity.
It's about saving time and energy, just like any other tool. Even with frontier AI, I'd rather focus my limited attention on validating the concept. The goal is to make a game, not prove that we can defeat the capitalists at every possible step.
Oh right, if you are a game developer who doesn't want to focus on gameplay logic, or a designer who wants to have to deal with way more than your job, then SDL might be an adequate choice.
What a sales pitch.
However there was a lost opportunity there to rewrite Rust in Rust, pun intended.
Also I doubt there won't be interop and C/C++ modules as GC can be a problem in a game of this scale. (well that or a lot of unsafe calls...)