←back to thread

944 points 6a74 | 8 comments | | HN request time: 0.436s | source | bottom
1. sylware ◴[] No.41807359[source]
I still wonder why valve is that much reluctant at porting its proton stuff into the simple and plain C99 of wine/vkd3d.
replies(2): >>41807662 #>>41810482 #
2. aleden ◴[] No.41807662[source]
Then what is proton written in? C++?
replies(1): >>41808732 #
3. sylware ◴[] No.41808732[source]
wine and vkd3d are plain and simple C99.
4. seabrookmx ◴[] No.41810482[source]
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 :)

replies(1): >>41813050 #
5. sylware ◴[] No.41813050[source]
[flagged]
replies(3): >>41813754 #>>41814557 #>>41821561 #
6. seabrookmx ◴[] No.41813754{3}[source]
Ironically, I think this comment is much more toxic than a developer writing free software in a language of their choosing.
7. rowanG077 ◴[] No.41814557{3}[source]
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.
8. dang ◴[] No.41821561{3}[source]
Could you please stop posting in the flamewar style to HN? We're trying for something else here.

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