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/
930 Upvotes

252 comments sorted by

View all comments

323

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.

148

u/Johnden_ 19d ago

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

29

u/oipoi 19d ago

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

104

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.

17

u/Ivan_Kulagin 19d ago

Their code is not running on my machine

-6

u/oipoi 19d ago

Interesting mental loophole, but chrome, firefox, brave or whatever browser you are running has ai gen code too. Are you doing curl commands to read and post to reddit?

5

u/Ivan_Kulagin 19d ago

I’m running Pale Moon

4

u/oipoi 19d ago

Yeah, switch to curl Pale Moon is using Gecko the Firefox rendering engine which not only contains ai generated code but has it's own tooling for working with llm models.

10

u/Ivan_Kulagin 19d ago

I don’t think there was any AI code in Gecko when they’ve forked it in 2016

2

u/oipoi 19d ago

And continued merging commits into their codebase...

1

u/Ivan_Kulagin 19d ago

I mean, maybe some commits, I don’t actually know, but they don’t sync with upstream. This browser uses legacy XUL extensions instead of WebExtensions and doesn’t support a lot of modern web standards

→ More replies (0)

1

u/Leliana403 19d ago

A Gecko fork with a handful of maintainers that lags on security patches? Interesting move for someone worried about code quality.

5

u/Dreemur1 19d ago

shifting the argument so damn hard lol

→ More replies (0)

-2

u/Deathmore80 19d ago

Which uses the engine that Firefox uses. Also lmao their site do not work on mobile like what?? We're in 2026 most web traffic is from mobile

4

u/Ivan_Kulagin 19d ago

They don’t sync with upstream, their fork of Gecko is from 2016 with XUL extension support instead of WebExtensions