this post was submitted on 11 Sep 2023
1112 points (97.4% liked)

Programmer Humor

31217 readers
36 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 9 months ago (3 children)

Use the system webview, you cowards!

Developers bundle all of Chromium, because they're afraid the OS webview will have a different browser engine. Testing is too hard…

This is such a terrible excuse — usually the same app runs in browsers too, so it already has to deal with even wider variety of browser engines.

[–] [email protected] 12 points 9 months ago
[–] [email protected] 11 points 9 months ago* (last edited 9 months ago)

I will say that unless something's changed in Windows recently, the win32 API webview is still a vestigial version of internet explorer due to Microsoft's obsession with non breaking changes (not saying that's a bad thing)

Given I lived through those years as an engineer, I completely understand people wanting to avoid that particular ancient eldritch horror.

Edit: apparently there's webview2 now based on edge (and therefore chromium), I take it all back

[–] [email protected] 10 points 9 months ago (1 children)

I mean even for something like .NET, apps install the version of the runtime they need in a shared space, so that they can be used by everyone desiring that specific version.

[–] [email protected] 1 points 9 months ago

Ooh! Just unlocked a memory of a computer I was setting up and one piece of software assumed its version of .NET would be present and just failed install every time because it wasn't. I ended up just installing it later once I had other stuff installed