{"id":16743939,"url":"https://github.com/zshipko/futhark-bindgen","last_synced_at":"2025-03-17T01:32:12.250Z","repository":{"id":50439099,"uuid":"517245964","full_name":"zshipko/futhark-bindgen","owner":"zshipko","description":"A Futhark binding generator for Rust and OCaml","archived":false,"fork":false,"pushed_at":"2024-02-10T17:01:58.000Z","size":128,"stargazers_count":29,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-27T16:38:16.970Z","etag":null,"topics":["futhark","ocaml","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zshipko.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"publiccode":null,"codemeta":null}},"created_at":"2022-07-24T06:32:32.000Z","updated_at":"2025-02-15T22:40:33.000Z","dependencies_parsed_at":"2023-12-22T20:51:29.531Z","dependency_job_id":"957401b3-c476-4019-a098-a043580aceef","html_url":"https://github.com/zshipko/futhark-bindgen","commit_stats":{"total_commits":84,"total_committers":1,"mean_commits":84.0,"dds":0.0,"last_synced_commit":"1c3561d606519711059e6b2a19c4cd249c0f382f"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Ffuthark-bindgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Ffuthark-bindgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Ffuthark-bindgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Ffuthark-bindgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zshipko","download_url":"https://codeload.github.com/zshipko/futhark-bindgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243836951,"owners_count":20355800,"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":["futhark","ocaml","rust"],"created_at":"2024-10-13T01:42:02.017Z","updated_at":"2025-03-17T01:32:11.887Z","avatar_url":"https://github.com/zshipko.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# futhark-bindgen\n\n\u003ca href=\"https://crates.io/crates/futhark-bindgen\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/futhark-bindgen.svg\"\u003e\n\u003c/a\u003e\n\nA [Futhark](https://futhark-lang.org) binding generator.\n\n`futhark-bindgen` uses the [manifest](https://futhark.readthedocs.io/en/latest/c-api.html#manifest) created by Futhark \nto generate bindings for multiple languages.\n\nSupported languages:\n\n- Rust\n- OCaml\n\n## Installation\n\nWith `cargo`:\n\n```\n$ cargo install futhark-bindgen\n```\n\nFrom source:\n\n```\n$ make install PREFIX=~/.local/bin\n```\n\n## Command-line usage\n\n```\n$ futhark-bindgen run test.fut test.rs # Rust output to ./test.rs\n$ futhark-bindgen run test.fut test.ml # OCaml output to ./test.ml\n```\n\nThe `--backend` flag can be used to select which Futhark backend to use: `c`, `multicore`,\n`cuda`, `opencl` or `ispc`\n\nSee the output of `futhark-bindgen --help` for more information\n\n## Example projects\n\n- [Rust](https://github.com/zshipko/futhark-bindgen/tree/main/examples/rust)\n- [OCaml](https://github.com/zshipko/futhark-bindgen/tree/main/examples/ocaml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Ffuthark-bindgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzshipko%2Ffuthark-bindgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Ffuthark-bindgen/lists"}