News for hackers. Stuff that matters.
Re:Hard-won lessons: Five years with Node.js by lmm on Thursday April 20, 2017 @06:01AM (#14155335)
I agree that Java's async support is bad (haven't had to use it much since I've been primarily Scala for years now), but I'm surprised a PoC would need to be async in the first place? Conventional one-thread-per-request is fine for non-prod, no?
Re:Hard-won lessons: Five years with Node.js by manyxcxi on Thursday April 20, 2017 @11:20AM (#14157454)
A lot of projects my team did at my last company were of the "You've got 2 or 3 weeks to build this awesome thing for a launch event that will have a crushing wave of usage for about 3-7 days".

It was really fun work, because even the 'simple' stuff we built had to address some of the big traffic issues you'd normally have at a much larger scale and the work was usually very high concept or cutting edge. It would've been a nightmare to maintain for longer than a week though.

Re:Hard-won lessons: Five years with Node.js by lawik on Friday April 21, 2017 @06:06AM (#14164257)
I'm surprised that you consider it controversial that a highly dynamic language can be considered fast to PoC something in than Java. There is just less typing/code that needs to be defined (I know IDEs help). Also easier to do quick and dirty stuff that I imagine would be more restricted in Java. No classes to define, just throw your values in there.

I prefer python in general but for zero-to-simple-web-endpoint I may pick Node.

Re:Hard-won lessons: Five years with Node.js by lmm on Friday April 21, 2017 @07:07AM (#14164493)
> I'm surprised that you consider it controversial that a highly dynamic language can be considered fast to PoC something in than Java.

Sure, but that wasn't the argument; GP talked specifically about async and websockets, which are areas where Java is particularly weak, but areas that I was surprised would be required for a PoC at all.

Re:Hard-won lessons: Five years with Node.js by lawik on Friday April 21, 2017 @10:11AM (#14165752)
Fair enough. I was mostly responding to the thread of discussion overall. I realise now that I was probably reacting more to the viewpoint of hota_mazi.