Skip to content

Instantly share code, notes, and snippets.

@raysan5
raysan5 / raylib_vs_sdl.md
Last active March 7, 2026 15:28
raylib vs SDL - A libraries comparison

raylib_vs_sdl

In the last years I've been asked multiple times about the comparison between raylib and SDL libraries. Unfortunately, my experience with SDL was quite limited so I couldn't provide a good comparison. In the last two years I've learned about SDL and used it to teach at University so I feel that now I can provide a good comparison between both.

Hope it helps future users to better understand this two libraries internals and functionality.

Table of Content

@Theldus
Theldus / README.md
Last active December 19, 2024 11:18
Helping your 'old' PC build faster with your mobile device (no root required)

Helping your 'old' PC build faster with your mobile device

It all happened when I decided to run Geekbench 5 on my phone: surprisingly the single-core performance matched my 'old'¹ Pentium T3200 and surpassed it in multicore. Since I've been having fun with distcc for the last few days, I asked myself: 'Can my phone really help my old laptop build faster? nah, hard to believe... but let's try'.

Without further ado: YES. Not only can my phone be faster, but it can significantly help in the build process, I believe the results below speak for themselves:

asciicast

Building Git (#30cc8d0) on a Pentium T3200, 8m30s

asciicast Building Git (#30cc8d0) on a Pentium T3200 (2x 2.0 GHz)+ Snapdragon 636 (4x1.8 + 4x1.6 GHz), 2m9s

@julianxhokaxhiu
julianxhokaxhiu / README.md
Last active January 25, 2026 13:34
Windows 11 25H2 - Create local account on first boot and other useful tricks

Create a local account on Windows 11 25H2 clean install ( and first boot ):

NEW METHOD

Feel free to try this method if it works, if not switch back to the one below.

PLEASE NOTE: Replace User with the user you want to use locally ( eg. John )

  1. Reach the country selection window
  2. Press Shift + F10
@dwilliamson
dwilliamson / ModifiedMarchingCubes.js
Created February 8, 2022 16:20
Transvoxel's Modified Marching Cubes Lookup Tables
//
// Lookup Tables for Transvoxel's Modified Marching Cubes
//
// Unlike the original paper (Marching Cubes: A High Resolution 3D Surface Construction Algorithm), these tables guarantee
// a closed mesh "whose connected components are continuous and free of holes."
//
// Rotations are prioritised over inversions so that 3 of the 6 cases containing ambiguous faces are never added. 3 extra
// cases are added as a post-process, overriding inverses through custom-build rotations to eliminate the rest.
//
// Uses the exact same co-ordinate system as https://gist.github.com/dwilliamson/c041e3454a713e58baf6e4f8e5fffecd
@raysan5
raysan5 / open_source_and_videogames.md
Last active October 11, 2025 17:01
Open Source and Videogames - Resources

open_source_and_videogames

Open Source and Videogames - Resources

This git include a list of programs, tools, engines and libraries free and open source intended to make videogames.

NOTE: This gist is a support material for the talk "Open Source and Videogames" given by me, Ramon Santamaria, on October 26th 2021 in Canòdrom, Barcelona. All the materials listed here were explained in detail in a +2 hours talk.

Contents

@mackron
mackron / game_engine.md
Last active October 9, 2020 08:55
What I'm looking for in a game engine.

This is an outline of what I'm looking for in a game engine.

  • The entire engine should be implemented as a single file library. The user of the engine should be able to download the source file, add it to their source tree, and go.

  • The engine needs to have a simple build system. You should be able to compile the engine with something like gcc my_game.c -o my_game -lpthread -lm -ldl, and on Windows gcc my_game.c -o my_game.exe. Only libraries that come standard with the compiler should be allowed. The engine should also be built in C89 so it Just Works across all compilers.

// the donut code with fixed-point arithmetic; no sines, cosines, square roots, or anything.
// a1k0n 2020
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#define R(mul,shift,x,y) \
_=x; \
x -= mul*y>>shift; \
@Deflaktor
Deflaktor / notes.md
Last active October 26, 2021 18:22 — forked from stevecheckoway/notes.md
Installing Ghidra Server on Linux odroid 4.14.180-176 armv7l

Installation on Linux odroid 4.14.180-176 armv7l

1. Install the jdk

$ sudo apt update
$ sudo apt install default-jdk

Edit /etc/environment. Append the following line.

@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active February 14, 2026 17:47
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat