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 !cXCudderUE 2016-04-04 5:31

>>919
At the same time, obviously.

>>920
.s
I don't use GNUshit.

Name: Anonymous 2016-04-04 5:41

Checkem

Name: Cudder !cXCudderUE 2016-04-04 8:41

Thinking of "compiling" CSS to x86 instructions directly to make matching even faster and basically do away with any sort of data structure for the selectors since it'll just become a stream of instructions... apparently I'm not the only one who thought of doing this.

https://webkit.org/blog/3271/webkit-css-selector-jit-compiler/

https://www.mail-archive.com/dev-servo@lists.mozilla.org/msg00662.html

Name: Anonymous 2016-04-04 10:16

>>922
Nice dubs!

Name: Anonymous 2016-04-04 15:23

Will the thread ``Why browsers are bloated III'' get to 999 posts without Cudder delivering xir program?
Place your bets.

Name: Anonymous 2016-04-04 15:41

Cudder delivering his browser at 1001!

Name: Anonymous 2016-04-04 15:47

>>925
Cudder haven't delivered a single program since the dawn of text boards

Name: Anonymous 2016-04-04 16:10

>>926
Post 1001 does exist, actually. You just have to link to it specifically to see it. See the Crossposters threads on /lounge/.

Name: Anonymous 2016-04-04 16:19

Cudder is all talk and no action

Name: Anonymous 2016-04-04 16:20

>>928
No one said it didn't.

Name: Anonymous 2016-04-04 16:53

Cudder is all talk and no action

Cudder is all booster, no payload
Cudder is all crown, no filling
Cudder is all foam, no beer
Cudder is all hammer, no nail
Cudder is all hat and no cattle
Cudder is all icing, no cake
Cudder is all lime and salt, no tequila
Cudder is all mouth and no trousers
Cudder is all shot, no powder
Cudder is all sizzle and no steak
Cudder is all wax and no wick

Cudder is all talk and no action

Name: Anonymous 2016-04-04 17:17

>>933
Cool dubs!

Name: Anonymous 2016-04-04 17:18

>>933
Thanks

Name: Anonymous 2016-04-04 19:23

>>930
Yes they did, they said Cudder would publish something.

Name: Anonymous 2016-04-04 20:21

>>934
Here's how the conversation went.
==================================
β˜… Cudder delivering his browser at 1001!
β–² Post 1001 does exist, actually. You just have to link to it specifically to see it. See the Crossposters threads on /lounge/.
β˜… No one said it didn't.
==================================
Okay?

Name: Anonymous 2016-04-04 22:02

>>935
My joke was that Cudder will never deliver, thus the post he will deliver it in does not exist. I didn't work out well, so just never mind. I'm changing the subject. I love you, Cudder, πŸ‘­πŸ‘­πŸ’‘πŸ’‘πŸ’‘πŸ‘ΊπŸ‘ΊπŸ’†πŸ‘„πŸ’‹β€πŸ’™πŸ’šπŸ’›πŸ’“πŸ’œπŸ’”πŸ’•πŸ’–πŸ’ŸπŸ’žπŸ’πŸ’˜πŸ’—πŸ‡πŸ°πŸ­πŸ­πŸ­πŸ¦πŸ¦πŸ§πŸ¨πŸ¨πŸ§πŸ¬πŸŽπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸŒπŸ₯πŸ†πŸ†πŸπŸπŸŒ·πŸŒ·πŸŒ·πŸ“πŸ“πŸ“πŸŒΈπŸŒΈπŸŒΈπŸŒΉπŸŒΉπŸŒΉπŸŒΉπŸŒ‹πŸŒ‹πŸŒ‹πŸ—»πŸ—»πŸ—»πŸ’πŸ’πŸ’πŸ’’πŸ’’πŸ’’πŸ’ŒπŸ’ŒπŸ’ŒπŸ’πŸ’πŸ’πŸ’ŽπŸ’ŽπŸ‘—πŸ‘—πŸ‘’πŸ‘’πŸ‘’πŸ”°πŸ”°πŸ’΅πŸ’΄πŸ’ΆπŸ’·πŸ’ΈπŸŽƒπŸŽ΅πŸŽ΅πŸŽ΅πŸŽΌπŸŽΌπŸ”₯πŸ”₯πŸ’¦πŸ’¦πŸ’¦πŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺπŸ‘ͺ, pleaze marry me!

Name: Anonymous 2016-04-04 22:16

Cudder is married to LAC!

Name: Anonymous 2016-04-05 4:56

Please do not bully Cudder-sama. I'm sure she is doing her best to create a releasable binary for us as we speak. We need to believe in her.

Name: Cudder !cXCudderUE 2016-04-05 11:28

>>925
At the rate you're spamming this thread with useless crap, yes.

Name: Anonymous 2016-04-05 17:35

>>936 is a homosexual

Name: Anonymous 2016-04-05 22:04

>>939
The spamming just keeps this thread alive to shine light on your failure.

Name: Anonymous 2016-04-05 23:00

I AM THE WALRUS

Name: Anonymous 2016-04-05 23:35

I ARE ANDRU
ANDRU LIKES CHILDREN
CHILDREN MAKE ROBOTS
WALRUSES ARE ROBOTS
ANDRU ARE WALRUS

Name: Check 'em 2016-04-06 0:01

>>943
Nice poetry, dude!

Name: Anonymous 2016-04-06 12:46

>>944
Nice dubs, guy!

Name: Anonymous 2016-04-06 17:15

>>945
Sexist assumption, you piece of shit EVIL MALE!

Name: Anonymous 2016-04-08 5:04

>>945 is in fact a piece of male EVIL SHIT

Name: Anonymous 2016-04-08 9:23

Browsers aren't bloated. Web pages are.

Name: Anonymous 2016-04-08 15:44

Web pages aren't bloated. My bowel is.

Name: Cudder !cXCudderUE 2016-04-17 16:16

Some limits to consider:

255 attributes per simple selector ([a1=v1][a2=v2]...[a255=v255])
255 simple selectors per selector (#s1 + .s2 > .s3 #s4 ... s255)
4G selectors in total (theoretical limit, actually limited by memory available)

These limits should be sufficient for basically all the CSS out there... and if it's not, then fuck you. No page should ever have anywhere near that much CSS, and if you do you'll probably crash other browsers and deserve to have your page displayed unstyled.

Name: Anonymous 2016-04-17 16:42

>>950
Just do it dynamically fuckface.

Name: Anonymous 2016-04-17 17:33

>>951
check 'em

Name: Anonymous 2016-04-17 19:47

>>950
Who is this semen demon?

Name: Anonymous 2016-04-17 19:49

>>953
Cudder (pronounced as "cdr")

Name: Anonymous 2016-04-17 20:04

>>955
Check 'em

Name: Anonymous 2016-04-17 22:29

>>954
And how do you pronounce 66cdr99!? There are no vowels. A word with no vowels is LITERALLY UNPRONOUNCEABLE!!!

Name: Anonymous 2016-04-17 23:42

>>956
Try learning Arabic.

Name: Anonymous 2016-04-18 20:56

>>950
Your are making for """more bloat""" because software has to try to get around your fucking bullshit limitations to actually work. There is no goddamn sensible reason for what you're doing, as computers are generating CSS and queries automatically and need room to work in.

Name: Cudder !cXCudderUE 2016-04-19 10:54

>>958
Are there any sites (besides contrived limit-testing test cases) that come anywhere near those limits? How about showing some examples instead of spewing vague "generating CSS and queries automatically " bullshit? That's the sort of attitude that leads to insane ENTERPRISE solutions where 99% of the complexity is there just for 0.1% of the use cases.

WebKit has a maximum nesting depth of 512:

http://trac.webkit.org/browser/trunk/Source/WebCore/page/Settings.h#L206

Firefox is lower, at 200 (not even a byte):

https://hg.mozilla.org/mozilla-central/file/050887c64183/parser/htmlparser/src/nsHTMLTokenizer.cpp#l382

There's no point in having more than 255 attributes per selector either, since HTML5 doesn't define that many. Look at the discussion about CSS property maps above - why use a data structure optimised for thousands or more elements and is dynamic-everything, even if it's "theoretically more efficient", if you will never put more than a dozen or maybe 100 at most in it? Premature generalisation. That's real bloat.

Name: Anonymous 2016-04-19 20:41

>>959
Twitter with infinite scrolling.

Newer Posts