Rust (game) is being rewritten in C#

101 points
1/21/1970
11 hours ago
by flykespice

Comments


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).

9 hours ago

MeetingsBrowser

> It’s clearly making money hand over fist, so I’m a bit surprised they’d fund an engine port for something that works

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.

9 hours ago

22c

Even if it didn't make complete financial sense to do so, Garry Newman (founder of Facepunch) is an outspoken critic of Unity and it wouldn't surprise me if he wanted Rust to get off Unity regardless.

https://garry.net/posts/unity-can-get-fucked

4 hours ago

mr_roboto

I've played Rust the game and always walk away in disbelief at how crummy the engine is. It just feels pathetic.

3 hours ago

somenameforme

> Why waste the effort on a game that is losing money?

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.

[1] - https://steamcharts.com/app/233860#All

[2] - https://steamcharts.com/app/275850#All

2 hours ago

vips7L

I really wanted to like No Man’s Sky but it spawned me on a toxic waste planet and it was a struggle right from the get go.

2 hours ago

nfriedly

> Either Unity the technology is holding them back or Unity the company is charging too much.

Quite possibly both.

4 hours ago

pennomi

Surely the seed was planted when Unity reminded the world that they can and will change their licensing terms retroactively. For a big game like Rust, it could easily take that long to rewrite the whole engine.

7 hours ago

hirvi74

It seems to me that Unity has become some sort of stepping-stone or rite of passage engine. I can think of multiple games that started in Unity only to hit some roadblock and then jump ship to something else like Unreal or a custom engine.

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.

7 hours ago

Rohansi

It sounds like the Unity workflow is just not what you prefer. I imagine you're more a fan of code-first, minimal game engines/frameworks. Nothing wrong with that but an easy to use editor is a big deal when you're working on a team where not everyone knows how to code.

an hour ago

bob1029

Unity is a very accessible engine that is difficult to beat for rapid prototyping. It has the ability to publish to webgl targets which makes distribution of new concepts trivial. There is a one-click path to deploy directly to play.unity.com. No fees, certificates, etc.

6 hours ago

0x1ch

Also if you're in school, you're going to be either learning Unity or Unreal if you pickup a game dev elective. It's marketable and you're shown industry standard tools.

6 hours ago

flykespice

Resident evil 7 was initially prototyped in Unity while they were building their in-house RE Engine (see https://www.youtube.com/watch?v=zAynp4MSIfw)

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.

6 hours ago

neuroelectron

Yes, from an accounting perspective, it makes so sense to improve your product that has already been sold. Apparently, the people making decisions at this company have some bizarre obsession with their product. Clearly, these people need to be removed and replaced with outsourced intellectual labor.

5 hours ago

raincole

I think Unity is pretty much done.

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.

15 minutes ago

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

9 hours ago

rbits

They do support MacOS, so Vulkan is probably the best choice. Vulkan support is relatively good on MacOS with MoltenVK, whereas I haven't heard of good DirectX support on MacOS. And there's not much point implementing multiple graphics APIs if Vulkan works on everything.

4 hours ago

MBCook

There had been no “native” DirectX for the Mac, as far as I know. By which I mean some little library that you can just use that translates things the way MoltenVK does.

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.

3 hours ago

nxobject

FWIW, FP's other game – S&Box – has been Vulkan-only for long time already.

3 hours ago

jshier

Rust did support macOS (or perhaps does, if this change hasn't shipped yet), so either they're dropping it or mapping Vulkan to Metal in some way.

8 hours ago

ChocolateGod

There are two major implementations of Vulkan on macOS, MoltenVK and KosmicKrisp.

5 hours ago

flykespice

For someone unfamiliar with both API, how seamless is the API layer translation from Vulkan to Metal?

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?

3 hours ago

dartharva

OOTL, was Vulkan not stable and mature already?

IIRC the 2016 Doom reboot and all its sequels used Vulkan, right?

2 hours ago

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

10 hours ago

a34729t

I used C# heavily for a while and really liked it. Is this the programming equivalent of being a (straight) guy getting drunk at a party, and kissing another guy, and liking it?

9 hours ago

Rapzid

It's the equivalent of getting black-out drunk off a single Rolling Rock and imagining some dude that never looked in your direction made a pass at you, making a scene, and then getting driven home by a co-worker at the job you just started last week.

3 hours ago

Tallain

No, it's the equivalent of having two drinks, taking an Uber home, and getting a good night's rest.

8 hours ago

ShroudedNight

Ah yes, Tim Minchin's Rock and Roll Nerd:

> While his mates all go out late

> Popping pills and having fun

> He goes home and showers

> And gets a good eight hours

> He gets his thrills from his morning run

8 hours ago

closingreunion

Cant C# after four cocktails…

4 hours ago

flykespice

Most people (particulary in HN) get scared away from the language because it's maintaned by a big propietary for-profit corporation called Microsoft, it gives a sense of uneasy to them. In comparison to C/C++ that is maintaned by neutral institutions.

9 hours ago

ameliaquining

It's also just one competitor among many in a crowded space, and offers few major unique benefits that can't be had any other way.

9 hours ago

bena

However, C# and Typescript are in the hands of Anders Hejlsberg, the guy who made Turbo Pascal. Microsoft poached him from Borland.

So despite C# being the property of Microsoft, it's the product of Hejlsberg.

9 hours ago

HeavyStorm

Was*

8 hours ago

JRandomHacker42

Mads has been treating C# pretty darn well too, I'd say

3 hours ago

2001zhaozhao

> These tests have shown that the new server is quite literally an order of magnitude faster than the old one.

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.

5 hours ago

chimneychanga

Every time I see streamers play in a Rust event on a big server, it becomes a laggy rubberbanding mess after a few days. I hope the speed improvement can fix that issue.

2 hours ago

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.

7 hours ago

doctorpangloss

Both Rimworld's devs and Facepunch dance around the fact that they used LLMs to do this (BRUTAL is LLM authored, obviously the whole Rimworld port from Unity is), IMO they shouldn't blog about this stuff at all, not until platform owners (Valve) stop mobilizing a hate mob against stuff like this.

6 hours ago

Grombobulous

I’m not a fan of your characterization of Valve “mobilizing a hate mob.”

All Valve has done is mandated a tiny AI disclosure at the bottom of the product listing. One might say this discourse is easy to miss entirely.

Maybe one day this disclosure won’t be necessary, but in the status quo, Valve’s customers demand it.

My opinion is that anyone who is afraid of being honest about their AI usage is akin to a food manufacturer who refuses to disclose ingredients.

If the free market dislikes the use of AI enough to sacrifice sales, the creative industry will just need to stop using it. The software industry worked fine before 2023 without AI.

5 hours ago

Grombobulous

When I said “discourse” that word was supposed to be “disclosure.”

2 hours ago

doctorpangloss

let he who has not used an LLM for programming, a creative art or sound task, or for communicating with people cast the first stone.

5 hours ago

Grombobulous

Philosophical platitudes like this don’t matter. The only thing that matters in business is what customers are willing to pay for.

For example, my employer isn’t in a creative industry and none of our clients care at all if we use AI to aid our development process.

And really the creative industry is one where customers just want honesty right now. They want an ingredients label.

Many gamers are willing to pay for AI-authored games. Many aren’t. They just want honest disclosure.

5 hours ago

ptrl600

You probably shouldn't use an LLM to communicate with people, except as a prank or something.

5 hours ago

JRandomHacker42

Great, I've got a pile of rocks and plenty of targets.

3 hours ago

rbits

What do you mean by "Valve mobilising a hate mob"? Steam used to require a disclosure for AI code, but they have since removed that and only require disclosure for non-code assets. I can't think of anything Valve has done that indicates they are against AI coding.

4 hours ago

EdwardDiego

Just to clarify, Rimworld devs didn't build the engine FYI, that was Rocketwerkz, company founded by Dean Hall, of Day Z fame.

I suspect you knew that already, but your comment read as if Rimworld devs did both aspects.

3 hours ago

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.

9 hours ago

Rohansi

Only the game engine is being replaced, not the actual game implementation. Shouldn't have any negative effects on cheating. Especially since Unity's IL2CPP ships full symbols for the game by default.

2 hours ago

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.

9 hours ago

qaq

There's a huge reason for Go, and it's the exact same one you just gave for C#: first-party libraries. All of my projects now use only the Go standard library plus a DB driver—no other dependencies. Rust's minimal stdlib pulls you into a deep crate tree for basic web/service work, so unless the performance gap is actually critical, I opt for Go to avoid the supply-chain risk.

8 hours ago

Cyph0n

That doesn’t really matter much for large corps like Google. At that scale, you already have an internal stdlib implementation.

7 hours ago

vips7L

Not everyone is Google.

2 hours ago

Cyph0n

I am continuing a point made by the grandparent comment:

> Why not Go? Might as well use Rust. [..]

an hour ago

CharlieDigital

What will happen is that Google will see that they can save millions in opex for their bigger services by moving to Rust. They will move to Rust and probably open source a bunch of their libraries and own those. Microsoft is internally also doing a lot of work in Rust as well. Community will use these because there will be supply chain trust.

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.

8 hours ago

rienbdj

I think you are right.

Google are (cautiously) porting Bazel to Rust and not Go.

6 hours ago

lenkite

Time & Tokens >= 10% improvement. Many people have tried Rust and then moved to Go since both agent and human velocity are much faster. In Rust, you are still on your first compile, while in Go you are on your second prototype.

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.

3 hours ago

CharlieDigital

Code gets written once and executed billions of times at Google scale.

The capex for writing code cannot compare to the opex for running code.

3 hours ago

lenkite

Rust will certainly be used for low-level OS services. But for the middleware space, your assertion does not hold true since I/O is the great equalizer and far more relevant than a +10-20% compute. And Go's runtime is good at I/O bound workloads.

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)

an hour ago

scrame

Rust isn't supplanting java any time, ever. something like 20% of enterprise is still running java 6/7. Shops that can't even bump up the JVM for easy speed increases are not jumping ship to a language that involves fighting the compiler over memory allocation. This stuff isn't even being migrated to kotlin which already seamlessly on the platform.

2 hours ago

deepsun

Enterprise will stay on Java for the next 50 years. "Entrenched" is the word for enterprise-dev, game-dev can shift much quicker. C# is prevalent only in Microsoft-heavy companies.

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.

5 hours ago

Sleaker

I really doubt this take. I think currently entrenched languages just get more entrenched. Python is huge in data processing, java in business apps. JS/ts for web related stuff (even backends!) I haven't seen any meaningful discussions about shifting languages used even starting to surface where I work, just people generally vibing changes into existing frameworks or having AI regurgitate JS/Python throwaway garbage.

9 hours ago

CharlieDigital

Anthropic just moved their API off of Python to Rust: https://www.anthropic.com/research/migrating-api-to-rust

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

9 hours ago

Sleaker

Business Intelligence is the new data science/ML they are too linked now that basically everything I see interacting with data lakes is python. I don't really see this changing anytime soon for very large non-tech companies that have bought into this era of data processing.

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.

9 hours ago

Bolwin

By "business apps" do you mean desktop apps? Practically nobody uses Java for desktop apps anymore.

6 hours ago

CSMastermind

I just migrated a bunch of stuff off C# into TypeScript. I don't think C# is going to have a renaissance on the backend.

9 hours ago

gopher_space

LLMs seem to have an easier time working in it if we need dependencies in certain areas. They're also not slowed down by a verbose or unaesthetic language, much less demotivated by thinking about using it.

8 hours ago

hirvi74

> unaesthetic language

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.

7 hours ago

CharlieDigital

That's funny because we did the opposite move last year (YC, $500m, Series-C): https://engineering.usemotion.com/moving-off-of-typescript-e.... TS at scale became self-inflicted pain (2m+ LoC).

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.

9 hours ago

MeetingsBrowser

TIOBE index is trash.

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.

8 hours ago

CharlieDigital

Gave multiple datapoints.

Slashdata shows the same story.

8 hours ago

MeetingsBrowser

I agree with the overall message, but using a bad data point detracts from the point being made.

7 hours ago

Rapzid

IDK about the usage growth in the games space, but Microsoft has been putting tons of investment into C# and DotNet over the past 10 years motivated primarily by their increased internal use of it at scale in the cloud and that's not games. It is/was Bing, Azure, and etc.

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.

3 hours ago

Shalomboy

Shoutout CharlieDigits for speaking the truth the masses are too afraid to hear

8 hours ago

TrueSlacker0

What were the reasons to do this?

9 hours ago

Rapzid

IKR? Great threading performance and concurrency privatives. Language that still hasn't hit its peak. AOT. Amazing language tooling. Bomber standard library and also Asp.Net and Entity Framework.

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?!

3 hours ago

Thaxll

C++ is and will be king for games, "forever", garbage collector is not an option for most games. And your take on Go is very naive.

5 hours ago

Narishma

In games C++ is typically only used for the engine, if that. And developers seem to be fine with garbage collectors seeing as all the popular engines use them (Unreal, Unity).

4 hours ago

CharlieDigital

Godot as well.

3 hours ago

mistic92

C# for backend? Maybe in banks. Go for the win

8 hours ago

Atotalnoob

C# is a really well designed language with a bunch of useful features to do pretty much anything you want in it.

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

7 hours ago

hirvi74

The third-party libraries for .NET leave a lot to be desired though. Idk if Go is better in this regard or not, but that has always been one annoyance I have had with .NET ecosystem.

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.

6 hours ago

wvenable

> The third-party libraries for .NET leave a lot to be desired though.

The first-party libraries are so good that I rarely have a want for 3rd party. And heck even the 3rd party ones are pretty good. Certainly there aren't 20 packages for doing the same thing but that can be an advantage.

3 hours ago

CharlieDigital

3rd party libs don't really matter anymore. Just generate what you need. If anything, 3rd party libs are risks.

5 hours ago

loufe

Not just banks, lots of enterprise software in less techy industries rely on c#, like mine.

7 hours ago

CharlieDigital

Basically any shop that doesn't want supply chain risk to be a top concern at night ends up picking C# for backend, IME.

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.

7 hours ago

MBCook

I would say Java fits the same role.

I can’t imagine using node on the server personally. The risk profile alone looks crazy to me.

But I know it’s popular.

3 hours ago

CharlieDigital

Go will lose because Rust does everything Go does, but Rust does it better.

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.

8 hours ago

efficax

one thing rust doesn't do that go does, is compile fast

8 hours ago

CharlieDigital

Does that matter when the AI is 100x'ing the code production time?

If Google can save $100m in opex from running Rust instead of Go, does faster compile time really make the case?

The accountants are going to win this one.

8 hours ago

Rapzid

Are you asking if compile time which mattered a lot to Google when they created Go matters still when they are compiling 100x more often?

3 hours ago

CharlieDigital

Compilation happens 100x.

That code is going to execute 1,000,000,000x.

I know what I'm optimizing for if I'm a Google exec.

3 hours ago

jey

Seems like it's not actually a change in language, but switching from Unity game engine to an in-house engine.

9 hours ago

Kuraj

I understand why we have these guidelines but not clarifying that it's about the game would have been so funny

2 hours ago

yodon

>These tests have shown that the new server is quite literally an order of magnitude faster than the old one.

10 hours ago

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.

9 hours ago

orthoxerox

On the other hand, I love that the Unity/Unreal oligopoly is being challenged. First Rimworld, then Rust, writing your own industrial-strength game engine is now possible again. Yes, with LLM assistance, which might upset people that like working on game engines, but if you like working on games it's extremely liberating.

9 hours ago

benoau

"Programming" gets a free-pass for using AI, Steam doesn't even require disclosing if your game were entirely programmed by AI. That's where the blowback happens for games using AI. The only fly in that ointment is the Indie Games Festival recently declared using AI for any purpose was an automatic disqualification, but this attitude is very limited:

> “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...

9 hours ago

embedding-shape

> Steam doesn't even require disclosing if your game were entirely programmed by AI

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.

9 hours ago

benoau

That is from a three-year old blog post, code was removed a long time ago. This is what it says in the developer dashboard where the disclosure is provided:

> 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

8 hours ago

flykespice

> Game devs are fearful of anti-AI rhetoric

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.

9 hours ago

squidlib

The fps scores are enough to make this former gamer happy. I hope other devs can run with this in their own way.

9 hours ago

Kiro

What are you referring to?

9 hours ago

blinded

Mad fun game. Unhinged at times, but fun

10 hours ago

0xbadc0de5

Misleading title. Should be 'Rust Game Engine...' not to be confused with Rust programming language.

10 hours ago

danesparza

Thank you. I was very confused for a few minutes. (And checking to see if it was April 1st)

9 hours ago

orbital-decay

Should be "Facepunch moves to in-house engine" because Rust the game already runs on Unity. The article says nothing about C#. But I guess OP couldn't resist.

9 hours ago

jamesdftx

Searched everywhere and didn't see this comment, but it feels like a missed opportunity to rewrite Rust in Rust.

18 minutes ago

pjmlp

Yeah, modern C# and .NET have plenty of low level coding features that originated in Sing# (Singularity) and System C# (Midori), so it is kind of nice seeing this evolution, even if now everyone is vibe coding.

However there was a lost opportunity there to rewrite Rust in Rust, pun intended.

11 hours ago

bryanlarsen

OTOH if it was rewritten in Rust we wouldn't have gotten this delicious head-snap headline.

11 hours ago

Zambyte

Laravel rewritten in DayZ

10 hours ago

becquerel

Funniest possible way to phrase this headline.

9 hours ago

t1234s

Due to the headline I imagine this link got many clicks from people who know what Rust (the language) is and no idea what facepunch.com is.

9 hours ago

jluysvi

I chuckled and was fully expecting satire about the rust compiler being written in c# or something.

8 hours ago

HeavyStorm

The title is incredible baity. "The game engine for Rust is being rewritten in C#" is probably close to the truth.

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...)

8 hours ago

oceansky

They really lost the opportunity of rewriting Rust in Rust.

9 hours ago

mehmetkose

rust should be rewritten in rust

7 hours ago

flykespice

Well, I'm just happy Rust team has finally recognized C# language as superior than their previous one :)

10 hours ago

ftchd

We have come full circle

10 hours ago

cpascal

note: rust the game is being rewritten in c#

11 hours ago

overtone1000

I was totally expecting a satire about rustc ported to C#.

11 hours ago

stmw

Same

9 hours ago

daft_pink

yes, i was like why would they rewrite rustlang with microsoft's version of java.

8 hours ago