Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 11
  1. Background I added the continue keyword ~2 years ago as an experiment.

  2. Background I added the continue keyword ~2 years ago as an experiment.

  3. My tiny todo file

    A simple idea deserves a simple post.

  4. I wrote the blog post The LuaJIT NYI That Silently Poisoned an Unrelated Hot Loop for the company I work at, check it out!

  5. Slow is smooth, smooth is fast is a neat phrase, but it is usually explained incompletely.

  6. Comptime C functions

    Compile-time function execution is great, as it means your program has to run less code at runtime, but what if: You’re stuck with C.

  7. I wrote the library Allocationless C89 JSON parser.

  8. Make sure to read my previous post first called Creating the perfect modding language, since it goes over the basics of grug.

  9. This blog post goes over how a student can statically analyze their C/C++ code with PVS-Studio for free on Ubuntu.

  10. Why hash tables are incredibly useful When you want to look for a value in an array, looping over it is simple and fast, but it has a time complexity of O(n).

  11. One of the most common C mistakes I’ve seen is to call srand(time(NULL)); right before using rand() to generate a random number: #include <stdio.h> #include <stdlib.h> #include <time.h> void spawnPlant() { srand(time(NULL)); // rand() returns a…