Zed 将 GPUI 拆分为独立开源仓库

原标题:GPUI is getting its own repository
58AI 研判分

Zed Industries 将驱动其编辑器的 GPU 加速 Rust UI 框架 GPUI 拆分为独立仓库 zed-industries/gpui,融合即时模式与保留模式两种范式。此举让该框架脱离单一应用场景,面向更广泛的 Rust 桌面 UI 生态独立演进。

报道正文

{"props":{"contextRegion":{"crumbs":[{"crumb_type":"organization","label":"zed-industries","is_root","href":"/zed-industries"},{"crumb_type":"repository","label":"gpui","is_root","href":"/zed-industries/gpui"}],"localNavigation":[{"id":"code","icon":"code","label":"Code","href":"/zed-industries/gpui","selectedLinks":["repo_source","repo_downloads","repo_commits","repo_releases","repo_tags","repo_branches","repo_packages","repo_deployments","repo_attestations"],"popoverTarget","commandId":"repositories","reactNav":{"appTarget":"code-view","anchor":"code-view-repo-link"},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"issues","icon":"issue-opened","label":"Issues","href":"/zed-industries/gpui/issues","selectedLinks":["repo_issues","repo_labels","repo_milestones"],"count","popoverTarget","commandId":"repositories","reactNav":{"appTarget":"repo","anchor"},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"pull-requests","icon":"git-pull-request","label":"Pull requests","href":"/zed-industries/gpui/pulls","selectedLinks":["repo_pulls","checks"],"count","popoverTarget","commandId":"repositories","reactNav":{"appTarget","anchor"},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"actions","icon":"play","label":"Actions","href":"/zed-industries/gpui/actions","selectedLinks":["repo_actions"],"popoverTarget","commandId":"repositories","reactNav":{"appTarget":"repo","anchor"},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"projects","icon":"table","label":"Projects","href":"/zed-industries/gpui/projects","selectedLinks":["repo_projects","new_repo_project","repo_project"],"popoverTarget","commandId":"repositories","reactNav":{"appTarget":"repo","anchor"},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"security-and-quality","icon":"shield","label":"Security and quality","href":"/zed-industries/gpui/security","selectedLinks":["security","overview","alerts","policy","token_scanning","code_scanning"],"count","popoverTarget","commandId":"repositories","reactNav":{"appTarget","anchor"},"turboNav":{"frame":"repo-content-turbo-frame"}},{"id":"insights","icon":"graph","label":"Insights","href":"/zed-industries/gpui/insights","selectedLinks":["repo_graphs","repo_contributors","dependency_graph","dependabot_updates","pulse","people","community"],"popoverTarget","commandId":"repositories","reactNav":{"appTarget","anchor"},"turboNav":{"frame":"repo-content-turbo-frame"}}],"localNavigationUpdateChannel","selectedLink","currentPath":"/zed-industries/gpui"},"owner","headerLogo":{"href":"/","aria-label":"Homepage "},"notifications":{"indicatorMode":"disabled","websocketChannel","fetchIndicatorSrc":"/notifications/indicator","fetchIndicatorEnabled"},"issues":{"href":"/issues"},"pulls":{"href":"/pulls"},"contributedRepos":{"href":"/repos"},"copilot":{"show","showAgentsButton","showRelaunchAnnouncement","licenseGrantNudge","copilotChatUrl","copilotApiUrl":"https://api.githubcopilot.com"},"search":{"show":true,"showCommandPalette":false,"isSearchPage":false,"isJumpToSearch":false,"searchContext":{"scope":"repo:zed-industries/gpui","current_repo_name":"gpui","current_repo_nwo":"zed-industries/gpui","current_repo_org":"zed-industries","user_id":"zed-industries"}},"commandPalette":null,"enterpriseBar":{"show":false},"globalTransactionalMessage":[],"ipmNudgeDelivery":null,"payloadsUrl":"/_global-navigation/payloads.json?can_toggle_site_admin_and_employee_status=0\u0026is_admin_mode_on=0\u0026is_ui_opted_out=0\u0026show_ui_opt_out=0\u0026v=9","contextRegionUrl":null}}

  1. zed-industries
  2. gpui

Repository navigation

More items {"payload":{"codeViewRepoRoute":{"path":"/","refInfo":{"name":"main","listCacheKey":"v0.0","canEdit","refType":"branch","currentOid":"8d31300b294f6acc0c5809888bd2ff29e0bb7648"},"tree":{"items":[{"name":"README.md","path":"README.md","contentType":"file"}],"totalCount","templateDirectorySuggestionUrl","readme","showBranchInfobar"},"userNameDisplayConfiguration":"handle","treeExpanded","symbolsExpanded","copilotSWEAgentEnabled","copilotAccessAllowed","isOverview","overview":{"banners":{"shouldRecommendReadme","isPersonalRepo","showUseActionBanner","actionSlug","actionId","showProtectBranchBanner","requiredCustomPropertyValuesMissingCount","transactionalMessageBanner","publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_repo","releasePath":"/zed-industries/gpui/releases/new?marketplace=true","showPublishActionBanner"},"interactionLimitBanner","showInvitationBanner","inviterName","actionsMigrationBannerInfo":{"releaseTags":[],"showImmutableActionsMigrationBanner","initialMigrationStatus"},"copilotSurveyBanner","showSpammyBanner","blockedContributorsBanner","codespacesSurveyBanner"},"codeButton":{"contactPath":"/contact","isEnterprise","local":{"protocolInfo":{"httpAvailable","sshAvailable","httpUrl":"https://github.com/zed-industries/gpui.git","showCloneWarning":null,"sshUrl":null,"sshCertificatesRequired":null,"sshCertificatesAvailable":null,"ghCliUrl":"gh repo clone zed-industries/gpui","defaultProtocol":"http","newSshKeyUrl":"/settings/ssh/new","setProtocolPath":"/users/set_protocol?protocol_type=clone"},"platformInfo":{"cloneUrl":"https://desktop.github.com","showVisualStudioCloneButton":false,"visualStudioCloneUrl":"https://windows.github.com","showXcodeCloneButton":false,"xcodeCloneUrl":"xcode://clone?repo=https%3A%2F%2Fgithub.com%2Fzed-industries%2Fgpui","zipballUrl":"/zed-industries/gpui/archive/refs/heads/main.zip"}},"newCodespacePath":"/codespaces/new?hide_repo_select=true\u0026repo=505576546"},"popovers":{"rename":null,"renamedParentRepo":null},"commitCount":"1","overviewFiles":[{"displayName":"README.md","repoName":"gpui","refName":"main","path":"README.md","preferredFileType":"readme","tabName":"README","richText":"\u003carticle class="markdown-body entry-content container-lg" itemprop="text"\u003e\u003cdiv class="markdown-heading" dir="auto"\u003e\u003ch1 tabindex="-1" class="heading-element" dir="auto"\u003egpui\u003c/h1\u003e\u003ca id="user-content-gpui" class="anchor" aria-label="Permalink: gpui" href="#gpui"\u003e\u003csvg data-component="Octicon" class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"\u003e\u003cpath d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir="auto"\u003eSee you in a few weeks.\u003c/p\u003e\n\u003cul dir="auto"\u003e\n\u003cli\u003e\u003ca href="https://gpui.rs/\" rel="nofollow"\u003eWebsite\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href="https://crates.io/crates/gpui\" rel="nofollow"\u003ecrates.io\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/article\u003e","loaded","timedOut","errorMessage","headerInfo":{"toc":[{"level","text":"gpui","anchor":"gpui","htmlText":"gpui"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fzed-industries%2Fgpui"}}],"overviewFilesProcessingTime","copilotSWEAgentEnabled","sidebarAboutData":{"description":"A GPU-accelerated, open-source UI framework for Rust that combines immediate and retained modes.","formattedDescription":"A GPU-accelerated, open-source UI framework for Rust that combines immediate and retained modes.","website":"https://gpui.rs/","topics":[{"name":"cross-platform"},{"name":"desktop"},{"name":"frameowrk"},{"name":"gpu"},{"name":"gpu-acceleration"},{"name":"gpui"},{"name":"gui"},{"name":"rust"},{"name":"web"}],"showInsights":true,"canOpenStargazersAndWatchers":false,"stargazerCount":189,"watcherCount":3,"forksCount":3,"stargazersPath":"/zed-industries/gpui/stargazers","watchersPath":"/zed-industries/gpui/watchers","forkNetworkPath":"/zed-industries/gpui/forks","activityPath":"/zed-industries/gpui/activity","customPropertiesPath":"/zed-industries/gpui/custom-properties","reportPath":"/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fzed-industries%2Fgpui\u0026report=zed-industries+%28user%29","canEditMetadata":false,"ownerLogin":"zed-industries","repoName":"gpui","isOrg":true,"sections":{"releases":{"releaseCount":0,"tagCount":0},"sponsors":false,"deployments":false,"packages":true,"usedBy":false,"contributors":true,"languages":false,"cta":false,"suggestedWorkflows":false},"hasCitation":false,"repo":{"ownerAvatarUrl":"https://avatars.githubusercontent.com/u/79345384?s=60\u0026v=4","ownerId":79345384,"isPrivate":false,"isTemplate":false,"isFork":false,"isMirror":false,"isArchived":false,"visibilityLabel":"Public","isAdvisoryWorkspace":false},"star":{"viewerHasStarred":false,"canStar":false},"fork":{"canFork":false,"forkabilityError":"not_logged_in"},"pin":{"canPin":false,"isPinned":false,"isOrgOwned":true,"pinItemsRemaining":4},"watch":{"canWatch":false,"watchData":{"repositoryId":"505576546","repositoryName":"zed-industries/gpui","watchersCount":3,"subscriptionType":"none","subscribableThreadTypes":[{"name":"Issue","enabled":true,"subscribed":false},{"name":"PullRequest","enabled":true,"subscribed":false},{"name":"Release","enabled":true,"subscribed":false},{"name":"Discussion","enabled":false,"subscribed":false},{"name":"SecurityAlert","enabled":true,"subscribed":false}],"showLabelSubscriptions":false,"subscribedLabels":[]}},"viewer":{"isLoggedIn":false,"isSiteAdmin":false,"emuContributionBlocked":false},"showSponsorButton":false,"showTemplateButton":false,"showDemoNotification":false}}},"codeViewLayoutRoute":{"repo":{"id":505576546,"defaultBranch":"main","name":"gpui","ownerLogin":"zed-industries","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-06-20T19:43:39.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/79345384?v=4","public":true,"private":false,"isOrgOwned":true,"isArchived":false},"currentUser":null,"uploadToken":"_qmsBdLdLMyl0zccG6HtOY2lly-LR64GrIbDbMexXBhfGcoAEAYdYvvFVFmMcf2QlehcAHR1z1EXOW-4zQmA3w","allShortcutsEnabled":false,"treeExpanded":true,"path":"/","symbolsExpanded":false,"refInfo":{"name":"main","listCacheKey":"v0:1795461313.0","canEdit":false,"currentOid":"8d31300b294f6acc0c5809888bd2ff29e0bb7648"},"helpUrl":"https://docs.github.com","githubDevUrl":null},"sidebarAbout":{"description":"A GPU-accelerated, open-source UI framework for Rust that combines immediate and retained modes.","formattedDescription":"A GPU-accelerated, open-source UI framework for Rust that combines immediate and retained modes.","website":"https://gpui.rs/","topics":[{"name":"cross-platform"},{"name":"desktop"},{"name":"frameowrk"},{"name":"gpu"},{"name":"gpu-acceleration"},{"name":"gpui"},{"name":"gui"},{"name":"rust"},{"name":"web"}],"showInsights":true,"canOpenStargazersAndWatchers":false,"stargazerCount":189,"watcherCount":3,"forksCount":3,"stargazersPath":"/zed-industries/gpui/stargazers","watchersPath":"/zed-industries/gpui/watchers","forkNetworkPath":"/zed-industries/gpui/forks","activityPath":"/zed-industries/gpui/activity","customPropertiesPath":"/zed-industries/gpui/custom-properties","reportPath":"/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fzed-industries%2Fgpui\u0026report=zed-industries+%28user%29","canEditMetadata":false,"ownerLogin":"zed-industries","repoName":"gpui","isOrg":true,"sections":{"releases":{"releaseCount":0,"tagCount":0},"sponsors":false,"deployments":false,"packages":true,"usedBy":false,"contributors":true,"languages":false,"cta":false,"suggestedWorkflows":false},"hasCitation":false,"repo":{"ownerAvatarUrl":"https://avatars.githubusercontent.com/u/79345384?s=60\u0026v=4","ownerId":79345384,"isPrivate":false,"isTemplate":false,"isFork":false,"isMirror":false,"isArchived":false,"visibilityLabel":"Public","isAdvisoryWorkspace":false},"star":{"viewerHasStarred":false,"canStar":false},"fork":{"canFork":false,"forkabilityError":"not_logged_in"},"pin":{"canPin":false,"isPinned":false,"isOrgOwned":true,"pinItemsRemaining":4},"watch":{"canWatch":false,"watchData":{"repositoryId":"505576546","repositoryName":"zed-industries/gpui","watchersCount":3,"subscriptionType":"none","subscribableThreadTypes":[{"name":"Issue","enabled":true,"subscribed":false},{"name":"PullRequest","enabled":true,"subscribed":false},{"name":"Release","enabled":true,"subscribed":false},{"name":"Discussion","enabled":false,"subscribed":false},{"name":"SecurityAlert","enabled":true,"subscribed":false}],"showLabelSubscriptions":false,"subscribedLabels":[]}},"viewer":{"isLoggedIn":false,"isSiteAdmin":false,"emuContributionBlocked":false},"showSponsorButton":false,"showTemplateButton":false,"showDemoNotification":false},"csrf_tokens":{"/zed-industries/gpui/branches":{"post":"WujRuCzK01fxngJdhs8SAFnMRz18eMNKG5ivbZATZOQVNramsNfDe-PhkQ4ijWTcy2ljC9oWl4pVTHDQGtxDmQ"}}},"title":"GitHub - zed-industries/gpui: A GPU-accelerated, open-source UI framework for Rust that combines immediate and retained modes.","appPayload":{},"meta":{"title":"GitHub - zed-industries/gpui: A GPU-accelerated, open-source UI framework for Rust that combines immediate and retained modes."}}