{"id":18308507,"url":"https://github.com/heroesofcode/swift-explorer","last_synced_at":"2025-06-30T02:06:25.404Z","repository":{"id":245579280,"uuid":"818545503","full_name":"heroesofcode/swift-explorer","owner":"heroesofcode","description":"Desktop tool to quickly explore and analyze Swift Intermediate Representation (IR) generated by the LLVM compiler, and also generate assembly code.","archived":false,"fork":false,"pushed_at":"2025-05-15T23:12:24.000Z","size":12423,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-16T00:23:06.864Z","etag":null,"topics":["explorer","macos","performance","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/heroesofcode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-06-22T06:10:38.000Z","updated_at":"2025-05-15T23:12:02.000Z","dependencies_parsed_at":"2024-06-22T22:12:31.594Z","dependency_job_id":"abebcefa-d679-4191-8c19-8c4290d08dd0","html_url":"https://github.com/heroesofcode/swift-explorer","commit_stats":null,"previous_names":["heroesofcode/swift-explorer"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/heroesofcode/swift-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroesofcode%2Fswift-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroesofcode%2Fswift-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroesofcode%2Fswift-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroesofcode%2Fswift-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heroesofcode","download_url":"https://codeload.github.com/heroesofcode/swift-explorer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heroesofcode%2Fswift-explorer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697269,"owners_count":23349893,"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":["explorer","macos","performance","swiftui"],"created_at":"2024-11-05T16:08:15.384Z","updated_at":"2025-06-30T02:06:25.396Z","avatar_url":"https://github.com/heroesofcode.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift Explorer\n\n\u003cimg src=\"https://github.com/heroesofcode/swift-explorer/blob/main/SwiftExplorer/Assets.xcassets/AppIcon.appiconset/1024-mac.png?raw=true\" align=\"right\" width=\"100\" height=\"100\" /\u003e\n\nDesktop tool to quickly explore and analyze Swift Intermediate Representation (IR) generated by the LLVM compiler, and also generate assembly code.\n\n## Features\n\n\u003cimg src=\"https://github.com/heroesofcode/swift-explorer/blob/main/Assets/screen.png?raw=true\"\u003e\n\n- \u003cb\u003eDeep Code Understanding:\u003c/b\u003e Developers can see how Swift code is transformed into both LLVM IR and assembly code, helping them better understand optimization and low-level behavior.\n- \u003cb\u003eAdvanced Debugging:\u003c/b\u003e Viewing LLVM IR and assembly can help identify performance issues or hard-to-trace bugs in source code.\n- \u003cb\u003eEducation and Learning:\u003c/b\u003e A valuable educational tool for learning about compilers and how different language constructs translate into intermediate representation and assembly.\n- \u003cb\u003eOptimization:\u003c/b\u003e Helps identify and optimize code snippets that are not compiling efficiently by providing insights from both LLVM IR and assembly.\n- \u003cb\u003eComparative Analysis:\u003c/b\u003e Allows you to compare how different approaches or code versions generate different IR and assembly code, facilitating the choice of best coding practices.\n\n### Optimization flags\n\n- `Onone:` Compile without any optimization.\n- `Osize:` Compile with optimizations and target small code size.\n- `Ounchecked:` Compile with optimizations and remove runtime safety checks.\n- `O:` Compile with optimizations.\n\n## Installing\n\nDownload the dmg - [click here](https://github.com/heroesofcode/swift-explorer/releases/download/2.0.0/SwiftExplorer.dmg)\n\n\n## Inspiration\n\nThis project was inspired by [kotlin-explorer](https://github.com/romainguy/kotlin-explorer) developed by [Romain Guy](https://github.com/romainguy).\n\nIf you have any questions about the kotlin-explorer tool, I recommend you watch the talk **Practical Optimizations - Romain Guy**\n\n\u003ca href=\"https://www.youtube.com/watch?v=5cxw_fdpnoA\u0026list=PLn7H9CUCuXAtxPltq2mEHc_Wbgckrd4B-\"\u003e\u003cimg src=\"Assets/youtube.jpg\" width=\"640\"/\u003e\u003c/a\u003e\n\n\n## License\n\nswift-explorer is released under the MIT license. See [LICENSE](https://github.com/heroesofcode/swift-explorer/blob/main/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroesofcode%2Fswift-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheroesofcode%2Fswift-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheroesofcode%2Fswift-explorer/lists"}