New tinylog
This commit is contained in:
parent
47019a0f8b
commit
805af3270c
2 changed files with 23 additions and 4 deletions
16
content/gemlog/reasons_to_use_c_in_2023.gmi
Normal file
16
content/gemlog/reasons_to_use_c_in_2023.gmi
Normal file
|
@ -0,0 +1,16 @@
|
|||
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.
|
|
@ -4,10 +4,10 @@ Meta(
|
|||
published: Some(Time(
|
||||
year: 2023,
|
||||
month: 8,
|
||||
day: 23,
|
||||
hour: 20,
|
||||
minute: 55,
|
||||
second: 9,
|
||||
day: 26,
|
||||
hour: 22,
|
||||
minute: 52,
|
||||
second: 52,
|
||||
)),
|
||||
tags: [
|
||||
"tinylog",
|
||||
|
@ -18,6 +18,9 @@ Some shorter thoughts and updates that might not warrant a full gemlog entry. I'
|
|||
|
||||
=> .. Home
|
||||
|
||||
## 2023-08-26 22:52 UTC
|
||||
Currently building packages from Pkgsrc for x86_64 Linux with Musl libc. Builds keep failing due to using types which Musl has hidden behind `_LARGEFILE64_SOURCE`. It's an easy fix, but it would be great if all of these upstream packages would write "modern" C/C++. I'm looking at you, LLVM.
|
||||
|
||||
## 2023-08-23 20:55 UTC
|
||||
Working on bringing some HitchHiker packages up to date. I also simplified code in a couple of the utilities written specifically for hhl, and added some man pages.
|
||||
## 2023-08-22 04:39 UTC
|
||||
|
|
Loading…
Add table
Reference in a new issue