Best of C ProgrammingNovember 2022

  1. 1
    Article
    Avatar of logrocketLogRocket·3y

    The guide to conditional types in TypeScript

    Since version 2.8, TypeScript has introduced support for conditional types. Conditional types let us deterministically define type transformations depending on a condition. In brief, they are a ternary conditional operator applied at the type level rather than at the value level.

  2. 2
    Article
    Avatar of changelogChangelog·3y

    Everything I wish I knew when learning C

    C has no environment which smooths out platform or OS differences; you need to know about your platform too. There are important concepts related to CPUs, OSes, compiled code in general - it's used in such varied ways that there’s far less a centralised ‘community’ or style than other languages.

  3. 3
    Article
    Avatar of infoqInfoQ·3y

    PHP 8 - Classes and Enums

    PHP 8.0 has a new feature that automatically promotes class constructor parameters to corresponding class properties with the same name if the constructor parameters are declared with a visibility modifier and are not of type. The new feature adds support for enumerations, or enums, to declare an enumerated set of values that are similar to class objects.

  4. 4
    Article
    Avatar of hnHacker News·3y

    Tales of the M1 GPU

    Alyssa Rosenzweig started working on reverse engineering the M1 GPU in April. She started writing an M1 driver for Mesa, the Linux userspace graphics stack, and just a few months later she was already passing 75% of the GL2 conformance 2 conformance. Earlier this year, her work was so far ahead.

  5. 5
    Article
    Avatar of communityCommunity Picks·4y

    Websocket Server in C

    Websockets is one of those means, since it is - at the bottom - plain TCP. With this one, you can make interact in real time between some native code with the wider network. It does not support natively HTTPS, but it does not mean that you cannot, nor must not secure it.