Menu

5 zero-float, zero-malloc C99 / Arduino libraries compiled from fruit-fly connectome circuits in 24 KB RAM (NeckLink v3.0.0, MIT)

Reading 0:00
15s threshold

Hi everyone,

Wanted to share an experimental open-source (MIT) C99 and Arduino library suite I just updated to v3.0.0 called NeckLink, along with an interactive WebAssembly demo of the C99 core.

Each library takes one circuit from the 157,789-neuron adult fruit-fly nervous system (the BANC v888 connectome) and compiles its synaptic connectivity into static fixed-point integer weight headers ( *_banc_weights.h , zero floats, zero malloc ):

NeckLinkCNS ( 24,024 bytes static struct): combines all four sensory-motor organs below plus a standalone MAVLink v2 serializer.

NeckCompass ( 352 bytes base RAM): 9-DOF ring-attractor compass and GPS-denied return-to-home vector integrator.

NeckSight ( 14.3 KB static RAM): 32x32 optic-lobe collision and thin-obstacle looming detector with integer 3-DOF gyro derotation.

NeckCord ( base RAM): hexapod 6x6 leg-inhibition gait generator, 18-servo integer inverse kinematics, thruster/rotor allocator, and 4-byte wire codec.

NeckSense ( SRAM in tiny mode): 1,024 Kenyon-cell…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.