Better HN
topnewbestaskshowjobs
Log inSign up

throwawayiddqd2

7 karma · joined Apr 27, 2023 (3y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

With plan9-extensions gcc flag:

    struct Thing { int i; };
In an implementation c file:

    struct _Thing
    {
        struct Thing;
        int b;
    };

    struct Thing *new_thing()
    {
        struct _Thing *thing = malloc..
        thing->i = 0;
        thing->b = 1;
        return thing;

comment 3y ago · link · parent

Most of the time when I search for something, I sort by more seeders first. Some type of signature can be used too.