{"id":15893868,"url":"https://github.com/chinanf-boy/guessing_game","last_synced_at":"2025-04-02T18:16:22.635Z","repository":{"id":90548382,"uuid":"136456514","full_name":"chinanf-boy/guessing_game","owner":"chinanf-boy","description":"tour-example: a lit guessing_game demo with Rust { Learn }","archived":false,"fork":false,"pushed_at":"2018-06-07T09:47:57.000Z","size":293,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T08:47:14.284Z","etag":null,"topics":["demo","game","try"],"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/chinanf-boy.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":"2018-06-07T09:47:29.000Z","updated_at":"2019-05-17T02:30:38.000Z","dependencies_parsed_at":"2023-07-18T11:00:27.027Z","dependency_job_id":null,"html_url":"https://github.com/chinanf-boy/guessing_game","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/chinanf-boy%2Fguessing_game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Fguessing_game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Fguessing_game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Fguessing_game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinanf-boy","download_url":"https://codeload.github.com/chinanf-boy/guessing_game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246866100,"owners_count":20846496,"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":["demo","game","try"],"created_at":"2024-10-06T08:13:57.459Z","updated_at":"2025-04-02T18:16:22.617Z","avatar_url":"https://github.com/chinanf-boy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 我的第一个 rust 尝试 demo\n\n也就是 猜1-100以内的小游戏\n\nhttps://kaisery.gitbooks.io/rust-book-chinese/content/content/Guessing%20Game%20%E7%8C%9C%E7%8C%9C%E7%9C%8B.html\n\n这份小demo, 很棒噢 👌\n\n---\n\n\u003e game demo, I play so bad😢\n\n\u003cimg src=\"./imgs/game_demo.gif\" width=\"49%\"\u003e\n\n---\n\n## Rust\n\n本身的学习路途, 前期是较为崎岖的, 还是一步一步, 慢慢来\n\n### Start\n\n使用`Rust 本身的集成`-`rustup`是个很好的开始\n\nhttps://rustup.rs/\n\n## 为什么开始尝试 Rust \n\n因为我被 震惊了 , 在尝试\n\nhttps://github.com/nathan/pax\n\nThe fastest JavaScript bundler in the galaxy.\n\n银河系内最快的`js`打包, 是不是吹得一手🐂B\n\n虽然, 功能很精简, 但是, 速度是无与伦比的, 怪不得 `Firefox` css处理, 重构是用 `Rust`\n\n\n### 对比 Rust 和 Go\n\n我引用一下, 看到的 [英文博客](https://matthias-endler.de/2017/go-vs-rust/)「我翻译一下」\n\n#### 我喜欢Go的一些东西\n\n- 快速编译时间\n- 务实的解决问题的方法\n- 典型的DevOps任务的良好生态系统\n- 电池包括标准库\n- IDE支持\n- 简单的错误处理\n- 吉祥物😉\n\n#### 我更喜欢Rust的一些东西\n\n- 安全性：没有空指针，没有数据竞争，...\n- 细粒度的系统控制\n- 令人难以置信的运行速度（与C / C ++相当）\n- 零成本抽象\n- 真棒，开放的社区\n- 货物简单的包裹管理\n- 以特征形式支持泛型\n- C互操作和FFI\n\n### 结论\n\n99％的时间，Go是“足够好”，1％是不够的，你会知道的。然后看看Rust，因为这两种语言相得益彰。\n\n毕竟，[Rust和Go并不是真正的竞争对手。](https://dave.cheney.net/2015/07/02/why-go-and-rust-are-not-competitors)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Fguessing_game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinanf-boy%2Fguessing_game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Fguessing_game/lists"}