Post 9mAa8Mt5GvGvcckDDs by sir@cmpwn.com
(DIR) More posts by sir@cmpwn.com
(DIR) Post #9mAZkZL3KMdBHwThtg by sir@cmpwn.com
2019-08-23T06:40:27Z
0 likes, 0 repeats
Some features I would remove from C:typedefinline#definenon-declarations in headersstupid useless stuff like i[array] or digraph/trigraph seqsthread local storage (and pthreads as a whole)inline assembly
(DIR) Post #9mAa3WablyEqGRnDm4 by distant@misskey.io
2019-08-23T06:42:55.870Z
0 likes, 1 repeats
@sir@cmpwn.com + Any addition to the language post-C99At some point I need to put together a shell script to test the C I write with multiple compilers; I find myself falling for GNU footguns way too often without realizing it.
(DIR) Post #9mAa3Wu6bTpnEuunAG by sir@cmpwn.com
2019-08-23T06:43:51Z
0 likes, 0 repeats
@distant anonymous structs and unions are good
(DIR) Post #9mAa8Mt5GvGvcckDDs by sir@cmpwn.com
2019-08-23T06:44:11Z
0 likes, 0 repeats
@distant also just use builds.sr.ht, it has a bunch of operating systems you can test on at once
(DIR) Post #9mAbzVTk9zs3ZMnHMm by nergal@linuxrocks.online
2019-08-23T07:05:28Z
0 likes, 0 repeats
@sir so the things mostly used in inheritance and other OOP methodologies in C?
(DIR) Post #9mAcJLhQEHen1yeZSC by mariusor@metalhead.club
2019-08-23T07:08:59Z
0 likes, 0 repeats
@sir why not headers all together ? The benefits of having split header/implementation files are a thing of the past. Any modern language should have a better way of exposing its API .
(DIR) Post #9mB3trihLuv7Wot49Q by tomleb@toot.cafe
2019-08-23T12:18:08Z
0 likes, 0 repeats
@sir I'm curious, what would you replace pthreads with?
(DIR) Post #9mB9EOx80G2qA0FSHg by sir@cmpwn.com
2019-08-23T13:16:25Z
0 likes, 0 repeats
@tomleb processes
(DIR) Post #9mCkir5NrOBHYzSEgi by kast@mastodon.technology
2019-08-24T07:52:27Z
0 likes, 0 repeats
@sir @tomleb Do you mean forks?
(DIR) Post #9mCu2C7UmNdHtAjr4S by sir@cmpwn.com
2019-08-24T09:36:13Z
0 likes, 0 repeats
@kast @tomleb possibly