An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: raii

zelang-dev/c-raii

An robust high-level Defer, RAII implementation for C89, automatic memory safety, smartly!

Language: C - Size: 12.2 MB - Last synced at: about 23 hours ago - Pushed at: 1 day ago - Stars: 7 - Forks: 0

gammasoft71/xtd

Free open-source modern C++17 / C++20 framework to create console (CLI), forms (GUI like WinForms) and unit test (xUnit) applications and libraries on Windows, macOS, Linux, iOS, Android, FreeBSD, and Haiku.

Language: C++ - Size: 3.64 GB - Last synced at: 1 day ago - Pushed at: 2 days ago - Stars: 876 - Forks: 63

linyacool/WebServer

A C++ High Performance Web Server

Language: C++ - Size: 2.41 MB - Last synced at: 3 days ago - Pushed at: over 1 year ago - Stars: 8,025 - Forks: 2,133

boostorg/scope

Boost.Scope, a collection of scope guard utilities.

Language: C++ - Size: 253 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 15 - Forks: 4

offa/scope-guard

Implementation of Scoped Guards and Unique Resource as proposed in P0052.

Language: C++ - Size: 602 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 49 - Forks: 6

Curve/rohrkabel

πŸ”Œ A C++ Pipewire-API Wrapper

Language: C++ - Size: 578 KB - Last synced at: about 3 hours ago - Pushed at: 9 days ago - Stars: 64 - Forks: 5

Young-TW/hippp

Write GPU program with RAII

Language: C++ - Size: 4.88 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 0 - Forks: 0

sjinks/scope-action-cpp

Scope guard utilities for managing exit actions in C++

Language: C++ - Size: 99.6 KB - Last synced at: about 18 hours ago - Pushed at: about 20 hours ago - Stars: 0 - Forks: 0

sheikhazad/Singleton_Thread-Safe-Multiple-Solutions

Implementation of thread safe Singleton: Solution-1: By using mutex and atomic Solution-2: By using call_once and lambda function

Language: C++ - Size: 177 KB - Last synced at: 20 days ago - Pushed at: 20 days ago - Stars: 5 - Forks: 1

maximilianfeldthusen/dynamic-array-with-RAII

The code defines a DynamicArray class that serves as a simple dynamic array implementation.

Language: C++ - Size: 9.77 KB - Last synced at: 22 days ago - Pushed at: 22 days ago - Stars: 1 - Forks: 0

ricab/scope_guard

A modern C++ scope guard that is easy to use but hard to misuse.

Language: C++ - Size: 304 KB - Last synced at: 2 days ago - Pushed at: about 2 years ago - Stars: 188 - Forks: 31

SouleEater99/CPP

42 C++ Piscine (Modules 02-09) - Mastering modern C++ through 8 intensive modules covering OOP, templates, STL, and system programming.

Language: C++ - Size: 1.9 MB - Last synced at: 27 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

LouisCharlesC/safe

Header only read/write wrapper to combine mutexes with locks.

Language: C++ - Size: 258 KB - Last synced at: 20 days ago - Pushed at: 7 months ago - Stars: 149 - Forks: 11

cleoold/lua_interpreter_wrapper

That wraps Lua interpreter in C++ (used to read config files)

Language: C++ - Size: 60.5 KB - Last synced at: about 1 month ago - Pushed at: about 4 years ago - Stars: 12 - Forks: 3

mnesarco/imgui_sugar

C++11 syntactic sugar for ImGui with RAII guards

Language: C++ - Size: 47.9 KB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 66 - Forks: 9

wenzhang-dev/HttpServer

A webserver developed using modern c++

Language: C++ - Size: 1.72 MB - Last synced at: about 1 month ago - Pushed at: over 5 years ago - Stars: 47 - Forks: 12

disjukr/bunja

State Lifetime Manager

Language: TypeScript - Size: 11.7 MB - Last synced at: 5 days ago - Pushed at: 4 months ago - Stars: 53 - Forks: 4

AlSch092/RemapProtectedClass

Maps view of a section pointing to a class/struct object with SEC_NO_CHANGE & PAGE_EXECUTE_READ, protecting it from page protection modifications and memory writes

Language: C++ - Size: 77.1 KB - Last synced at: 23 days ago - Pushed at: about 2 months ago - Stars: 7 - Forks: 2

seleznevae/ceraii

C MACROS for go-like defer in C which can be used for explicit RAII

Language: C - Size: 53.7 KB - Last synced at: about 1 month ago - Pushed at: over 5 years ago - Stars: 33 - Forks: 3

SergiusTheBest/ScopeExit

C++11 scope guard library

Language: C++ - Size: 17.6 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 18 - Forks: 8

Qqwy/raii_with

A simple library to provide RAII in standard-compliant C99, using raii_with(resource, initializer, destructor) { ... }-syntax:

Language: C - Size: 24.4 KB - Last synced at: about 1 month ago - Pushed at: almost 7 years ago - Stars: 43 - Forks: 5

deknowny/reqsnaked

⚑ Blazing fast async/await HTTP client for Python written on Rust using reqwests

Language: Rust - Size: 3.12 MB - Last synced at: 11 days ago - Pushed at: about 2 years ago - Stars: 28 - Forks: 2

ThoughtWorksInc/RAII.scala

Resource Acquisition Is Initialization

Language: Scala - Size: 2.14 MB - Last synced at: 17 days ago - Pushed at: about 1 year ago - Stars: 31 - Forks: 6

wizzardx/bracket

A Crystal shard implementing the bracket pattern for safe resource management. Ensures proper initialization and cleanup of resources, similar to Python's context managers or Haskell's bracket pattern.

Language: Crystal - Size: 0 Bytes - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

mattkretz/defer

defer a callable until the end of the current scope

Language: C++ - Size: 17.6 KB - Last synced at: about 1 month ago - Pushed at: over 4 years ago - Stars: 19 - Forks: 3

Lucretiel/defer-drop

Defer dropping large structs to a background thread

Language: Rust - Size: 27.3 KB - Last synced at: 9 days ago - Pushed at: over 2 years ago - Stars: 62 - Forks: 5

juzzlin/SimpleLogger

A simple yet effective logging library for C++

Language: C++ - Size: 63.5 KB - Last synced at: about 1 month ago - Pushed at: 3 months ago - Stars: 10 - Forks: 5

JustasMasiulis/process_handle

A cross platform, leak free system handle wrapper

Language: C++ - Size: 27.3 KB - Last synced at: about 1 month ago - Pushed at: over 7 years ago - Stars: 19 - Forks: 7

jbarop/kraii

Proof Of Concept to implement the RAII pattern in Kotlin using a compiler plugin.

Language: Kotlin - Size: 227 KB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 2 - Forks: 0

Frityet/ManagedC πŸ“¦

Reference counter for C

Language: C - Size: 300 KB - Last synced at: about 1 hour ago - Pushed at: about 2 years ago - Stars: 53 - Forks: 1

jgarzik/univalue πŸ“¦

High performance RAII C++ JSON library and universal value object class

Language: C++ - Size: 168 KB - Last synced at: 2 days ago - Pushed at: almost 4 years ago - Stars: 57 - Forks: 78

ThoughtWorksInc/Dsl.scala

A framework to create embedded Domain-Specific Languages in Scala

Language: Scala - Size: 4.31 MB - Last synced at: about 23 hours ago - Pushed at: 4 months ago - Stars: 254 - Forks: 29

siffiejoe/lua-finally

Deterministic cleanup of resources in Lua

Language: C - Size: 12.7 KB - Last synced at: about 1 month ago - Pushed at: almost 5 years ago - Stars: 11 - Forks: 2

pedrolcl/overlay-widget-for-qt

Overlay widget for Qt

Language: C++ - Size: 132 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 2 - Forks: 0

offa/cpp-guards

C++ RAII template classes / scope guards.

Language: C++ - Size: 221 KB - Last synced at: 2 days ago - Pushed at: over 4 years ago - Stars: 9 - Forks: 1

bitwizeshift/Scope

A modern C++-RAII utility library, based on the C++20 proposal

Language: C++ - Size: 260 KB - Last synced at: about 1 month ago - Pushed at: about 5 years ago - Stars: 11 - Forks: 0

2A5F/Coplt.RAII

Disable copying of structures

Language: C# - Size: 23.4 KB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 2 - Forks: 0

Fuxfantx/raii.h

Try to use C with scoped constructor & destructor.

Language: C - Size: 57.6 KB - Last synced at: 2 months ago - Pushed at: about 1 year ago - Stars: 1 - Forks: 0

ojaskavathe/vulkan-sands

Falling sand simulation, written in C++ using Vulkan's RAII wrappers.

Language: C++ - Size: 305 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 1 - Forks: 0

DNKpp/ImGui_RAII

Language: C++ - Size: 42 KB - Last synced at: about 2 hours ago - Pushed at: over 3 years ago - Stars: 4 - Forks: 1

intel/libnica πŸ“¦

Common C library functions

Language: C - Size: 146 KB - Last synced at: 9 months ago - Pushed at: over 2 years ago - Stars: 38 - Forks: 16

fwcd/stream-guard

RAII wrapper around Stream that invokes a custom action on drop

Language: Rust - Size: 8.79 KB - Last synced at: 18 days ago - Pushed at: 12 months ago - Stars: 0 - Forks: 0

sheikhazad/Smart-RAII

This is to demonstrates how shared_ptr can be smart enough to use as RAII in different scenarios other than just memory management. In this demo, we use it for closing file descriptor in normal and exception conditions.

Language: C++ - Size: 94.7 KB - Last synced at: 12 months ago - Pushed at: almost 6 years ago - Stars: 1 - Forks: 0

tavichh/Paladin

A modern, purpose-built game engine for Vulkan.

Language: C++ - Size: 58.6 KB - Last synced at: 12 months ago - Pushed at: 12 months ago - Stars: 0 - Forks: 0

Evian-Zhang/stated-scope-guard

A more flexible RAII pattern for stated resource management.

Language: Rust - Size: 9.77 KB - Last synced at: 14 days ago - Pushed at: about 1 year ago - Stars: 5 - Forks: 0

mbeckh/common-cpp

A collection of common classes for C++ programming, particularly for targeting Windows API and COM.

Language: C++ - Size: 281 KB - Last synced at: about 1 year ago - Pushed at: over 2 years ago - Stars: 4 - Forks: 1

eecs482/raii-lab

Lab 3 RAII Exercises, Lock Guard and Unique Pointers

Language: C++ - Size: 327 KB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

whjkm/Web_Server

πŸ’» High-performance multi-thread web server written by C++

Language: C++ - Size: 290 KB - Last synced at: about 1 year ago - Pushed at: almost 6 years ago - Stars: 30 - Forks: 4

Gleor/cpp-advanced-vector

About Π¨Π°Π±Π»ΠΎΠ½Π½Ρ‹ΠΉ Π²Π΅ΠΊΡ‚ΠΎΡ€ ΠΈΠ· стандартной Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ

Language: C++ - Size: 6.84 KB - Last synced at: 3 months ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0

Gleor/cpp-single-linked-list

ΠžΠ΄Π½ΠΎΡΠ²ΡΠ·Π½Ρ‹ΠΉ список

Language: C++ - Size: 15.6 KB - Last synced at: 3 months ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

RIscRIpt/rsc πŸ“¦

C++ classes for accessing smart cards using WinAPI

Language: C++ - Size: 102 KB - Last synced at: over 1 year ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

RedButterflies/Adv_CPP_lab11_RAII

Advanced C++ programming lab11, RAII

Language: C++ - Size: 9.77 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

rec/tfile

πŸ“ tiny C++11 file utilities πŸ“

Language: C++ - Size: 906 KB - Last synced at: about 1 month ago - Pushed at: over 6 years ago - Stars: 22 - Forks: 4

n0lavar/qxLib

A few useful things for developing your own game engine

Language: C++ - Size: 9.81 MB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 6 - Forks: 0

caiocrux/c_plus_plus_raii_pattern

Resource Acquisition Is Initialization or RAII, is a C++ programming technique which binds the life cycle of a resource that must be acquired before use (allocated heap memory, thread of execution, open socket, open file, locked mutex, disk space, database connectionβ€”anything that exists in limited supply) to the lifetime of an object.

Language: C++ - Size: 3.91 KB - Last synced at: over 1 year ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

kmc7468/GCPointer

Garbage Collector which uses RAII (Experimental)

Language: C++ - Size: 87.9 KB - Last synced at: almost 2 years ago - Pushed at: over 6 years ago - Stars: 3 - Forks: 0

fedeboco/programming-workshop

75.42 - Contains 3 projects: Sudoku, Frame of Reference Compressor and Honeypot FTP Server. Makes use of sockets, RAII, threads, polymorphism, etc.

Language: C++ - Size: 1.13 MB - Last synced at: almost 2 years ago - Pushed at: about 5 years ago - Stars: 0 - Forks: 0

gsauthof/libixxxutil

Utility classes for scope based file management

Language: C++ - Size: 51.8 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 1

vedran97/cansocket

This repository holds a simple RAII C++ wrapper around a FD-CAN Socket API in linux

Language: C++ - Size: 10.7 KB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 0 - Forks: 0

dragazo/cpp-gc

An RAII garbage-collection system in standard C++

Language: C++ - Size: 396 KB - Last synced at: about 2 years ago - Pushed at: about 5 years ago - Stars: 8 - Forks: 0

pre-eth/Memory-Chat-Bot

This is my submission for the third course in the Udacity C++ Nanodegree Program. The goal was to use my new detailed knowledge of C++'s Memory Model to optimize the memory usage of a ChatBot program.

Language: C++ - Size: 2.68 MB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 1

cardinalby/ts-raii-scope

RAII proof of concept on TypeScript

Language: TypeScript - Size: 9.77 KB - Last synced at: about 13 hours ago - Pushed at: almost 5 years ago - Stars: 8 - Forks: 0

malikkirchner/connection-pool

A generic connection pool

Language: C++ - Size: 37.1 KB - Last synced at: about 2 years ago - Pushed at: about 5 years ago - Stars: 17 - Forks: 5

mguludag/exec_time

A simple C++ header for prints function execution time with RAII, macros and chrono

Language: C++ - Size: 31.3 KB - Last synced at: 3 months ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 0

jehugaleahsa/mogl

A modern C++ wrapper for OpenGL

Language: C++ - Size: 17.6 KB - Last synced at: about 2 years ago - Pushed at: about 7 years ago - Stars: 3 - Forks: 1

chetvertakov/Vector

РСализация шаблонного класса Vector

Language: C++ - Size: 8.79 KB - Last synced at: almost 2 years ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 0

chetvertakov/SingleLinkedList

Π¨Π°Π±Π»ΠΎΠ½Π½Ρ‹ΠΉ класс - односвязный список

Language: C++ - Size: 6.84 KB - Last synced at: almost 2 years ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

heilkn/impl_ptr

RAII helper for managing pointers to implementation classes when using the Pimpl-idiom.

Language: C++ - Size: 49.8 KB - Last synced at: almost 2 years ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

DrMerlin01/SimpleVector

Container, a simplified analogue of std::vector. A pointer wrapper has been written for this container. The RAII idiom is used.

Language: C++ - Size: 20.5 KB - Last synced at: about 2 years ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

cpsusie/DotNetVault

Synchronization Library and Static Analysis Tool for C# 8

Language: C# - Size: 52.6 MB - Last synced at: 12 months ago - Pushed at: over 2 years ago - Stars: 3 - Forks: 2

SwiftKitz/Notificationz

πŸ“‘ Helping you own NotificationCenter in Swift!

Language: Swift - Size: 49.8 KB - Last synced at: 17 days ago - Pushed at: almost 6 years ago - Stars: 77 - Forks: 8

josiest/ion

A simple framework for rapid game prototyping with SDL and C++

Language: C++ - Size: 5.21 MB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

gusenov/examples-cereal

ΠŸΡ€ΠΈΠΌΠ΅Ρ€Ρ‹ использования cereal - C++11 Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ для сСриализации.

Language: C++ - Size: 271 KB - Last synced at: 3 months ago - Pushed at: almost 6 years ago - Stars: 1 - Forks: 0

yahoo17/Cpp-Server

High performance HTTP server implemented in C + +

Language: C++ - Size: 61.3 MB - Last synced at: about 2 years ago - Pushed at: about 4 years ago - Stars: 1 - Forks: 0

boaz23/SPL-Assignment1

System Programming course assignment - Resource management in C++

Language: C++ - Size: 318 KB - Last synced at: about 2 years ago - Pushed at: almost 4 years ago - Stars: 0 - Forks: 0

zachstruck/assign_ptr

Utility function for interfacing C++ smart pointers with C-style APIs that allocate resources through output parameters

Language: C++ - Size: 30.3 KB - Last synced at: about 2 months ago - Pushed at: over 4 years ago - Stars: 1 - Forks: 0

bhhbazinga/HazardPointer

Hazard Pointer implemented in C++ with RAII style.

Language: C++ - Size: 5.86 KB - Last synced at: 3 months ago - Pushed at: about 5 years ago - Stars: 1 - Forks: 2

tymonx/go-patterns

The Go Patterns implements some useful generic design patterns like object registry or object factory. It is only a read-only project mirror. Active development is maintained at the GitLab.

Language: Go - Size: 23.4 KB - Last synced at: about 2 months ago - Pushed at: over 4 years ago - Stars: 1 - Forks: 0

c0de4un/simple-spin-lock

Simple Spin Thread-Lock Example

Language: C++ - Size: 50.8 KB - Last synced at: 3 months ago - Pushed at: about 5 years ago - Stars: 1 - Forks: 0

itsuart/ffraii

RAII wrappers over ffmpeg types

Language: C++ - Size: 5.86 KB - Last synced at: 3 months ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0

Bosswestfalen/stopwatch

Language: C++ - Size: 118 KB - Last synced at: 4 months ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0

leetoo/Dsl.scala Fork of ThoughtWorksInc/Dsl.scala

A framework to create embedded Domain-Specific Languages in Scala

Language: Scala - Size: 1.26 MB - Last synced at: about 2 years ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

toshokan/libnotify-cpp

C++11 object-oriented RAII wrappers for GNOME's Libnotify

Language: C++ - Size: 1.95 KB - Last synced at: 3 months ago - Pushed at: almost 8 years ago - Stars: 1 - Forks: 0

jas-bar/tram

Language: C++ - Size: 19.5 KB - Last synced at: about 2 months ago - Pushed at: about 8 years ago - Stars: 1 - Forks: 0