Re:Cap'n Proto v0.2: Compiler rewritten from Haskell to C++11
by kentonv on Monday August 12, 2013 @04:18PM
(#6201488)
Yes, that is basically it.
Re:Cap'n Proto v0.2: Compiler rewritten from Haskell to C++11
by marshray on Monday August 12, 2013 @04:37PM
(#6201663)
I really wanted to like Haskell...But the compiler is now C++.
Been down that road a few times myself.
C++ is a language only a mother could love, and only if that mother is a systems programmer who wants more abstraction than you can get with C. But for some reason that I don't think anyone has ever been able to explain, you can do some things in C++ that would be prohibitively difficult in any other language.
Interestingly, the Xen folks are now using OCaml for a bunch of system stuff. That could be worth checking out.
Re:Cap'n Proto v0.2: Compiler rewritten from Haskell to C++11
by pja on Monday August 12, 2013 @05:36PM
(#6202208)
The Xen folks have been using OCaml for years. I interviewed with them back in 2006 (ish) because I had some Ocaml experience & a bunch of their top developers had just quit to go form a database company (not that I knew that at the time).
Re:Cap'n Proto v0.2: Compiler rewritten from Haskell to C++11
by ptc on Monday August 12, 2013 @04:49PM
(#6201782)
OCaml is much more forgiving in letting you "cheat" and also being strictly evaluated makes OCaml easier to reason about performance for programmers used to strictly evaluated languages.
Seems fair enough to me really?