An interesting view on C++

Pages: 12345
Seriously, the "my browser is faster than your browser" seems like a bunch of crap. The only time I've seen it matter is when Firefox's garbage collector goes haywire and takes up 1GB+ of RAM.


@computerquip: omg blasphemy!!!!!!!!!!!!!

My calculator uses jsmath javascript to display latex formulas, which then get displayed inside the browser. A large LaTeX printout might take like 1min+ to get rendered (inside google chrome in my case).

Browser speed *****matters*****!!!

[Edit:] I have had seminar talks on which I had to wait for 30 secs for javascript to render the output of the program. It was incredibly embarrassing to have to explain to the audience what the hell are they waiting for.

[Edit:] To illustrate what jsmath does, enable javascript and look at the examples:

http://www.math.union.edu/~dpvc/jsMath/examples/Henrici.html

[Edit:] If this page doesn't render instantaneously, you browser needs update (or you need a more chromy browser ;)!
Last edited on
My calculator uses jsmath javascript to display latex formulas, which then get displayed inside the browser. A large LaTeX printout might take like 1min+ to get rendered


This is less an issue with browser speed and more an issue with choosing an inappropriate programming language for a task.
@ Disch...

Ahm... My calculator is written entirely in C++.

I use the browser to display the output the calculations. Of course, it is natural to ask that they be in LaTeX format, as all serious mathematical texts get published in LaTeX.

I could, of course, write a LaTeX rendering engine of my own, or extract one from one of the standard distributions of LaTeX. However, that would definitely be a waste of time.

If that is going to make a point in my favor, SAGE, the best computer algebra system in the world, also uses jsmath and the browser to render its output.
I have never liked IE in my entire internet aware life. Before I got my own computer I was forced to use it because of my dad's "if it isn't broke, why fix it" philosophy in application to EVERYTHING. But the moment I got internet access on my own computer I started looking for a better browser. Currently I'm running chrome because I like the interface. Firefox 3.x and below was too clunky, Safari wasn't my style. Opera was just bad (imho). I've tried out far too many b-list browsers to mention. In the end I decided on Chrome for how simple the interface is. Some argue that it doesn't have enough extensions, but that doesn't mean anything to me because I never use them anyways.
How did this thread go from a discussion on Linus' post to another casual browser debate? It seems to have somehow perpetuated through a sub-discussion on calculators...
Last edited on
And I have made the mistake of adding to that perpetuation.

Linus Torvalds is one of my CS heroes. I've known for a long time that is a thunderdouche when it comes to anything he has an opinion on (which happens to amount to A LOT of things) But I really don't care.
@L B

Hehe browsers do matter btw. Have you heard of chrome's native client?

To explain what a native client is: well, google will basically put compilers (in theory of any language; in practice, they do have at least a C compiler) inside the browser. Your program then runs at native speed inside the browser.

I have seen a google talk explaining the concept, dating back at 2008, and they already had a preview version. Let me re-tell quickly what I saw. They do compile to native code/instruction set, however they do not use the full instruction set of your processor.

For example, quite interestingly, they do not use the ret instruction, but rather substitute it with a security instruction (simply masking the argument of the jmp instruction to follow) + a jmp instruction. I believe they also did some other assembly-level security tricks (I cant remember though). Of course, they run everything in the weakest possible process privilege; the google talk claimed that there are 4 privilege rings in most modern processors, so that means ring 3 (ring 0 being the mightiest).

At the time of the talk (2008) they had already made a crack-our-security-model-competition and they had only breaches due to bad implementation of the compilation, rather than conceptual breaches.

When they put out the native client as a standard browser feature, C++ programmers will automatically become web application developers >:). When that happens I will immediately dump [edit: dump her *completely*] the old lady wxWidgets for the much hotter lover <html></html>+ javascript :)
Last edited on
@tition,
4chan's /sci/ board also uses jsMath. Your argument is invalid.
@chrisname: why should the fact that 4chan (never heard of it before) uses jsMath imply that browser speed is not important?
tition never heard of 4chan?

lol n00b

although 4chan can hardly be used as a valid point in any argument since... well... it's 4chan.
INFIDEL! 4chan is life!!11one
closed account (1yR4jE8b)
now now, not every board on 4chan is /b/ guys...Besides, anything that was ever cool on the internet: came from 4chan.
Last edited on
Umm, I read part of the wikipedia article about 4chan. It appears to be a manga discussion site... or ... it is not? Do they have a c++ discussion forum image board (what the hell would that be?)?
Last edited on
closed account (S6k9GNh0)
..................................................................................................................................................
+1 Disch, seeing someone post that they have never heard of 4chan is something akin to talking to a former latchkey\watchtower kid (Feel free to PM me any "reactions" to that comment, just keep it out of the board). Yeah, it's probably better for your psyche\soul in every way imaginable that you have not been exposed to this festering armpit wound of humanity. But you are missing out on SO MUCH (culture!?!?!??111) that it feels like you would be unable to even form your own opinion of the world because you haven't seen it. It's just a unique experiance all on it's own that is impossible to explain. If you are the cautious type you may want to ease yourself into it but spending time in www.reddit.com/r/wtf or Digg first. Do yourself a favor though, don't post ANYTHING in a place called "/b" for the first week or so if you do visit 4chan.
tition, have you ever been on the internet...
http://www.4chan.org/
Stay away from the women for today.
Last edited on
closed account (S6k9GNh0)
LOL
@ tition: If you still haven't gone, we should warn you that 4chan is not only the birthplace but the primary propagator of Rule 34 of the internet so NSFW should be implied at all times.
Last edited on
Lol 4chan is THE meme factory.
Ever heard:
Rule 34
The cake is a lie.
Marblecake.
Caturday.


Stuff like that? never?
closed account (1yR4jE8b)
The cake is a lie.


Is a quote from Portal, not 4chan.
http://www.urbandictionary.com/define.php?term=the+cake+is+a+lie
Pages: 12345