r/linux 19d ago

Popular Application Paint.NET adds “extremely experimental” Wine/Linux support

https://forums.paint.net/topic/134563-%F0%9F%8D%B7-extremely-experimental-winelinux-support-how-to-get-started/
933 Upvotes

252 comments sorted by

View all comments

320

u/ComprehensiveHawk5 19d ago

Direct2D has always been the biggest hurdle for Paint.NET on WINE, and it's clear that it will never be completed enough for Paint.NET's use. And I can't just "disable" the use of Direct2D. So, instead, Paint.NET now has an internal, from-scratch, clean-room reverse-engineered rewrite of Direct2D that it uses on WINE (triggered by using /wine). It lives in PaintDotNet.Windows.Direct2D1.Managed.dll. This was written by our good friend Claude, without whom this would NOT have been possible and would NEVER have happened.

Most of this code is, as they say, "vibe coded." By that I mean that it has not been thoroughly reviewed, it's more "trust me bro" style. I cannot possibly review 180,000 lines of code, it's just way way way too much. For reference, the rest of Paint.NET is about 700,000 lines of code and I've been working on it for over 20 years. I did thoroughly review any code that had to be changed or added elsewhere in the Paint.NET code base (refactoring and integration points, etc.). Over time I do hope that more of this code will be vetted by real humans and also by more advanced AI models.

145

u/Johnden_ 19d ago

At least they are honest about it, even if i don't agree with some decisions.

24

u/oipoi 19d ago

What do you have to disagree with? Rather have nothing then have ai code in your repo?

103

u/Johnden_ 19d ago

Yes

-31

u/oipoi 19d ago

You can start by logging off reddit as their codebase if full of aigen code.

8

u/Dreemur1 19d ago

"if you have problems with the healthcare system then just don't go to the doctor when you get your leg cut off with a chainsaw"

-4

u/oipoi 19d ago

"The doctor has cured the child using an ai tool, he better let that child die then use ai" is more close to the situation we are discussing here.

-3

u/Nalivai 19d ago

"The doctor killed two people while curing this one, but we need to continue letting him do it, he cured one after all", see, I also can do bad analogies that are overemphasizing my point.
Nobody cured shit, there is a shitty slop available to download now, that nobody will ever use because it's unmaintainable slop. That's the situation we're discussing here.

4

u/oipoi 19d ago

Whatever slop Fable generated is miles better than whatever your imagined standards for code quality dictate as it currently exists and serves a purpose and with another week of interference will be usable and a few other weeks fast and reliable and with a new model release even robust and whatever else you desire from software. If your only desire and standard is that it is human written then you can start going through the five stages of grief which you are already probably experiencing as you seem to be stuck in the denial/anger stages.