{"id":38836657,"url":"https://github.com/rocketbitz/libfabric-go","last_synced_at":"2026-01-17T13:56:32.804Z","repository":{"id":317996635,"uuid":"1064071622","full_name":"rocketbitz/libfabric-go","owner":"rocketbitz","description":"Go bindings for the libfabric","archived":false,"fork":false,"pushed_at":"2025-10-04T12:21:59.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T12:26:44.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rocketbitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-25T13:56:10.000Z","updated_at":"2025-10-04T12:22:00.000Z","dependencies_parsed_at":"2025-10-09T15:18:33.991Z","dependency_job_id":null,"html_url":"https://github.com/rocketbitz/libfabric-go","commit_stats":null,"previous_names":["rocketbitz/libfabric-go"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rocketbitz/libfabric-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Flibfabric-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Flibfabric-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Flibfabric-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Flibfabric-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocketbitz","download_url":"https://codeload.github.com/rocketbitz/libfabric-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Flibfabric-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28509604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T13:56:32.717Z","updated_at":"2026-01-17T13:56:32.783Z","avatar_url":"https://github.com/rocketbitz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libfabric-go\n\n`libfabric-go` provides Go bindings for the\n[libfabric](https://ofiwg.github.io/libfabric/) high-performance fabric\ninterface. It exposes:\n\n- **Low-level primitives** under the `fi` package that closely mirror the C API\n  while offering safer resource management, automatic error translation, and\n  utilities such as memory-registration pools.\n- **High-level ergonomics** under the `client` package for dialing providers,\n  dispatching asynchronous send/receive handlers, recording metrics, and wiring\n  tracing/logging integrations.\n\nThis repository is ready for its first tagged release (`v0.0.1`). The\n[`ROADMAP`](ROADMAP.md) tracks follow-on work beyond this milestone.\n\n## Requirements\n\n- Go 1.22 or newer with CGO enabled.\n- libfabric development headers and shared libraries discoverable via\n  `pkg-config`.\n- A provider supported by your platform (the sockets provider is exercised by\n  the examples and CI).\n\nInstall libfabric and helper tooling:\n\n```bash\n# macOS (Homebrew)\nbrew install libfabric pkg-config just\n\n# Debian / Ubuntu\nsudo apt-get update\nsudo apt-get install -y libfabric-dev pkg-config just\n```\n\n## Quick Start\n\nAdd the module and run a basic client loopback:\n\n```bash\ngo get github.com/rocketbitz/libfabric-go@latest\n```\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"log\"\n    \"time\"\n\n    \"github.com/rocketbitz/libfabric-go/client\"\n    \"github.com/rocketbitz/libfabric-go/fi\"\n)\n\nfunc main() {\n    cfg := client.Config{\n        Provider:     \"sockets\",\n        EndpointType: fi.EndpointTypeRDM,\n        Timeout:      2 * time.Second,\n    }\n\n    c, err := client.Dial(cfg)\n    if err != nil {\n        log.Fatalf(\"dial: %v\", err)\n    }\n    defer c.Close()\n\n    addr, err := c.LocalAddress()\n    if err != nil {\n        log.Fatalf(\"local address: %v\", err)\n    }\n    dest, err := c.RegisterPeer(addr, false)\n    if err != nil {\n        log.Fatalf(\"register peer: %v\", err)\n    }\n\n    if err := c.SendTo(context.Background(), dest, []byte(\"hello\")); err != nil {\n        log.Fatalf(\"send: %v\", err)\n    }\n\n    buf := make([]byte, 16)\n    n, _, err := c.ReceiveFrom(context.Background(), buf)\n    if err != nil {\n        log.Fatalf(\"receive: %v\", err)\n    }\n    log.Printf(\"received %q\", string(buf[:n]))\n}\n```\n\nSee [`docs/USAGE.md`](docs/USAGE.md) for a deeper walkthrough covering\ndiscovery, messaging, and memory registration flows.\n\n## Examples\n\nThe repository ships runnable programs under `examples/` and matching\nintegration tests under `integration/`:\n\n- `examples/msg_basic`: minimal MSG endpoint send/receive helper.\n- `examples/rma_basic`: demonstrates memory registration and RMA loopback.\n- `examples/client_basic`: exercises the high-level client API.\n\nRun them locally with the sockets provider:\n\n```bash\nLIBFABRIC_EXAMPLE_PROVIDER=sockets FI_SOCKETS_IFACE=lo just integration\n```\n\n## Documentation\n\n- [`docs/USAGE.md`](docs/USAGE.md) – operational guidance, provider knobs, and\n  walkthroughs for discovery, messaging, and RMA flows.\n- [`docs/DEVELOPMENT.md`](docs/DEVELOPMENT.md) – project structure, testing\n  strategy, and release workflow for contributors.\n- [`docs/MESSAGING_DESIGN.md`](docs/MESSAGING_DESIGN.md) – design notes behind\n  the high-level messaging abstractions.\n\n## Testing\n\n- `just check` runs formatting, linting, and unit tests (race + coverage).\n- `just integration` executes the integration suite; additional providers can be\n  configured through the `LIBFABRIC_TEST_*` environment variables documented in\n  `docs/USAGE.md`.\n\n## Contributing\n\n- File issues for missing API coverage, provider regressions, or documentation\n  gaps.\n- Discuss substantial design changes in `docs/` before opening a PR when\n  possible.\n- Ensure new code includes GoDoc comments for exported identifiers and runnable\n  examples when applicable.\n\n## License\n\nDistributed under the MIT License. See [`LICENSE`](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketbitz%2Flibfabric-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocketbitz%2Flibfabric-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketbitz%2Flibfabric-go/lists"}