News for hackers. Stuff that matters.
Re:Comparing Node.js with Tcl by phpnode on Wednesday June 17, 2015 @06:27AM (#9730907)
This is a very silly comparison. There's a huge difference in terms of features and reliability between node's http module and this - http://pietersz.co.uk/software/dandelion-server

I'm sure an equally minimal http implementation using the net module would match or beat that, but since you'd never use either of them in production, the results are meaningless.

Re:Comparing Node.js with Tcl by graemep on Wednesday June 17, 2015 @07:54AM (#9731168)
I state the point of the comparison in the post: to see how TCL's event loop + my code compres. Node's http module is fairly lightweight, and even if something more minimal would beat my TCL code by a bit it still show what I wanted to, that they are comparable and TCL is an option for event driven servers (at least as far as performance goes)
Re:Comparing Node.js with Tcl by woah on Wednesday June 17, 2015 @11:01AM (#9732200)
Sounds like your title is a distraction.
Re:Comparing Node.js with Tcl by dang on Wednesday June 17, 2015 @11:28AM (#9732464)
Ok, we s/Beating/Comparing/'d the title.
Re:Comparing Node.js with Tcl by graemep on Wednesday June 17, 2015 @12:44PM (#9733249)
In retrospect the title is a bit too attention grabbing. If I had anticipated the reaction I could justly be accused of writing flame bait, but I did not expect it to get so much attention or debate - I thought just TCL people would be interested!
Re:Comparing Node.js with Tcl by mattLummus on Wednesday June 17, 2015 @02:47PM (#9734365)
1. Node is not a language it is an implementation of a language, so the title would really be TCL vs JS or Dandelion vs Node...

2. In which case you would be opened up not only to performance benchmarks but usability, simplicity, and features - whether you are talking about the language or the implementation.

That being said, I have nothing against your opinions or work though and understand that your implementation is also from 2008 :)

Re:Comparing Node.js with Tcl by coldtea on Wednesday June 17, 2015 @08:10AM (#9731234)
>There's a huge difference in terms of features and reliability between node's http module and this

Yeah, but in which software's favor?

TCL has been battle-tested for decades, even in industrial automation...

Now, this particular server might be just some guy's quick project, but Node also started as a ho-hum experiment...

Re:Comparing Node.js with Tcl by Tobani on Wednesday June 17, 2015 @10:13AM (#9731854)
> TCL has been battle-tested for decades, even in industrial automation...

Right but I believe the point was that this http implementation was less battle-tested than node's and that if you're willing to strip away features from the node version, it too could outperform node's version in a microbenchmark.

Re:Comparing Node.js with Tcl by keithy on Wednesday June 17, 2015 @07:34AM (#9731096)
I mean, I love Node for building my webapps, but if I had to write a fast HTTP server for pure speed I'd probably go with C. But I use Node for NPM just like anyone would use Ruby for Gem. It makes it easy to get a production ready rest app upp and running. I agree with what you said, I don't see the point of this comparison.