Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why browsers are bloated

Name: Anonymous 2014-07-27 0:20

https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/Scrollbar.cpp
https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/win/ScrollbarThemeWin.cpp
Let's reinvent the fucking scrollbar, which every goddamn platform with a UI already has, and make it behave subtly different from the native one!

Right-click a native scrollbar in some other app:
- Scroll Here
- Top
- Bottom
- Page Up
- Page Down
- Scroll Up
- Scroll Down

Right-click a scrollbar in Chrome:
- Back
- Forward
- Reload
- Save As...
...

Right-click a scrollbar in Firefox and Opera:
Absolutely fucking nothing happens!

What the fuck!? How did these terminally retarded idiots get involved in creating one of the most important pieces of software to the average user?

Name: Cudder !MhMRSATORI 2015-01-01 6:41

>>518
You and the rest of the user-oppressing DRM-advocating gang. Who do jailbreaks exist? Insecurity is freedom. Keep this in mind: "Those who give up freedom for security deserve neither."

>>535
We're talking about personal computers here, not SOA cloud crap. There should only ever be one user for a PC, and (s)he completely owns the hardware and software. All of it.

On the topic of "sufficiently smart compilers"...
(1) The equivalent of "goto fail;"?
mov [ebx+24], eax
mov [ebx+24], eax

(2) Wasting another instruction, a register (ebx is not used again in this function), and a memory access.
call 4706996
add esp, 12
mov ebx, eax
mov [ebp-28], ebx
... {neither ebx, eax, nor [ebp-28] are used after this} ...

There is absolutely no way a human programmer would write such idiotic code, unless he was drunk or doing stupid copy-pasting. I've been staring at compiler-generated shit for almost 8 hours a day for the last decade or so and I can tell you that COMPILERS ARE NOT SMART.

>>536
Simple code also tends to be small, fast, and correct. Portability is stupid "lowest-common-denominator" idiocy. (Just look at Java... it runs everywhere, but not great anywhere.)

Newer Posts