16 lines
1.2 KiB
Text
16 lines
1.2 KiB
Text
Meta(
|
|
title: "Reasons to use C in 2023",
|
|
summary: Some("I tend to reach for Rust a lot, but lately have been enjoying coding in C"),
|
|
published: None,
|
|
tags: [
|
|
"C",
|
|
"",
|
|
"programming",
|
|
"minimalism",
|
|
],
|
|
)
|
|
---
|
|
If you have seen my programming projects or a bit of this gemlog it's plain as day that I write a lot of Rust code, but lately I've been revisiting C and actually quite enjoying the experience. I thought it might be good to give a rundown of some of the reasons one might want to use C in 2023, when we have so many "better" languages available. I'm sure others will have reasons of their own why they use or don't use a given programming language. It's always a hot topic. But I thought even so my perspective might be interesting considering my usual programming output.
|
|
|
|
## The C compiler -really- trusts you
|
|
If you've ever read Kernighan and Ritchie's "The C Programming Language" there's a tenet about the language that is mentioned repeatedly: Trust the Programmer. I think this sums up a lot about C, and it explains the choices made when designing the language as well as the slow pace of "progress" over the years when it comes to adding features.
|