Flashify funne thread

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
User avatar
PseudoDistant
Moonbather
Moonbather
Posts: 73
Joined: 2024-02-06, 20:19

Re: Flashify funne thread

Unread post by PseudoDistant » 2024-03-08, 18:52

Moonchild wrote:
2024-03-08, 18:48
Under the hood that is how JS runs in browsers too. Everything is baseline compiled to bytecode, and can from there be passed on to the Ion compiler as well. JS is not a real-time interpreted language in just about all cases.
It isn't? I didn't know that. :shock:
I kinda figured that it was interpreted, since most JS frameworks I've worked with perform about as well as Python.
Is that really just poor optimization? :shock:
I'm never touching React again. :sick:
Eat your school.
Eat your drugs.
Eat your teeth.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35652
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Flashify funne thread

Unread post by Moonchild » 2024-03-08, 18:54

PseudoDistant wrote:
2024-03-08, 18:52
Is that really just poor optimization? :shock:
I'm never touching React again. :sick:
Yes, as well as the kitchen sink approach.
If you ask a browser to download, parse, compile and run 10+ MB of minified js just to display a login prompt, you're doing something very wrong.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
PseudoDistant
Moonbather
Moonbather
Posts: 73
Joined: 2024-02-06, 20:19

Re: Flashify funne thread

Unread post by PseudoDistant » 2024-03-08, 19:01

Moonchild wrote:
2024-03-08, 18:54
Yes, as well as the kitchen sink approach.
If you ask a browser to download, parse, compile and run 10+ MB of minified js just to display a login prompt, you're doing something very wrong.
I had exactly that issue with a site generated in Bootstrap.
(I never used Bootstrap myself, a friend of mine made it, and ended up not using it, so I asked if I could fork it.)
There was over 200 KB of CSS and a huge heap of JavaScript for mostly a static page.
And reading over the HTML and CSS was pretty painful.
I only just now got rid of the last of the Bootstrap generated bullshit and now there's 4 KB of CSS and less than 700 B of JavaScript. :D
Eat your school.
Eat your drugs.
Eat your teeth.