Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

how is reentry in the US looking for trans people after last week’s events?

Uncategorized
5 4 11

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    6 Posts
    1 Views
    @mcc it is probably for the best lol
  • Writing Type-Safe Generics in C

    Uncategorized
    1
    1
    0 Votes
    1 Posts
    1 Views
    Writing Type-Safe Generics in CThe fun part about a programming language like C is that although the language doesn’t directly support many features including object-oriented programming and generics, there’s nothing that’s keeping you from implementing said features in C. This extends to something like type-safe generics in C, as [Raph] demonstrates in a blog post.After running through the various ways that generics are also being implemented using methods including basic preprocessor macros and void pointers, the demonstrated method is introduced. While not necessarily a new one, the advantage with this method is that is type-safe. Much like C++ templates, these generics are evaluated at compile time, with the preprocessor handling both the type checking and filling in of the right template snippets.While somewhat verbose, it can be condensed into a single header file, doesn’t rely on the void type or pointers and can be deduplicated by the linker, preventing bloat. If generics is what you are looking for in your C project, this might be a conceivable solution.hackaday.com/2025/11/17/writin…
  • 0 Votes
    2 Posts
    4 Views
    @brohrer and the vibes are kinda bad and getting worse. I hate selling because then I have to deal with it on my taxes, but I don't see how there's anywhere for it to go but down.
  • This post did not contain any content.

    Uncategorized
    3
    1
    0 Votes
    3 Posts
    5 Views
    @aeva In an alternate dimension economy, I would have bought a second one to pour out for Becky :'(