Conversation
Notices
-
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Saturday, 17-Aug-2024 03:18:11 JST 翠星石
What I love about C is that it is simple and you can do anything.
Want to catch SIGINT? Sure, just call `signal(SIGPIPE, signal_handler);` to bind that function to be the signal handler and do whatever you want on receiving SIGINT in signal_handler();
Want to handle out of memory situations gracefully? Sure you can, just appropriately respond to malloc(), calloc() or realloc() (whatever is used) failing.-
Embed this notice
dobó istván (istvan@noauthority.social)'s status on Saturday, 17-Aug-2024 03:30:58 JST dobó istván
@Suiseiseki And it isn't written by people who think everything should be an object, meaning the code tends to be straightforward instead of a fucking disaster.
翠星石 likes this.
-
Embed this notice