Best of C ProgrammingSeptember 2023

  1. 1
    Article
    Avatar of codemazeCode Maze·3y

    22 C# Best Practices

    Learn about C# best practices for readability and code structure, exception handling and defensive coding, and code quality and performance enhancements.

  2. 2
    Article
    Avatar of itsfossIt's Foss·3y

    21 Useful Terminal Shortcuts Pro Linux Users Love

    21 Useful Terminal Shortcuts Pro Linux Users love learning the Linux commands. You have no idea how helpful they are until you know how to use them to make your terminal sessions super productive. In this tutorial, I will walk you through the top terminal shortcuts with examples of how to Use them.

  3. 3
    Article
    Avatar of pointerPointer·3y

    ashvardanian/StringZilla: 10x faster string search, split, sort, and shuffle for long strings and multi-gigabyte files in Python and C, leveraging SIMD with Arm Neon and x86 AVX2 & AVX-512 intrinsics

    StringZilla uses a heuristic so simple it's almost stupid... but it works. It matches the first few letters of words with hyper-scalar code to achieve speeds. The implementation fits into a single C 99 header file and uses different SIMD flavors and SWAR on older platforms.

  4. 4
    Article
    Avatar of itnextITNEXT·3y

    Rust: The joy of safe zero-copy parsers

    Rust: The joy of safe zero-copy parsers is a technique that can transform data into structured information. The code is quite simple, with the primitive value (header) and the pointer to the array of chars (payload) being moved into the struct.

  5. 5
    Article
    Avatar of codemazeCode Maze·3y

    Using a Discard Variable in C#

    C# 7 introduced discards as placeholders for values we do not have any use for in our code. They are write-only variables that allow us to explicitly inform the compiler or anyone reading our code to discard their content. They are particularly useful in scenarios where we receive a value but have no intention of using it.