News for hackers. Stuff that matters.
Re:Homegrown Rendering with Rust by kevingadd on Monday June 24, 2024 @09:18AM (#40775682)
One obstacle is that at least one of the major console vendors prohibits using anything other than C++ plus their official compiler. So shipping on that platform using i.e. Rust, Swift, C# is currently against the rules. (Unity gets an out here since they compile C# down to C++ using IL2CPP.)

I expect some studios are just quietly breaking the rule and not telling anyone, but I'd be worried, personally.

Re:Homegrown Rendering with Rust by grafs50 on Monday June 24, 2024 @09:24AM (#40775749)
Which console vendor is that?
Re:Homegrown Rendering with Rust by jdright on Monday June 24, 2024 @11:09AM (#40776955)
Sony
Re:Homegrown Rendering with Rust by kevingadd on Monday June 24, 2024 @10:02AM (#40776181)
They get really upset if you disclose things like that :)
Re:Homegrown Rendering with Rust by Thegn on Monday June 24, 2024 @10:17AM (#40776341)
My gut says Nintendo, because Microsoft doesn't give a shit what you use as long as you write for them, and Sony doesn't feel like they'd be that petty.
Re:Homegrown Rendering with Rust by neonsunset on Monday June 24, 2024 @10:38AM (#40776603)
You can ship games for Nintendo with private modification of NativeAOT + FNA: https://viridiansoftware.com/blog/csharp-on-game-consoles
Re:Homegrown Rendering with Rust by dewbrite on Tuesday June 25, 2024 @12:38AM (#40784533)
But Microsoft _does_ have a widely known C++ compiler. I doubt Sony does. Does Nintendo?
Re:Homegrown Rendering with Rust by watermelon0 on Monday June 24, 2024 @12:37PM (#40778132)
What would the reasoning for such a decision be?
Re:Homegrown Rendering with Rust by vrmiguel on Monday June 24, 2024 @02:02PM (#40778955)
CrossCode was written in JS/HTML5 and was ported over to consoles just fine, though.

They mention stuff like "an interpreter which translates the [JavaScript] code but locks it up in a cage"¹, their presentation² mention JS interpreters and a JS AoT compiler, so I'm not really sure how they did it

¹: https://www.radicalfishgames.com/?p=6892 ²: https://www.youtube.com/watch?v=KfBzlzvt8RU

Re:Homegrown Rendering with Rust by Thaxll on Monday June 24, 2024 @02:17PM (#40779136)
People outside of the industry woudn't believe how it is to work with first party such as Sony, just to get SDK / api / documentation / forums access you need to have a very complicated process that involves public IP whitelisting etc..

https://www.scedev.net/index.html

Re:Homegrown Rendering with Rust by Animats on Monday June 24, 2024 @03:13PM (#40779601)
Even NVidia's GeForce Now cloud gaming service is like that. I tried to get a developer account and they wanted US$10,000 just to talk. It's not like getting an AWS account.