News for hackers. Stuff that matters.
Re:Show HN: I'm building an open-source, high-frequency trad... by conformal on Monday April 15, 2013 @08:40AM (#5551106)
you're doing it wrong: haskell is too slow.
Re:Show HN: I'm building an open-source, high-frequency trad... by zygomega on Monday April 15, 2013 @08:43AM (#5551115)
I thought so too for a long while, then I tried to do a touch of concurrent code in c++ and had to gouge my eyes out. I'm excited about the speed up haskell brings to development. You can plan things in haskell you can't imagine in other languages.
Re:Show HN: I'm building an open-source, high-frequency trad... by conformal on Monday April 15, 2013 @08:44AM (#5551130)
if concurrency with C/C++ is bad for you, go makes it very easy. however, it is not very fast either.

doing it in go and then using cgo where necessary will get you pretty close to C speed.

Re:Show HN: I'm building an open-source, high-frequency trad... by NateDad on Monday April 15, 2013 @09:05AM (#5551230)
+1 for doing it in Go. If concurrency is your objective, Go makes it easy... it's also very fast both to program in and to run.
Re:Show HN: I'm building an open-source, high-frequency trad... by cakebread on Monday April 15, 2013 @09:35AM (#5551368)
> +1 for doing it in Go

Conspicuously you don't address Haskell at all. Then again, who cares what might actually be best for OP? There's an advocacy bingo card in play!

Re:Show HN: I'm building an open-source, high-frequency trad... by z3phyr on Monday April 15, 2013 @11:49AM (#5552132)
How much experiance do you have in programming, for claiming that?
Re:Show HN: I'm building an open-source, high-frequency trad... by sseveran on Monday April 15, 2013 @01:17PM (#5552686)
Interestingly I had this exact conversation last week with a guy from an HFT firm that was asking about how do you write fast code in haskell. Haskell won't be as fast as C, but we are not a high frequency shop so it doesn't matter. Much time in engineering at an HFT firm is spent doing things like turning an L2 cache miss into an L1 cache miss. Haskell makes it hard to do things like that.

Our platform is fast and could be used for some slower strategies. If we replaced pieces of it with C we could be competitive but probably never less then 10 microseconds wire to wire.

Re:Show HN: I'm building an open-source, high-frequency trad... by nilkn on Monday April 15, 2013 @05:12PM (#5554388)
Haskell is actually quite efficient and tends to be excellent for concurrency.
Re:Show HN: I'm building an open-source, high-frequency trad... by zura on Monday April 15, 2013 @09:49AM (#5551431)
But how elegant it is, umm... :)