ift-ts:p2p:ift:2026q3-logos-messaging-nim-ffi-integration

Assist the logos-messaging team in implementing and using nim-ffi features needed by nim-libp2p, with the goal of replacing the current C bindings path with a cleaner Nim-based integration path where practical.

Description

Logos Messaging is evolving nim-ffi to support safer and more ergonomic cross-language integration. P2P should help align those capabilities with nim-libp2p needs so downstream consumers can move away from custom C binding surfaces over time.

This work continues the Q2 nim-ffi alignment and focuses on features required to use nim-libp2p through the improved integration path.

Task List

Integration Support

  • fully qualified name: ift-ts:p2p:ift:2026q3-logos-messaging-nim-ffi-integration:integration-support
  • owner: gabe
  • status: in progress (65%)
  • start-date: 2026/07/01
  • end-date: 2026/09/30

Description

Support implementation and testing of nim-ffi features that unblock nim-libp2p usage. This may include reviewing designs, contributing fixes, writing compatibility tests, or adapting nim-libp2p wrappers.

Deliverables

Migration Path

  • fully qualified name: ift-ts:p2p:ift:2026q3-logos-messaging-nim-ffi-integration:migration-path
  • owner: gabe
  • status: in progress (70%)
  • start-date: 2026/07/01
  • end-date: 2026/09/30

Description

Define how projects can migrate from the current C bindings to the cleaner nim-ffi integration path without breaking existing users.

Deliverables

  • vacp2p/nim-libp2p#2775 chore(cbind): nim-ffi migration [4/9] — streams & custom protocols (+ echo example)
  • vacp2p/nim-libp2p#2774 chore(cbind): nim-ffi migration [3/9] — connectivity & identity
  • vacp2p/nim-libp2p#2773 chore(cbind): nim-ffi migration [2/9] — new-library scaffold + CI
  • vacp2p/nim-libp2p#2784 fix(ci): daily runnableExamples check skips vendored Nim compiler
  • vacp2p/nim-libp2p#2772 chore(cbind): nim-ffi migration [1/9] — deps + pinning scaffold
  • Incremental migration plan for existing binding users
  • Compatibility notes for APIs that must remain available
  • Follow-up commitments or issues for work beyond Q3
  • logos-messaging/nim-ffi#102 feat(codegen): C binding generator (-d:targetLang=c)