{"id":13763405,"url":"https://github.com/ihnorton/mojo-ffi","last_synced_at":"2025-09-12T11:47:48.048Z","repository":{"id":202576436,"uuid":"707506705","full_name":"ihnorton/mojo-ffi","owner":"ihnorton","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-20T16:58:15.000Z","size":7,"stargazers_count":26,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"ffi-demo","last_synced_at":"2024-02-11T18:47:28.284Z","etag":null,"topics":["mojo","mojo-lang"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ihnorton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-20T03:47:23.000Z","updated_at":"2024-02-07T19:18:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"519ac72e-2679-4f1e-b627-e3bcde3c18ce","html_url":"https://github.com/ihnorton/mojo-ffi","commit_stats":null,"previous_names":["ihnorton/mojo-ffi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihnorton%2Fmojo-ffi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihnorton%2Fmojo-ffi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihnorton%2Fmojo-ffi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihnorton%2Fmojo-ffi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ihnorton","download_url":"https://codeload.github.com/ihnorton/mojo-ffi/tar.gz/refs/heads/ffi-demo","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221818408,"owners_count":16885744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["mojo","mojo-lang"],"created_at":"2024-08-03T15:00:44.100Z","updated_at":"2024-10-28T10:46:07.388Z","avatar_url":"https://github.com/ihnorton.png","language":"Python","funding_links":[],"categories":["FFI Bindings","🗂️ Libraries\u003ca id='libraries'\u003e\u003c/a\u003e"],"sub_categories":["FFI / Interop"],"readme":"# Mojo FFI Notes\n\n1. [Calling C libraries from Mojo](mojo-call-c/)\n2. [Statically linking a Mojo executable against a C library](mojo-exe-link-c-static/) (demo)\n3. [Creating a shared library from Mojo, and calling it from C](c-link-mojo-shared/) (demo)\n\nIn order to run 2 and 3, add `scripts/` to your `PATH` before using the demo `Makefile`s (or invoke `/this/path/scripts/mojoc` directly). The scripts require `python` to be available in `PATH`.\n\n(note: the scripts have not yet been updated to support macOS, but the approach should work with minor modifications)\n\nor you can use \n```bash\nsource setup.sh\n```\nthis will make the Makefiles on 3 work properly","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihnorton%2Fmojo-ffi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihnorton%2Fmojo-ffi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihnorton%2Fmojo-ffi/lists"}