{"id":15061219,"url":"https://github.com/akxcv/fast_blank_ocaml","last_synced_at":"2025-10-04T21:30:27.692Z","repository":{"id":56845599,"uuid":"115662767","full_name":"akxcv/fast_blank_ocaml","owner":"akxcv","description":"Ruby String#blank? in OCaml","archived":true,"fork":false,"pushed_at":"2017-12-28T22:03:07.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T17:05:37.788Z","etag":null,"topics":["native-extension","ocaml","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/akxcv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-28T21:59:41.000Z","updated_at":"2022-12-29T06:31:49.000Z","dependencies_parsed_at":"2022-09-17T11:02:37.118Z","dependency_job_id":null,"html_url":"https://github.com/akxcv/fast_blank_ocaml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akxcv%2Ffast_blank_ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akxcv%2Ffast_blank_ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akxcv%2Ffast_blank_ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akxcv%2Ffast_blank_ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akxcv","download_url":"https://codeload.github.com/akxcv/fast_blank_ocaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219876757,"owners_count":16554786,"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":["native-extension","ocaml","ruby"],"created_at":"2024-09-24T23:11:55.092Z","updated_at":"2025-10-04T21:30:22.455Z","avatar_url":"https://github.com/akxcv.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fast_blank_ocaml\n\n*DISCLAIMER*: I am not an expert in OCaml, C, Ruby, or native extensions.\nThis is just something I wanted to try out, and since I didn't find a lot of\ninfo by googling, I decided to put this on GitHub and maybe someone will find\nthis useful.\n\n### Description\n\nThis is an example of how to write a Ruby native extension in OCaml.\nThe code for `blank?` itself is in `ext/ocaml-blank/blank.ml`.\n\nThere's also a C wrapper in `ext/ocaml-blank/blank.c` which is required to make\na connection via FFI.\n\n### Benchmark\n\nTo view the benchmark results (with comparison to\n[fast_blank](https://github.com/SamSaffron/fast_blank)), see `benchmark.rb`.\nOr, run it for yourself via `ruby benchmark.rb`.\n\n### Contributing\n\nDespite the gem's \"it's just a test\" status, issues and PRs are very welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakxcv%2Ffast_blank_ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakxcv%2Ffast_blank_ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakxcv%2Ffast_blank_ocaml/lists"}