News for hackers. Stuff that matters.
Re:Zig: a system language which prioritizes optimality, safe... by Joof on Sunday August 28, 2016 @09:44PM (#12379485)
I'll probably write it in Haskell or possibly ML. The Haskell compiler is written in Haskell, so there's nothing to C here.

OTOH, I'm not sure if C needs replacing. It models state machines fairly well. Sure, we could use more systems languages like rust, but at best they replace C++ in some circumstances.

Re:Zig: a system language which prioritizes optimality, safe... by spectral64 on Sunday August 28, 2016 @10:18PM (#12379579)
But isn't Haskell's runtime (RTS) written in C?
Re:Zig: a system language which prioritizes optimality, safe... by pjmlp on Monday August 29, 2016 @11:26AM (#12382490)
Nothing prevents it to be rewritten in Haskell.

It wasn't been done just because no one cared to do it.

Re:Zig: a system language which prioritizes optimality, safe... by Joof on Tuesday August 30, 2016 @02:26AM (#12387914)
Hmm you may be right. I'd say rust, but LLVM is written in C (and writing a compiler in Ocaml or Haskell is so much nicer.) That leaves assembly and god knows what else in my repertoire.

Not that it matters once it's bootstrapped though.