News for hackers. Stuff that matters.
Re:As a system programming language, C still deserves learni... by skocznymroczny on Monday July 01, 2019 @04:33AM (#20323483)
D doesn't belong in this category. If anything, D should be put next to Rust, C++. D is a very complex language compared to C and it offers all the C++-like features like templates and OOP.
Re:As a system programming language, C still deserves learni... by keldaris on Monday July 01, 2019 @09:50AM (#20325207)
You can use D's betterC mode, supported by the compilers. This avoids the D runtime entirely, there are no classes, exceptions, etc. You can still use templates and CTFE if you like (which can be awesome), but there's nothing forcing you to do that. You can just copypaste some C code, make a few syntactic changes to get it to compile and get a decent level of safety that way.