NHacker Next on Rails
  • top
  • new
  • best
  • ask
  • show
  • jobs
login
GuidelinesFAQListsAPISecurityLegalApply to YCContact

Hacker News on Rails, powered by React on Rails Pro. Open the source on GitHub by ShakaCode.

Commit 06fc0df

Rendered at 09:05:24 GMT+0000 (Coordinated Universal Time) with Rails + React on Rails RSC.

Rust (game) is being rewritten in C# (rust.facepunch.com)

120 points by flykespice 14h ago | 143 comments

andrewjvb 12h ago
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).

MeetingsBrowser 11h ago
> 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.

somenameforme 5h ago
> 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

vips7L 5h ago
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.
LoganDark 2h ago
That's intentional to teach you the basic mechanics. You always spawn there.
vips7L 1h ago
It was not fun.
chii 1h ago
> Unity the technology is holding them back or Unity the company is charging too much.

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.

paradox460 15m ago
Quite frequently

Some YouTubers such as twig have managed to crash servers by placing too many spike traps

22c 7h ago
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

mr_roboto 5h ago
I've played Rust the game and always walk away in disbelief at how crummy the engine is. It just feels pathetic.
ZiiS 1h ago
Very unlikly they would be that successful if it was truely holding them back. Risky to make large changes, expecially lead by developer experiance to somthing that is working. However as you say this is simply a case of charging too much.
dEnigma 2h ago
In their regular dev logs they often talk about replacing Unity systems with their own implementations, either for performance or usability reasons, so this is just the next step in this regard. Of course the "Unity tax" would also factor into this decision, even if they haven't mentioned it recently.
nfriedly 7h ago
> Either Unity the technology is holding them back or Unity the company is charging too much.

Quite possibly both.

pennomi 10h ago
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.
hirvi74 9h ago
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.

Rohansi 4h ago
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.
ErroneousBosh 1h ago
> when you're working on a team where not everyone knows how to code.

Why have you got people on a software development team that don't know how to write code?

dontlaugh 12m ago
All large enough teams will have a majority of designers and artists that aren’t programmers.

While there’s an argument to be made that designers should be programmers, in practice it’s not the case.

bob1029 9h ago
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.
0x1ch 9h ago
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.
flykespice 9h ago
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.

neuroelectron 8h ago
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.
tester756 12h ago
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

flykespice 12h ago
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.
locknitpicker 5m ago
> 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.

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.

thayne 2h ago
It's not just that, after all Typescript is also developed by Microsoft, and that is generally well-loved. Although I think that is certainly a big factor. Others include:

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

hasley 57m ago
Yes!

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

chii 1h ago
> it gives a sense of uneasy to 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.

ameliaquining 11h ago
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.
bena 11h ago
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.

HeavyStorm 11h ago
Was*
JRandomHacker42 6h ago
Mads has been treating C# pretty darn well too, I'd say
ErroneousBosh 1h ago
I did not know that and now I am more interested in both.

Please tell me there's a Borland-style editor for them.

lazypenguin 12h ago
> 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

rbits 6h ago
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.
MBCook 6h ago
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.

nxobject 6h ago
FWIW, FP's other game – S&Box – has been Vulkan-only for long time already.
jshier 11h ago
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.
ChocolateGod 8h ago
There are two major implementations of Vulkan on macOS, MoltenVK and KosmicKrisp.
flykespice 6h ago
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?

dartharva 5h ago
OOTL, was Vulkan not stable and mature already?

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

CharlieDigital 12h ago
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.

qaq 11h ago
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.
Cyph0n 10h ago
That doesn’t really matter much for large corps like Google. At that scale, you already have an internal stdlib implementation.
vips7L 5h ago
Not everyone is Google.
Cyph0n 4h ago
I am continuing a point made by the grandparent comment:

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

CharlieDigital 10h ago
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.

rienbdj 8h ago
I think you are right.

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

deepsun 7h ago
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.

brnt 54m ago
> C# is prevalent only in Microsoft-heavy companies.

Which most game companies are.

lenkite 5h ago
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.

CharlieDigital 5h ago
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.

lenkite 4h ago
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)

scrame 5h ago
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.
Sleaker 11h ago
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.
CharlieDigital 11h ago
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

Sleaker 11h ago
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.

Bolwin 8h ago
By "business apps" do you mean desktop apps? Practically nobody uses Java for desktop apps anymore.
CSMastermind 11h ago
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.
locknitpicker 19m ago
> 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.

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.

CharlieDigital 11h ago
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.

MeetingsBrowser 11h ago
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.

locknitpicker 13m ago
> TIOBE index is trash.

We live in an age where AI drives most development, and AI is trained based on content scraped from anywhere.

If there is a lot of people online using the language, discussing the language, and generating content for said language, this will reflect and contribute back to how well AI code assistants support said language.

If anything, TIOBE matters more than ever.

CharlieDigital 11h ago
Gave multiple datapoints.

Slashdata shows the same story.

MeetingsBrowser 10h ago
I agree with the overall message, but using a bad data point detracts from the point being made.
Rapzid 6h ago
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.

Shalomboy 11h ago
Shoutout CharlieDigits for speaking the truth the masses are too afraid to hear
gopher_space 11h ago
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.
hirvi74 9h ago
> 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.

TrueSlacker0 11h ago
What were the reasons to do this?
Rapzid 6h ago
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?!

Thaxll 7h ago
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.
Narishma 7h ago
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).
CharlieDigital 5h ago
Godot as well.
mistic92 11h ago
C# for backend? Maybe in banks. Go for the win
Atotalnoob 9h ago
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

hirvi74 9h ago
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.

wvenable 6h ago
> 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.

CharlieDigital 8h ago
3rd party libs don't really matter anymore. Just generate what you need. If anything, 3rd party libs are risks.
loufe 10h ago
Not just banks, lots of enterprise software in less techy industries rely on c#, like mine.
CharlieDigital 10h ago
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.

MBCook 5h ago
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.

vips7L 2h ago
Modern Java frameworks like Quarkus are all batteries included just like .NET too. And it’s backed by Red Hat.
CharlieDigital 11h ago
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.

efficax 11h ago
one thing rust doesn't do that go does, is compile fast
CharlieDigital 11h ago
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.

Rapzid 6h ago
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?
2001zhaozhao 8h ago
> 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.

chimneychanga 5h ago
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.
raincole 3h ago
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.

bob1029 1h ago
> 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.

ehnto 11m ago
Also tutorials galore, biggest plugin and asset store etc. The ecosystem is huge and has its own lock in effect.
locknitpicker 41m ago
> But if you use libraries like SDL you are 90% covered.

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.

orbital-decay 12h ago
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.
Rohansi 5h ago
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.
Permik 9h ago
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.
doctorpangloss 8h ago
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.
Grombobulous 8h ago
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.

Grombobulous 4h ago
When I said “discourse” that word was supposed to be “disclosure.”
doctorpangloss 8h ago
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.
Grombobulous 8h ago
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.

ptrl600 8h ago
You probably shouldn't use an LLM to communicate with people, except as a prank or something.
JRandomHacker42 6h ago
Great, I've got a pile of rocks and plenty of targets.
Firehawke 36m ago
Exactly what I was thinking. I'm more than happy to continue to not use genAI.
rbits 6h ago
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.
EdwardDiego 6h ago
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.

shmolyneaux 12h ago
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.

benoau 11h ago
"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...

embedding-shape 11h ago
> 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.

benoau 11h ago
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

orthoxerox 11h ago
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.
flykespice 11h ago
> 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.

jey 12h ago
Seems like it's not actually a change in language, but switching from Unity game engine to an in-house engine.
yodon 13h ago
>These tests have shown that the new server is quite literally an order of magnitude faster than the old one.
Kuraj 5h ago
I understand why we have these guidelines but not clarifying that it's about the game would have been so funny
squidlib 12h ago
The fps scores are enough to make this former gamer happy. I hope other devs can run with this in their own way.
Kiro 11h ago
What are you referring to?
blinded 12h ago
Mad fun game. Unhinged at times, but fun
0xbadc0de5 12h ago
Misleading title. Should be 'Rust Game Engine...' not to be confused with Rust programming language.
danesparza 12h ago
Thank you. I was very confused for a few minutes. (And checking to see if it was April 1st)
orbital-decay 12h ago
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.
pjmlp 13h ago
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.

bryanlarsen 13h ago
OTOH if it was rewritten in Rust we wouldn't have gotten this delicious head-snap headline.
Zambyte 13h ago
Laravel rewritten in DayZ
jamesdftx 3h ago
Searched everywhere and didn't see this comment, but it feels like a missed opportunity to rewrite Rust in Rust.
becquerel 12h ago
Funniest possible way to phrase this headline.
t1234s 12h ago
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.
jluysvi 11h ago
I chuckled and was fully expecting satire about the rust compiler being written in c# or something.
HeavyStorm 11h ago
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...)

oceansky 12h ago
They really lost the opportunity of rewriting Rust in Rust.
flykespice 13h ago
Well, I'm just happy Rust team has finally recognized C# language as superior than their previous one :)
mehmetkose 10h ago
rust should be rewritten in rust
ftchd 13h ago
We have come full circle
cpascal 13h ago
note: rust the game is being rewritten in c#
overtone1000 13h ago
I was totally expecting a satire about rustc ported to C#.
stmw 12h ago
Same
daft_pink 11h ago
yes, i was like why would they rewrite rustlang with microsoft's version of java.