Best of C ProgrammingFebruary 2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    Draw! is now Open Source

    Draw! is now open source. The game is available on GitHub under the MIT License. It was written in C programming using raylib. The code is not the best example of programming practices, but it serves as a reference for learning C programming or raylib.

  2. 2
    Article
    Avatar of medium_jsMedium·2y

    I Hate JavaScript, Thank You Blazor

    Blazor has addressed the frustrations with JavaScript by providing a component-based architecture, seamless code sharing between server and client, and the advantages of C# and compile-time error checking.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Learn ASP.NET Core by Building an Auction Application

    Learn ASP.NET Core by building a complete auction web application from scratch. The course covers models and database setup, index page, create page and file uploads, details page, CSS and structure, search bar and pagination, adding bids and closing the bidding, adding comments, my listings and my bids, and a project recap. Gain practical experience in fullstack development with ASP.NET Core.

  4. 4
    Article
    Avatar of godotGodot·2y

    Dev snapshot: Godot 4.3 dev 4

    Godot 4.3 dev 4 is a pre-release with many bug fixes, stability improvements, and new features. Highlights include AnimationMixer feature parity and other animation enhancements, .NET code quality improvements, fixes for invalid/corrupt scenes, the introduction of UFBX for importing FBX files, huge improvements to pixel stability for pixel art games, rendering features and enhancements, and a redesigned graph editor for Visual Shaders.

  5. 5
    Article
    Avatar of awegoAwesome Go·2y

    Calling C from Go

    The post discusses Go's C interoperability layer, cgo. It covers referencing C symbols, working with arrays and slices in C, converting between Go slices and C arrays, handling strings in C, and managing pointer fields. It also mentions the drawbacks and complexities of using cgo.

  6. 6
    Article
    Avatar of codemazeCode Maze·2y

    Creating Conditional Required Attributes for Validation in .NET Web API

    Learn about creating conditional required attributes for validation in .NET Web API and the approaches to achieve it. Explore the usage of custom validation attributes and the ExpressiveAnnotations library.

  7. 7
    Article
    Avatar of codemazeCode Maze·2y

    How to Log a Class and Method Names Using Serilog

    Learn how to log class and method names using Serilog in a Minimal API project.

  8. 8
    Article
    Avatar of codemazeCode Maze·2y

    Tools and Best Practices for Secret Management in .NET

    Learn about the tools and best practices for secret management in .NET applications, including the importance of secret management in software development.

  9. 9
    Article
    Avatar of codemazeCode Maze·2y

    Different Ways to Run Background Tasks in ASP.NET Core

    This post explores different ways of running background tasks in ASP.NET Core applications without depending on external providers. It covers running one-off background tasks with IHostedService and BackgroundService, as well as running recurring background tasks with IHostedService and BackgroundService.

  10. 10
    Article
    Avatar of codemazeCode Maze·2y

    Fastest Method to Check if a Date is Less Than or Equal to Today

    Learn different methods to check if a date is less than or equal to today in C#. Benchmark tests show that using the less than or equal to comparison operator (<=) is the fastest method.

  11. 11
    Article
    Avatar of codemazeCode Maze·2y

    Parallel.ForEachAsync() and Task.Run() With When.All in C#

    This post compares the 'Task.WhenAll()' and 'Parallel.ForEachAsync()' methods for parallel programming in C#. It discusses their benefits, usage, and considerations for different scenarios.

  12. 12
    Article
    Avatar of codemazeCode Maze·2y

    Comparing for and foreach Loop in C#

    Learn the differences between the for loop and foreach loop in C#, including their low-level implementation and performance comparison.