News for hackers. Stuff that matters.
Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by zodiac on Wednesday January 06, 2016 @06:27AM (#10849913)
> ease/speed of prototyping, pure performance, a good concurrency model

out of curiosity, which language + library/framework pairs do you think is a better tool than javascript + nodejs when evaluated along each of your 3 metrics?

I moved from python + flask to nodejs a while ago, I still thing nodejs is better than python + flask, but I'm trying to move away from javascript on the backend.

Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by spoiler on Wednesday January 06, 2016 @06:36AM (#10849946)
>> ease/speed of prototyping, pure performance, a good concurrency model > out of curiosity, which language + library/framework pairs do you think is a better tool than javascript + nodejs when evaluated along each of your 3 metrics?

ease/speed of prototyping: Ruby (or Python, even), Go, [Crystal]

pure performance: Go, Rust, C++, C, Scala, [Crystal]

a good concurrency model: Erlang, Go, [Crystal (similar to Go)]

A small note about why Crystal is in brackets: The language is very young compared to the rest, and it's currently very volatile in terms of syntax/API stability, or even compiler semantics, but it looks very promising and it's quite easy to get started with it or to become a contributor because the compiler is written in itself. http://crystal-lang.org/ (Sadly, /docs is a bit outdated and misses some crucial parts, but /api is very comprehensive).

Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by moonchrome on Wednesday January 06, 2016 @06:36AM (#10849948)
Clojure - if you're looking for a dynamically typed language with REPL driven development process - it can leverage the huge JVM ecosystem and the concurrency tools are best in class compared to mainstream languages. Performance often comes down to idiomatic vs optimized - but you can optimize stuff and there's always "drop to Java transparently" card if you hit a wall in some area.
Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by irregularexp on Wednesday January 06, 2016 @06:36AM (#10849944)
I choose Rails for fast prototyping, recently Go if I want pure performance that I can't get from caching, and Elixir + Phoenix if I need a good concurrency model and/or high throughput, but don't necessarily care about the microseconds that can be shaved off with Go.
Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by Scarbutt on Wednesday January 06, 2016 @10:06AM (#10850826)
I think the issue there for most is that you mentioned three different programming languages.
Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by matthewrudy on Wednesday January 06, 2016 @07:05AM (#10850040)
That's interesting.

I should do some real world benchmarks on Elixir vs Go for my own purposes.

But I'd imagine if you really care about microseconds, you should use a language without GC.

Rust would seem a good choice.