Welcome! or Register
ASSgaming.com > Forums > Community > Off-Topic
If you're just feeling bored...

“Which web browser should we use?
Reply
Old
#1
Tuesday, July 23, 2013, 5:50 am
Poker
Poker's Avatar
Poker is offline
Join Date: Mar 2005
Location: up north and out west
Posts: 6,096
Default “Which web browser should we use?

” is a question I asked God one day.












,” replied God.
__________________
Reply With Quote
Old
#2
Tuesday, July 23, 2013, 6:39 pm
CoMM
CoMM's Avatar
a.k.a. Scr3wby Doo
CoMM is offline
Join Date: Apr 2004
Location: MN
Posts: 5,320
LOL, so you gave up on Chrome, eh?
__________________

Reply With Quote
Old
#3
Wednesday, July 24, 2013, 1:36 am
Poker
Poker's Avatar
Poker is offline
Join Date: Mar 2005
Location: up north and out west
Posts: 6,096
Well no, I didn’t suddenly start taking advice from God — fine advice though it is; choosing Firefox over Chrome is no mistake.

Rather I was just surprised that God had an opinion.
__________________
Reply With Quote
Old
#4
Thursday, July 25, 2013, 10:11 pm
CoMM
CoMM's Avatar
a.k.a. Scr3wby Doo
CoMM is offline
Join Date: Apr 2004
Location: MN
Posts: 5,320
Heh K.
__________________

Reply With Quote
Old
#5
Friday, July 26, 2013, 3:49 pm
Rinku
Rinku's Avatar
Send a message via ICQ to Rinku Send a message via AIM to Rinku Send a message via MSN to Rinku Send a message via Yahoo to Rinku Rinku is offline
Join Date: May 2009
Location: Olathe, KS
Posts: 453
Ive been exploring this also.... bouncing between Chrome and Firefox seeing which I like better. So far its pretty even
__________________
Reply With Quote
Old
#6
Saturday, July 27, 2013, 11:05 am
Poker
Poker's Avatar
Poker is offline
Join Date: Mar 2005
Location: up north and out west
Posts: 6,096
Quote:
Originally Posted by Rinku View Post
So far its pretty even
yup, I still keep both within reach, and probably will for a long while yet.

One thing that causes me to keep one foot in the Chrome camp is how it was built from the get-go to run each tab in its own process. This can gobble memory once you have a few dozen tabs open, but it’s hard to argue with the stability that this hard separation provides.

Mozilla has indicated that they would like to move Firefox to this model as well, but, as one might imagine, changing the fundamental architecture of an established, complicated program like Firefox is no small feat.







Some other interesting bits between Chrome and Firefox — which, fair warning, will in the end probably only not bore Comm to death.

… or shucks, maybe Comm too anymore, for all my estranged ass knows …



When Chrome was released back in 2008, much of its appeal was how fast it was, and how quickly it could run large, complex web apps (e.g. Gmail, Maps, etc.). It achieved this by making major advances in how JavaScript — the programming language of the web — is interpreted and represented in terms of native machine code. The most notable example of this is how Chrome’s JavaScript engine, called “V8”, internally defines static “hidden classes” from the invocation of a JS constructor, based on which (and in which order) members of the constructed object are defined.

Code:
function ASSMember (name) {
  this.name = name;
  this.makesFunOfCodemansGayness = true;
  this.playsVideoGames = true;
}

// pseudocode for V8 hidden classes, defined on first invocation
hiddenclass A;
hiddenclass B : A {
  probablyString name;
}
hiddenclass C : B {
  probablyBool makesFunOfCodemansGayness;
}
hiddenclass D : C {
  probablyBool playsVideoGames;
}
Likewise you could define a “subclass”, along with its wonky JS prototypal–inheritance plumbing:
Code:
function RetiredASSMember (name) {
  ASSMember.call( this, name );
  this.playsVideoGames = false;
  this.sucks = true;
}
RetiredASSMember.prototype = Object.create( ASSMember.prototype );
RetiredASSMember.prototype.constructor = RetiredASSMember;

// pseudocode for V8 hidden class
hiddenclass E : D {
  probablyBool sucks;
}
And then use these constructors to instantiate objects in normal JS:
Code:
var loser = new RetiredASSMember('Poker');
loser.name;   // >>> "Poker"
loser.sucks;  // >>> true
You don’t even have to define formal inheritance relationships between constructors; V8 will statically analyze a constructor to determine whether it can be expected to produce an object of a matching “shape”, and then match the constructor to an existing hidden class.

This trick makes almost-native speeds possible for dynamic JS objects so long as you treat them as if they were static, i.e., stick to constructors that construct properties in the same order, don’t throw mistyped values into a property, etc. — if you do violate any of these assumptions of static well-formedness, V8 just kicks your object out of “fast hidden-class mode” and into plain old dynamic-slow dictionary mode.

So as a consequence of this kind of low-level wizardry, today V8 (Chrome) still has the leg up on SpiderMonkey (Firefox) in many (but not all) respects, e.g. instantiating objects using constructors in Chrome can still be some 10-20 times faster than in Firefox.





Now, Firefox is a beast too in its own way. Mozilla are the de facto stewards of JavaScript, and usually they’re the first “penguins into the ice-hole” with Firefox when it comes to adding new features to the language — and this can sometimes translate into a major advantage over other browsers when rendering a website or hosting a web app that is built to take advantage of the very latest and greatest.

One interesting example of this is the JS approach to concurrency. Rather than bothering with all the heaviness and safety hazards of proper threads, modern JS has generators, which are functions that can be suspended (“yielded”), and then resumed later (presumably on some future turn of the event loop) from the most recent “yield” point, with all of the suspended invocation’s internal state intact. From this it follows that generators can be used as a primitive for higher-level constructs that act as a much lighter-weight alternative to using system threads.

Now, out in the real-world web space, generators are still generally considered very new; V8 just landed them a few weeks ago, and they’re only now starting to show up in Chrome Canary, probably making it into userland Chrome sometime in the next couple months.

Meanwhile, Firefox has only supported generators since 2006 — well before Chrome was even a thing.



And then the other recent big example of Mozilla and Firefox leading the frontier was the one I posted a short while back about the asm.js project, which defines a subset of JS that can be targeted by compilers, allowing essentially any code to be run in any browser — including something no less gigantic and complex than the full Unreal Engine — and, if the browser is designed to recognize asm.js-compiled code, it can run that JS at near-native speeds.







So there is the case for why Chrome still rocks, but so does Firefox — delivered in five million words or less.

Bleep blorp. Happy weekend.
__________________
Reply With Quote
Old
#7
Saturday, July 27, 2013, 9:26 pm
VEGETA
VEGETA's Avatar
INACTIVE
VEGETA is offline
Join Date: Oct 2005
Location: chatt, TN
Posts: 1,747
WTF?
__________________


its not the size of the dog in the fight, its the size of the fight in the dog
Reply With Quote
Old
#8
Sunday, July 28, 2013, 2:38 am
CoMM
CoMM's Avatar
a.k.a. Scr3wby Doo
CoMM is offline
Join Date: Apr 2004
Location: MN
Posts: 5,320
Heh, good info. Thanks.
__________________

Reply With Quote
Old
#9
Sunday, July 28, 2013, 11:15 am
Poker
Poker's Avatar
Poker is offline
Join Date: Mar 2005
Location: up north and out west
Posts: 6,096
Yes positively riveting.

Quote:
Originally Posted by VEGETA View Post
WTF?
TL;DR: Chrome rocks, and Firefox too, Poker sucks, have a nice day.












oh hey look 6,000 posts

what do I win
__________________
Reply With Quote
Old
#10
Tuesday, July 30, 2013, 6:36 pm
ShowNuff
ShowNuff's Avatar
We Are (A.S.S)
Send a message via MSN to ShowNuff ShowNuff is offline
Join Date: Dec 2005
Location: 15 miles SE of Nobody
Posts: 1,063
Quote:
Originally Posted by Poker View Post
TL;DR: Chrome rocks, and Firefox too, Poker sucks, have a nice day.


.........................Nuffsed
__________________


Last edited by ShowNuff : Tuesday, July 30, 2013 at 6:45 pm.
Reply With Quote
Old
#11
Thursday, August 1, 2013, 9:08 am
Poker
Poker's Avatar
Poker is offline
Join Date: Mar 2005
Location: up north and out west
Posts: 6,096
what who are you

oh hey I was going to ask, want to buy my tickets to the Niners game? Only asking 2500 goddamned dollars each …



ok of course I lied about having any such tickets

but not about the price.

shіt is real. Crazy.
__________________
Reply With Quote
Old
#12
Thursday, August 1, 2013, 8:04 pm
ShowNuff
ShowNuff's Avatar
We Are (A.S.S)
Send a message via MSN to ShowNuff ShowNuff is offline
Join Date: Dec 2005
Location: 15 miles SE of Nobody
Posts: 1,063
Quote:
Originally Posted by Poker View Post
what who are you

oh hey I was going to ask, want to buy my tickets to the Niners game? Only asking 2500 goddamned dollars each …

ok of course I lied about having any such tickets

but not about the price.

shіt is real. Crazy.
LOL... It's ShowNuff

Yup... Everyone...'cept me is going Seahawk crazy up here. Can't wait for week two when the Niners come up here and kick ass on the Seahawks.

Tickets will be tough to come by....

Homer.... Fook the Seahawks.

What Browser did God choose? And why the hell does God need a browser?

Oh.... The code is awesome man.

...........................Nuffsed
__________________


Last edited by ShowNuff : Thursday, August 1, 2013 at 8:19 pm.
Reply With Quote
Old
#13
Friday, August 2, 2013, 11:15 am
Poker
Poker's Avatar
Poker is offline
Join Date: Mar 2005
Location: up north and out west
Posts: 6,096
Leviticus 6:9 And as it is such that for God in His own image hath created man, so the hell told by heavenly foxen fire must be that God doth like use His holy browser of webs, for porn.

10 Jesus wept.



Code:
God.smite(loser);
__________________
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Censor is ON
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniWeb browser for OS X CoMM Software 3 Tuesday, August 10, 2010 9:40 am
The Best Browser Agoura_Steve Software 11 Thursday, December 1, 2005 3:55 pm
Firefox and server browser PeeWee General Discussion 9 Thursday, September 8, 2005 8:24 pm


2:35 pm -4 UTC


Powered by vBulletin™ Copyright © 2017 vBulletin Solutions, Inc. All original content herein is Copyright © 2010 American Supreme Soldiers.