Aug 04th #Affix.pm N-Dimensional Arrays & Tensors Standard FFI examples usually show 1D arrays (a list of numbers). But real-world data like images, matrices, and physics grids are often N-dimensional...
Aug 04th #Affix.pm Flexible Array Members C99 introduced Flexible Array Members (FAM), which allow a structure to end with an array of unspecified size. This is a common pattern for "Packets"...
Aug 03rd #Affix.pm Hardware Registers and Bitfield Packing In embedded systems, binary file formats, and network protocols, space is at a premium. Instead of using a whole int for a boolean flag, programmers o...
Jan 20th #infix C++ Exception Unwinding I've put it off for months but now have unit tests that sorta kinda demonstrates it. [Edit: I have no roadmap or timeline but] I'll need to come back...
Dec 22nd #Affix.pm Welcome to the Affix Cookbook Welcome to the Affix Cookbook! This guide is a living collection of recipes, techniques, and architectural patterns for mastering Foreign Function Int...
Dec 13th #Affix.pm Stable enough Full Changelog: https://github.com/sanko/Affix.pm/compare/v0.12.0...v1.0.0...
Nov 23rd #infix Packed Trampolines We have nearly reached the end of the current roadmap. infix is fast, secure, and portable. But optimization is an addiction, and I am already looking...
Nov 16th #infix Language Specific Trampolines This is an explanation and expansion of discussion #26 now that I've started actually implemented and designed my idea....
Oct 28th #infix System calls via FFI I've had this idea for a while now and might put effort into it next. I understand that this would be a massive task but the first 30% of it is alread...
Oct 11th #infix Coercion of arguments into a solid block of memory Shower thought time... Internally, would it be faster to coerce args that would end up on the stack into a single block of malloc'd memory? Currently,...
Jul 05th #Affix.pm Todo list Features I'd love to include when I have the time will find their way here....