C is very low level (aka closer to what actually happens) and very simple to debug and play around. You can see the memory, the pointers and reason about it, unless you dlopen there's no call rax. It lets you think in terms of simple computer: memory and execution.
It is great as a toy and a learning tool. Just not for writing complex real world apps.
The biggest advantage to rust for me is the thread synchronization primitives. It's too robust for me to carelessly break, not the tentative frees.
The biggest disadvantage? Well, two but compared to c++. No good dyn linking abi and finicky c++ object interop. I still do c++ but long time didn't write any new serious c code in a while. I do use c as a toy often : )
c is a nice toy
Date: 2025-04-06 04:13 am (UTC)C is very low level (aka closer to what actually happens) and very simple to debug and play around. You can see the memory, the pointers and reason about it, unless you dlopen there's no
call rax
. It lets you think in terms of simple computer: memory and execution. It is great as a toy and a learning tool. Just not for writing complex real world apps. The biggest advantage to rust for me is the thread synchronization primitives. It's too robust for me to carelessly break, not the tentativefree
s. The biggest disadvantage? Well, two but compared to c++. No good dyn linking abi and finicky c++ object interop. I still do c++ but long time didn't write any new serious c code in a while. I do use c as a toy often : )