News for hackers. Stuff that matters.
Re:John Carmack on Static Code Analysis by Nimi on Wednesday September 19, 2012 @05:22PM (#4545649)
I wonder if there are languages who have the reliability of Haskell's type system, but are suitable for C/C++ stuff (that probably means, at the very least, they're strictly evaluated). ATS came up as a possible candidate, does anyone have real experience with it?

BTW, I once considered this (this being a language with Haskell's strengths, suitable for systems programming) a possible idea for a thesis, but at least for now it's put on hold. If anyone has any comments, I'd really love to hear them.

Re:John Carmack on Static Code Analysis by doublec on Wednesday September 19, 2012 @07:53PM (#4546206)
I've used ATS a fair bit in real programs. The back end of my bitcoin mining pool is written in ATS and handles a reasonable load. I've also used ATS in other projects and am happy to answer questions you might have. Contact details at the bottom of the website linked in my profile.
Re:John Carmack on Static Code Analysis by eru on Thursday September 20, 2012 @05:17AM (#4547746)
Do you know about OCaml? It shares lots of Haskell's type system, but it's strict.

There's also lots of work being put into Haskell right now, to make it more suitable as a low level language---some by direct work on Haskell, some by making it easy to embed DSLs that compile to carefully restricted low level code.

Re:John Carmack on Static Code Analysis by Nimi on Thursday September 20, 2012 @12:36PM (#4549362)
Sounds cool, can you provide some pointers to that work? 10x

BTW, I wonder if they allow the programmer to better control when and how much memory is allocated, that seems to me like the biggest obstacle for using Haskell for low-level stuff.

Re:John Carmack on Static Code Analysis by eru on Thursday September 20, 2012 @01:11PM (#4549533)
ICFP 2012 had quite a lot of talks about DSLs. Just go to e.g. youtube and search for something like "icfp 2012 domain specific language".