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

Why browsers are bloated [Part 2]

Name: Anonymous 2016-04-23 22:49

Cudder is all talk and no action!

Name: Cudder !cXCudderUE 2020-05-03 4:40

Looks like yet more retardation has infected the HTML spec...

https://html.spec.whatwg.org/multipage/custom-elements.html

A bunch of related shit was added to the parsing spec. Fuck Google and its attempt at taking over the Internet by constantly churning the spec and its browsers. Stop torturing the Firefox folks who are trying to keep up. Fuck this "progress" bullshit. And big fuckings to all those mentally retarded trendchasing "developer" cunts who blindly parrot their drivel and follow them into their monopolistic plans.

This is war. We need to fight these companies and their attempts to enslave us through their propaganda and fearmongering. We need to reject their herding of the sheeple. We need to bring back the document-oriented hypertext markup system and fight against the compulsory use of JS and DRM-oriented user-hostility. Make Internet Great Again!

Name: Anonymous 2020-05-03 14:32

>>401
The rest of your post is correct, too bad you fucked up with the neonazi koolaid at the end.

Array.from (document.getElementsByClassName ("trip")).forEach (e => { e.parentNode.parentNode.children [1].innerHTML = "I am a child seeking attention."; })

Name: !Ps1ivhrO6w 2020-05-04 23:25

>>402
The sentence "Make Internet Great Again" contains two suppositions:

1. We should make the internet great in the future
2. The internet has been great in the past

If you disagree with the sentence then you must disagree with either of its suppositions, or both, or else you agree with it entirely.
I, for one, agree with both the suppositions, and don't feel any nazier due to it.

Name: Anonymous 2020-05-05 4:45

>>403
What would you know about how was Internet in the past? Seriously?

Name: Anonymous 2020-05-05 4:48

Do you have very old childhood memories from 2011 and already thought that Instagram wasn't great at all?

Name: !Ps1ivhrO6w 2020-05-05 11:50

>>404
I have nitid memories of non-dynamic, non ad-infested internet, yes.
>>405
I was 19 years old in 2011. Edited on 05/05/2020 11:51.

Name: Cudder !cXCudderUE 2020-05-05 13:41

>>402
neonazi

I'm libertarian.

Name: Anonymous 2020-05-05 19:28

>>407
I'm libertarian.

The founder of libertarianism, Ayn Rand, was Jewish, and she hated racists and Nazis, same way she hated uneducated lumpenproletariat manipulated by populist dictators, like Stalin and Hitler.

You're not libertarian, Cuddder. You're a braindead conservative and just a thoughtless scumbag, who can only code very basic stuff in C. Edited on 05/05/2020 19:29.

Name: Cudder !cXCudderUE 2020-05-06 2:11

>>408
The founder of libertarianism, Ayn Rand
Stopped reading there.

In more related news, I might have to rewrite the HTML parser/tree construction in Asm -- the compiler is far too stupid and fails to identify all the common code shared by all the state functions, which currently occupies 9.5KB+. 64K to pass Acid2 is looking a little tight... maybe 64K after packing? That feels like cheating, but it's what the demoscene does all the time...

Name: Anonymous 2020-05-06 4:04

>>409
run it through an obfuscator to save bytes

Name: Anonymous 2020-05-06 9:26

>The founder of libertarianism, Ayn Rand
Yikes

Name: Anonymous 2020-05-06 11:09

>>409
Please finish it. It's a very cool project, we're not going to count bytes.

Name: Anonymous 2020-05-06 11:21

>>411
>>409
alt-Right butthurt

nice.

Name: Anonymous 2020-05-07 2:06

>>413
As far as alternatives to right-wing politics go, libertarianism isn't that bad.

Name: Anonymous 2020-05-07 9:25

>>413
Optimize and source your quotes, kudasigh.

Name: Anonymous 2020-05-07 10:57

Name: Cudder !cXCudderUE 2020-05-07 13:43

Started rewriting tree construction in Asm. First 5 functions now 105 bytes vs 323. 64k goal seems more reasonable now.

Name: Anonymous 2020-05-07 15:41

>>417
Way beyond the post limit. Show us your code, Cudder.

Name: Cudder !cXCudderUE 2020-05-10 0:42

>>418
Look in previous threads.

I tried to optimise the C parser anyway to see how far I could take it, and now the binary is down to 44K, which means I took off 4K just by optimising C. The 44K binary contains:

- A GUI that looks somewhat like a browser, complete with progress/status bar
- Address bar with configurable history
- URL sourcing for http,https,ftp,file, and data (one thing IE6 doesn't have!) schemes (~4.5KB)
- Text file viewer (~1KB)
- Image file viewer (~1.3KB)
- JPEG decoder (~5.4KB)
- GIF decoder (~2.1KB)
- HTML tokeniser/parser/tree construction (~20KB)

When I originally made the 64K goal I was not expecting to write image decoding too, but maybe I can squeeze those in there too...

Name: Anonymous 2020-05-10 2:36

Name: Cudder !cXCudderUE 2020-05-10 6:33

https://i.imgur.com/TQGrQhl.png

The binary is 45.5KB, or in other words the very crude renderer is only 1.5KB. It just needs a CSS subsystem and implementations of "irregular" elements (e.g. interactive stuff) and Acid2 pass will not be far off. It's been almost 10 years since I started... and the Web and mainstream browsers have only gotten (much) worse.

Keep in mind that in those 10 years, Dillo and NetSurf, which I am competing against, have not managed to pass Acid2 either, and their binaries are 1-2 orders of magnitude bigger.

Name: Anonymous 2020-05-10 16:43

>>421
Now you need a time machine to sell it back when they still needed such crap. Fucking autismatic loser.

Name: Anonymous 2020-05-10 23:25

>>421
Very cool. I like it.

Name: Anonymous 2020-05-11 0:38

>>421
congrats on reinventing elinks, man XDDDDDDDDDDDDD

Name: Anonymous 2020-05-24 18:13

>>421
I thought you said it already had CSS support?

Name: Cudder !cXCudderUE 2020-06-01 13:39

>>425
No. I wrote part of the CSS parser before but other things took priority.

Name: Anonymous 2020-06-02 23:26

>>426
Please finish it, please finish it, please finish it and release it.
I'll forgive you everything if you do that.

Name: Anonymous 2020-06-03 2:11

Release Anonix first cowards

Name: Anonymous 2020-06-03 10:32

Unfortunately Anonix is organized as a stack so the first cowards can only be released last.

Name: Cudder !cXCudderUE 2020-06-06 23:31

>>427
It gets worked on as time permits, and every time I get pissed off by some "modern web" shit that gets in my way.

Name: Anonymous 2020-06-08 16:20

>>430
You're too perfectionist. Better is the enemy of good.
If you relaese something as functional as Dillo, I'll use it.

Name: Cudder !cXCudderUE 2020-06-21 5:12

>>431
What's the point? Just use Dillo then.

Name: Anonymous 2020-06-21 15:58

>>432
You suffer from the inability to finish a project, but that's because you make announcements before you even start. You get a false feeling of accomplishment and that's why you don't feel the need to acutally work on your projects. It's a well-known pattern.
Do something and then show it, that's how it works.
Don't announce something and make announcements about it for 10 fucking years. When was it when you ``started''? 2013?

Name: Anonymous 2020-06-22 2:13

>>433
Cudder gives us 7 years of entertainment for free, and you have the gall to judge her? For shame.

Name: Cudder !cXCudderUE 2020-12-01 4:21

Adding a PNG decoder increased the size to 48.5K, but that's not counting the almost 100K of zlib DLL that it now depends on... I could probably shrink the latter to a few K by rewriting it myself, but at this rate I don't think I'll make it in 64K, without rewriting even more in Asm first.

Name: Anonymous 2020-12-01 7:42

>>435
Bloat shitware. Start anew.

Name: Anonymous 2020-12-02 13:07

to fit an ACID2-compliant browser into 64kb, you must first create the universe

Name: Anonymous 2020-12-05 4:49

>>437
there is not point making a 64kb browser, every desktop has at least 128mb
of RAM, so minimum would be 64MB.
(Unless in some exotic cache-as-ram runtime case that is meant to fit in CPU cache or microcontroller memory.)

Name: Anonymous 2020-12-05 9:45

>>438
on a micro it would probably just be a text editor without edit capabilities

Name: Cudder !cXCudderUE 2020-12-06 6:02

>>437,438
Binary size, not total memory consumption --- it will try to use all your RAM if you really want it to, e.g. by opening very large pages, but initial tests already suggest it will use far less than existing browsers.

For example, open this image:

https://img2.gelbooru.com/images/c3/12/c3122cb134055e78e3a35c4819c0dfc7.png

Make a note of the RAM usage of your browser, then minimise it and look again at how much RAM it uses.

Mine takes less than 27M maximised, and only 384K minimised.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List