It just isn't possible with C semantics to make a reasonable version of that, since the language itself is 90% unsafe and just a small step up from assembly (for good and bad).
Re: Type safety could prevent nuclear war
Ola Fosheim Grøstad via Digitalmars-d Fri, 05 Feb 2016 00:36:11 -0800
Let me add to this that the superior approach is to compile to an
intermediated high level format that retains type information. I
guess this is where Rust is heading.
- Re: Type safety co... Chris Wright via Digitalmars-d
- Re: Type safe... tsbockman via Digitalmars-d
- Re: Type ... Chris Wright via Digitalmars-d
- Re: Type ... tsbockman via Digitalmars-d
- Re: Type ... Chris Wright via Digitalmars-d
- Re: Type ... tsbockman via Digitalmars-d
- Re: Type ... H. S. Teoh via Digitalmars-d
- Re: Type ... tsbockman via Digitalmars-d
- Re: Type ... tsbockman via Digitalmars-d
- Re: Type ... Ola Fosheim Grøstad via Digitalmars-d
- Re: Type ... Ola Fosheim Grøstad via Digitalmars-d
- Re: Type safety could prevent nucle... anonymous via Digitalmars-d
- Re: Type safety could prevent ... tsbockman via Digitalmars-d
- Re: Type safety could prev... anonymous via Digitalmars-d
- Re: Type safety could ... tsbockman via Digitalmars-d
- Re: Type safety co... Ola Fosheim Grøstad via Digitalmars-d
- Re: Type safe... tsbockman via Digitalmars-d
- Re: Type safety co... Daniel Murphy via Digitalmars-d
- Re: Type safe... tsbockman via Digitalmars-d
- Re: Type ... Daniel Murphy via Digitalmars-d
- Re: Type safety could prev... H. S. Teoh via Digitalmars-d
