Skip to content

Nim FFI Wrapper for LibChat#25

Merged
jazzz merged 6 commits intomainfrom
jazzz/nim_api
Jan 28, 2026
Merged

Nim FFI Wrapper for LibChat#25
jazzz merged 6 commits intomainfrom
jazzz/nim_api

Conversation

@jazzz
Copy link
Collaborator

@jazzz jazzz commented Jan 24, 2026

This PR adds an initial Nim wrapper for the LibChat FFI Interface.

This allows LibChat functionality to be access from Nim. More functionality will be added in future PRs.

Notes

@jazzz jazzz requested a review from kaichaosun January 24, 2026 00:51
proc pingpong() =
let buffer_size: uint32 = 256

var raya = newConversationsContext()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be helpful for me (maybe also others) to reason about the demo if using alice and bob...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've talked else where about why Alice and Bob are not the right fit.

I propose an official specification here : logos-messaging/specs#99

@jazzz jazzz force-pushed the jazzz/nim_api branch 2 times, most recently from 320a899 to 23292b7 Compare January 28, 2026 00:04
@jazzz
Copy link
Collaborator Author

jazzz commented Jan 28, 2026

This has been updated to support safer_ffi types added in #24

Base automatically changed from jazzz/context_api to main January 28, 2026 17:59
@jazzz jazzz merged commit 1cb1ffc into main Jan 28, 2026
@jazzz jazzz deleted the jazzz/nim_api branch January 28, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants