Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2009-12-27:

[12:45am] <JohnnyL> imho, the only advantage of running JavaScript is that is embedded in the brower... Although mostly like Scheme it is a much slower language (According to the Great Language Shootout). Why have something magnitudes lower at the server?
[12:48am] <ashb> JohnnyL> go run some bencha marks on JS then come back
[01:06am] <JohnnyL> ashb with?
[01:06am] <ashb> what ever you like
[01:10am] <JohnnyL> ash> have you seen> http://shootout.alioth.debian.org/
[01:10am] <JohnnyL> ?
[01:10am] <JohnnyL> the tests are using v8.
[01:10am] <ashb> yes. and thats about as useful as shooting fish in a barrel
[01:10am] <ashb> the only benchmark that should matter to you is one that is relevant to your application
[01:11am] <ashb> a lot of the contributed solutions are utter shit
[01:12am] <JohnnyL> ashb i have been trying to find a non biased comparison.
[01:13am] <ashb> examine the benchmark code very carfeuly
[01:13am] <ashb> i have intense distrust of shootout.alitoh code
[01:13am] <cadorn> you always have bias and pure speed is the worst variable for comparison
[01:15am] <cadorn> JS has a gig future simply because of timing
[01:15am] <cadorn> Not JS related but has some good points> http://phpadvent.org/2009/1500-lines-of-code-by-terry-chay
[01:17am] <ashb> 1.5k lines a day? he must write in a verbose language
[01:17am] <cadorn> yeah, PHP
[01:18am] <cadorn> make your lines count no matter how many you can write
[01:18am] <ashb> i dont think i ever really approach 1.5k lines/day
[01:19am] <ashb> not that i've *ever* counted
[01:23am] <ashb> that article is hard (for me) to read
[01:23am] <cadorn> why is that?
[01:23am] <ashb> dunno - i dont get on with the writing styl
[01:23am] <cadorn> no PHP background?
[01:23am] <cadorn> yeah, he is unique
[01:23am] <ashb> it jumps about a lot and doesn't really have a consistent thread
[01:24am] <evilstreak> I got half way and bailed
[01:24am] <evilstreak> because it didn't seem to be going anywhere
[01:24am] <cadorn> I agree, slow, but the point is good
[01:25am] <cadorn> just watching> http://developer.yahoo.com/yui/theater/video.php?v=crockford-yuiconf2009-state
[05:29am] <JohnnyL> ashb i ran code from the GLS, my Firefox browser cpu was pegged for 10 minutes (should have been 1 1/2) so I tried to stop it and my browser crashed.
[07:02am] <Dantman> That's a bad benchmark. There are a fun number of other components inside Firefox that make any code possibly slow... Workers might make it better though
[07:47am] <tlrobinson1> JohnResig> are you interested in making jQuery.require compatible with CommonJS modules?
[7:00pm] <MisterN_ is now known as MisterN.

 

 

Logs by date :