@libdecodeless

2 Followers
9 Following
7 Posts

Write binary files fast, without boilerplate

https://github.com/decodeless/mappedfile is a cross platform memory mapping library. The standout feature is resizable mapped files: reserve virtual address space and grow into it as needed

Recent new features:
- Faster resizing on Windows
- Manual .sync() to flush when needed
- Releases pages when shrinking resizable_memory

#cpp #gamedev #opensource

GitHub - decodeless/mappedfile: Cross platform growable file memory mapping for both reading and writing

Cross platform growable file memory mapping for both reading and writing - decodeless/mappedfile

GitHub

GDB pretty printers are coming to offset_ptr 馃槏:
https://github.com/decodeless/offset_ptr/pull/6

No more fumbling in the dark when hovering over variables in a debugger on Linux. It just looks like a regular pointer.

It nearly just works out of the box. The only setup is setting auto-load safe-path so the printer will run. The secret is embedding the script in debug sections.

There's a quick write up here:
https://www.heuristic42.com/blog/64/embedding-gdb-pretty-printers-just-like-natvis/

#gdb #debugging #cpp #programming #coding #debugtools

gdb pretty printers by pknowles 路 Pull Request #6 路 decodeless/offset_ptr

Summary by CodeRabbit Release Notes Documentation Updated README with clearer explanations of offset_ptr and offset_span Added CMake integration instructions New Features Introduced GDB pret...

GitHub

GDB pretty printers are coming to offset_ptr 馃槏:
https://github.com/decodeless/offset_ptr/pull/6

No more fumbling in the dark when hovering over variables in a debugger on Linux. It just looks like a regular pointer.

It nearly just works out of the box. The only setup is setting auto-load safe-path so the printer will run. The secret is embedding the script in debug sections.

There's a quick write up here:
https://www.heuristic42.com/blog/64/embedding-gdb-pretty-printers-just-like-natvis/

#gdb #debugging #cpp #programming #coding #debugtools

gdb pretty printers by pknowles 路 Pull Request #6 路 decodeless/offset_ptr

Summary by CodeRabbit Release Notes Documentation Updated README with clearer explanations of offset_ptr and offset_span Added CMake integration instructions New Features Introduced GDB pret...

GitHub

Check out this convenient 3D model file format using decodeless!
https://github.com/pknowles/readytorender

#gamedev #opengl #cpp #indiedev

GitHub - pknowles/readytorender: Ready To Render (RTR) mappable binary file format

Ready To Render (RTR) mappable binary file format. Contribute to pknowles/readytorender development by creating an account on GitHub.

GitHub

@[email protected] TY!

I gave the code its own account, @libdecodeless, and a quickly written intro at https://heuristic42.com/blog/62

Rethinking writing files with memory mapping and C++ - Heuristic42

Heuristic42

Ever wanted to quickly read/write files but found fstream/fopen combersome?

I made a thing: https://github.com/decodeless

- Write to a memory mapped file instead
- Binary data, no serialization
- Growable mapped file
- Pointers remain valid while writing

#programming #coding #cpp #fileio #gamedev

decodeless

decodeless has 6 repositories available. Follow their code on GitHub.

GitHub