{"id":17800239,"url":"https://github.com/abesto/clox-rs","last_synced_at":"2025-06-14T07:35:01.884Z","repository":{"id":66712707,"uuid":"544388424","full_name":"abesto/clox-rs","owner":"abesto","description":"Following along the second (C) part of https://craftinginterpreters.com/, but with Rust, because reasons. ","archived":false,"fork":false,"pushed_at":"2022-12-11T17:52:50.000Z","size":8838,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-15T06:52:46.673Z","etag":null,"topics":["lox","rust"],"latest_commit_sha":null,"homepage":"https://abesto.github.io/clox-rs/","language":"Rust","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/abesto.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,"publiccode":null,"codemeta":null}},"created_at":"2022-10-02T10:57:33.000Z","updated_at":"2024-12-19T15:43:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0a7105a-5579-4bab-bd6d-b2737e5621c8","html_url":"https://github.com/abesto/clox-rs","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/abesto%2Fclox-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abesto%2Fclox-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abesto%2Fclox-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abesto%2Fclox-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abesto","download_url":"https://codeload.github.com/abesto/clox-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852479,"owners_count":20358271,"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":["lox","rust"],"created_at":"2024-10-27T12:16:50.278Z","updated_at":"2025-03-17T08:36:56.394Z","avatar_url":"https://github.com/abesto.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clox-rs\n\n\u003e Following along the second (C) part of https://craftinginterpreters.com/, but with Rust, because reasons. \n\nStatus: done!\n\nCheck it out running in your browser: https://abesto.github.io/clox-rs/\n\nCheck out [`NOTES.md`](NOTES.md) for a ton of details, especially around differences vs. `clox` as a result of using Rust.\n\n## Performance\n\nOn `fib(30)`, about 4x slower than `clox`. Most of the overhead comes from explicit (safe) memory management using an arena, as opposed to the manual memory management of `clox`. See [`NOTES.md`](NOTES.md) for lots of measurments and a breakdown of various optimizations applied.\n\n## Correctness\n\n* Running with `--std`, `clox-rs` passes the complete test-suite of `clox`\n* There's also a small custom test-suite to verify non-`--std` behavior (challenge solutions and some more informative output)\n* `make test` executes both, with and without GC stress-testing (forced GC after each instruction)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabesto%2Fclox-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabesto%2Fclox-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabesto%2Fclox-rs/lists"}