{"id":17131289,"url":"https://github.com/dfithian/rust-estimate-pi","last_synced_at":"2025-03-24T05:16:18.818Z","repository":{"id":85573609,"uuid":"207615370","full_name":"dfithian/rust-estimate-pi","owner":"dfithian","description":"Rust tutorial to estimate Pi","archived":false,"fork":false,"pushed_at":"2019-09-18T16:08:51.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T11:11:23.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/dfithian.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":"2019-09-10T16:57:44.000Z","updated_at":"2021-08-16T16:05:49.000Z","dependencies_parsed_at":"2023-05-25T20:30:22.693Z","dependency_job_id":null,"html_url":"https://github.com/dfithian/rust-estimate-pi","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/dfithian%2Frust-estimate-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfithian%2Frust-estimate-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfithian%2Frust-estimate-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfithian%2Frust-estimate-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfithian","download_url":"https://codeload.github.com/dfithian/rust-estimate-pi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212303,"owners_count":20578443,"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":[],"created_at":"2024-10-14T19:23:07.313Z","updated_at":"2025-03-24T05:16:18.793Z","avatar_url":"https://github.com/dfithian.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Estimating Pi with Rust\n\nThis project is an experiment helping me to learn Rust by estimating Pi.\n\n# Modules\n\n* `sample.rs` contains utilities for sampling random numbers within the unit circle.\n* `simple.rs` contains a single-threaded estimation mechanic that sums up the average of the\n  coordinates from the sample that are in versus not-in the unit circle.\n* `parallel.rs` contains a parallelized estimation mechanic of the function in `simple.rs`.\n* `time.rs` contains utilities for timing and printing the different estimation mechanics.\n* `arguments.rs` contains utilities for parsing command-line arguments.\n\n# Other features\n\n* `lib.rs` re-exports modules.\n* `simple/main.rs`, `parallel/main.rs` are entrypoints for the different functions with static\n  inputs.\n* `arguments/main.rs` parses command-line arguments but otherwise does the same thing as\n  `parallel/main.rs`.\n* `trait/main.rs` parses command-line arguments and mixes in a trait for timing but otherwise does\n  the same thing as `parallel/main.rs`.\n* `Cargo.toml` shows how to use libraries with binaries and to define multiple binaries in a single\n  project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfithian%2Frust-estimate-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfithian%2Frust-estimate-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfithian%2Frust-estimate-pi/lists"}