News for hackers. Stuff that matters.
Re:AAA Gaming on Asahi Linux by sylware on Friday October 11, 2024 @04:10AM (#41807359)
I still wonder why valve is that much reluctant at porting its proton stuff into the simple and plain C99 of wine/vkd3d.
Re:AAA Gaming on Asahi Linux by aleden on Friday October 11, 2024 @04:58AM (#41807662)
Then what is proton written in? C++?
Re:AAA Gaming on Asahi Linux by sylware on Friday October 11, 2024 @08:02AM (#41808732)
wine and vkd3d are plain and simple C99.
Re:AAA Gaming on Asahi Linux by seabrookmx on Friday October 11, 2024 @11:43AM (#41810482)
Likely because their engineers are more productive in C++?

Modern C++ with move semantics is a lot more easy to reason about and memory safe than C99, IMO.

Since it's a greenfield project, they didn't have to worry about the nasty baggage of legacy C++ spaghetti that kills most projects.

Just because you prefer "simple" C99 doesn't mean they do :)

Re:AAA Gaming on Asahi Linux by sylware on Friday October 11, 2024 @03:57PM (#41813050)
I think there is something wrong with them because they are failing to see that the c++ syntax has an abysmal complexity which propagates the toolchain implementation.

This is the only reason you need to make this language a definitive nono.

They should be ashamed of themselves, and if they are not, well, they are toxic, and they are doing it at worldwide scale.

Re:AAA Gaming on Asahi Linux by seabrookmx on Friday October 11, 2024 @05:07PM (#41813754)
Ironically, I think this comment is much more toxic than a developer writing free software in a language of their choosing.
Re:AAA Gaming on Asahi Linux by rowanG077 on Friday October 11, 2024 @06:39PM (#41814557)
You are right of course that c++ is abysmal. What your are overlooking is that C is an even bigger trash fire nuclear foot gun.
Re:AAA Gaming on Asahi Linux by dang on Saturday October 12, 2024 @03:07PM (#41821561)
Could you please stop posting in the flamewar style to HN? We're trying for something else here.

https://news.ycombinator.com/newsguidelines.html