Talk on what a systems programming language needs to replace C
    IGotD- 
    nise at nise.com
       
    Mon Aug 26 11:12:54 UTC 2019
    
    
  
On Monday, 26 August 2019 at 10:55:34 UTC, Dibyendu Majumdar 
wrote:
>
> Personally I think neither Rust nor D can replace C.
> C is a high level assembler. A replacement needs to be a better 
> high level assembler rather than a language that has many 
> abstractions.
> The particular quality of C is that you can mentally see how 
> your code translates to machine code. Languages with lot of 
> scaffolding destroy this property.
C++ has already replaced C in systems programming. I experienced 
this shift about 10 years ago and after most of my near HW 
projects have been done in C++. There is nothing C++ cannot do 
that C can. Speed wise C++ is very close C and offers more 
possibilities. You have to know what you can use and what side 
effects some features have. Systems programming in C++ is a bit 
different compared if you would write an application.
    
    
More information about the Digitalmars-d
mailing list