Re:Zig: a system language which prioritizes optimality, safe...
by qwertyuiop924 on Monday August 29, 2016 @11:25AM
(#12382471)
True, but what about the bootstrapping compiler, for new architectures? That can't be C. Neither can the libraries the compiler depends on. And you'll eventually have to rewrite the assembler, because that can't be C...
It's a fairly monumental effort.
Re:Zig: a system language which prioritizes optimality, safe...
by steveklabnik on Monday August 29, 2016 @11:29AM
(#12382520)
You cross-compile.
Re:Zig: a system language which prioritizes optimality, safe...
by qwertyuiop924 on Monday August 29, 2016 @12:24PM
(#12382978)
...Well, I'm an idiot. Good point, Steve.
So, there's no dependency if you're switching languages or getting rid of it. There's just a one-time use. For legacy systems, there's also potential for a source-to-source compiler if semantics are close. There's also binary recompilation and integration into new language a la AS/400 or OpenVMS migrations.