Skip to content

Instantly share code, notes, and snippets.

View Ferki-git-creator's full-sized avatar
🏠
Робота з дому

Ferki Ferki-git-creator

🏠
Робота з дому
  • Ferki-com
  • Ukraine
View GitHub Profile
/* xid_ultimate.c - Universal Unique ID Generator (Embedded README & License)
* Features: Portable, no dependencies, monotonic counters, checksums
* Author: Ferki
* Release Date: 20.07.2025
*
* README:
* This is a self-contained C library for generating globally unique identifiers.
* Each ID contains:
* - 48-bit timestamp (milliseconds, ~8925 years range)
* - 64-bit cryptographically-strong entropy
#ifndef VIRTUAL_JOYSTICK_H
#define VIRTUAL_JOYSTICK_H
#include <SDL2/SDL.h> // If you are viewing this code in a public view (for example, in GitHub), then I advise you to change this path to your real path so that the code works correctly.
#include <stdbool.h>
#include <math.h>
#include <stdio.h> // For fprintf, printf
#include <stdlib.h> // For malloc, free
// This block ensures that the C functions are compatible with C++ compilers.
@Ferki-git-creator
Ferki-git-creator / LICENCE.md
Created May 25, 2025 18:26
Simple,Lite SDL2 Mobile Joystick (Header-Only, C/C++) and Touch screens

MIT License Copyright (c) 2025 Ferki (denisdola278@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all

@Ferki-git-creator
Ferki-git-creator / c2desf.md
Created May 8, 2025 10:40
GitHub Gist: c2desf vs. Traditional Libraries Benchmark

c2desf vs. .dll/.so: Why It’s the Future of Cross-Platform Code

Benchmark Results

Speed (FPS on Skyrim Mod):

Platform .dll/.so c2desf
PC 60 60
PlayStation 60
Smart Fridge 55