{"id":17528672,"url":"https://github.com/hdescobarh/conways-rust-wasm","last_synced_at":"2025-03-06T08:32:05.591Z","repository":{"id":155815468,"uuid":"592551134","full_name":"hdescobarh/conways-rust-wasm","owner":"hdescobarh","description":"A Conway's Game of Life implementation in Rust WebAssembly ","archived":true,"fork":false,"pushed_at":"2023-01-24T01:19:11.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T11:22:06.688Z","etag":null,"topics":["cellular-automaton","rust","rust-wasm","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/hdescobarh.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":"2023-01-24T00:53:05.000Z","updated_at":"2024-10-16T22:13:58.000Z","dependencies_parsed_at":"2023-04-26T05:01:40.265Z","dependency_job_id":null,"html_url":"https://github.com/hdescobarh/conways-rust-wasm","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/hdescobarh%2Fconways-rust-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdescobarh%2Fconways-rust-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdescobarh%2Fconways-rust-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdescobarh%2Fconways-rust-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hdescobarh","download_url":"https://codeload.github.com/hdescobarh/conways-rust-wasm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242176511,"owners_count":20084587,"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":["cellular-automaton","rust","rust-wasm","webassembly"],"created_at":"2024-10-20T15:44:34.000Z","updated_at":"2025-03-06T08:32:05.572Z","avatar_url":"https://github.com/hdescobarh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# conways-wasm \u0026#129408; \u0026#128376;\n\n![Rust](https://img.shields.io/badge/-Rust-B7410E?logo=rust\u0026logoColor=28282B\u0026labelColor=white)\n![WebAssembly](https://img.shields.io/badge/-WebAssembly-393939?logo=webassembly\u0026logoColor=654FF0\u0026labelColor=white)\n![License](https://img.shields.io/badge/license-MIT-blue)\n\n## Description\n\nA simple Conway's Game of Life [0] exercises intended to introduce myself to Rust WebAssembly. The simulation space is **toroidal** and implements a basic memoization strategy.\n\nThe excersice and initial project's setting was inspired by [1-3].\n\n## Regarding Panic and file size\n\nSetting \"panic=abort\" [4] does not remplace \"process:abort\" [5]. In consecuence, a panic that aborts still calls some functions (e.g., panic_fmt, set_hook) [6,7]; then, it will put code bload on the wasm.\n\n## References\n\n0. [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)\n1. [wasm-bindgen-test's Guide](https://rustwasm.github.io/wasm-bindgen/wasm-bindgen-test/usage.html)\n2. [wasm-pack-template] https://github.com/rustwasm/wasm-pack-template\n3. [wasm_game_of_life](https://github.com/rustwasm/wasm_game_of_life)\n4. [Build configuration: Abort on panic! (The Rust Performance Book)](https://nnethercote.github.io/perf-book/build-configuration.html#abort-on-panic)\n5. [Shrinking .wasm Code Size: Avoid Panicking (Rust and WebAssembly)](https://rustwasm.github.io/docs/book/reference/code-size.html#avoid-panicking)\n6. [Avoiding allocations in Rust to shrink Wasm modules](https://www.reddit.com/r/rust/comments/xxvwyy/avoiding_allocations_in_rust_to_shrink_wasm/)\n7. [Function std::process::abort](https://doc.rust-lang.org/std/process/fn.abort.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdescobarh%2Fconways-rust-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhdescobarh%2Fconways-rust-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdescobarh%2Fconways-rust-wasm/lists"}