home.social

#gpui — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #gpui, aggregated by home.social.

fetched live
  1. Создание приложения на Rust с помощью GPUI

    GPUI является быстрым и производительным UI фреймворком на Rust c GPU ускорением от команды разработчиков, создавших редактор кода Zed, который как раз его использует для UI части. Данный фреймворк вышел относительно недавно, поэтому его API немного нестабильный, во многих источниках, на которые Вы могли наткнуться на просторах Интернета, включая примеры в официальном репозитории, написаны на более старой версии, из-за чего изучать данный фреймворк становится ещё сложнее. Он поддерживает такие платформы как macOS, Windows, Linux и FreeBSD. В данной работе применяется версия 0.2.2 .

    habr.com/ru/articles/1049714/

    #gpui #gpuicomponent #JoJo #Rust #desktop

  2. I thought about writing the low-level parts in #Rust and then binding a high-level #Swift API on top.

    But #GPUI for example all closures and borrowed state. Doesn't cross language boundaries well.

    So if I actually want Swift, there’s no real GPUI alternative. Which means rebuilding a similar API on top of Skia.

    And that means… way more code. Code I now have to maintain. I'm in limbo.

  3. I thought about writing the low-level parts in #Rust and then binding a high-level #Swift API on top.

    But #GPUI for example all closures and borrowed state. Doesn't cross language boundaries well.

    So if I actually want Swift, there’s no real GPUI alternative. Which means rebuilding a similar API on top of Skia.

    And that means… way more code. Code I now have to maintain. I'm in limbo.

  4. #GPUI's latest GIT branch has ability to run windowless apps and layer shell in #Wayland.

    I tried, it's now feasible to make tray apps with GPUI, and for instance show an overlay based on external events.

    Memory usage is like this:
    USS ~30MB
    GPU memory, when layer shell is closed ~20-40MB
    GPU memory when layer shell is visible ~120MB

    It's not great that you can't get GPU memory to zero, but it's best that these toolkits can now do.

    Tray icon still needs external package, but that is fine.

  5. #GPUI's latest GIT branch has ability to run windowless apps and layer shell in #Wayland.

    I tried, it's now feasible to make tray apps with GPUI, and for instance show an overlay based on external events.

    Memory usage is like this:
    USS ~30MB
    GPU memory, when layer shell is closed ~20-40MB
    GPU memory when layer shell is visible ~120MB

    It's not great that you can't get GPU memory to zero, but it's best that these toolkits can now do.

    Tray icon still needs external package, but that is fine.

  6. GUI with 2 textboxes, 5 labels. Leaderboard is now, least memory usage first:

    - 47 MB Slint with software-renderer-systemfonts
    - 50 MB QT
    - 100 MB GPUI
    - 105 MB EGUI
    - 135 MB Slint with defaults

    #Rust #Slint #Qt #EGUI #GPUI

  7. GUI with 2 textboxes, 5 labels. Leaderboard is now, least memory usage first:

    - 47 MB Slint with software-renderer-systemfonts
    - 50 MB QT
    - 100 MB GPUI
    - 105 MB EGUI
    - 135 MB Slint with defaults

    #Rust #Slint #Qt #EGUI #GPUI

  8. Longbridge's GPUI-components which uses Zed's GPUI to render, can't render other than left aligned text, no center or right alignment.

    It boggles my mind they built whole Zed and never even once needed to align text?

    github.com/zed-industries/zed/

    github.com/longbridge/gpui-com

    #Zed #GPUI #Rust

  9. Longbridge's GPUI-components which uses Zed's GPUI to render, can't render other than left aligned text, no center or right alignment.

    It boggles my mind they built whole Zed and never even once needed to align text?

    github.com/zed-industries/zed/

    github.com/longbridge/gpui-com

    #Zed #GPUI #Rust

  10. Really painful, I want #Rust GUI toolkit for Wayland that minimizes memory usage. My UI is two textboxes and five labels, I don't want to use browsers.

    #EGUI = 105MB of memory
    #GPUI with GPUI-components = 100MB of memory

    However running Smithay example Wayland window takes only 2MB of memory! But it is not toolkit, it doesn't have textboxes etc.

    If toolkit uses already over 100MB of memory, it feels like I could just use webview, sigh.

  11. Really painful, I want #Rust GUI toolkit for Wayland that minimizes memory usage. My UI is two textboxes and five labels, I don't want to use browsers.

    #EGUI = 105MB of memory
    #GPUI with GPUI-components = 100MB of memory

    However running Smithay example Wayland window takes only 2MB of memory! But it is not toolkit, it doesn't have textboxes etc.

    If toolkit uses already over 100MB of memory, it feels like I could just use webview, sigh.

  12. Unfortunately, we were not able to raise the necessary funds and thus will have to shut down Acter and its matrix sever (for now): acter.global/news/we-are-shutt

    *Fortunately* for you that means I am available for some freelance #rust engineering work again, part-time for now as things still require my attention at times. #fedihire

    I can help from building SDKs to entire Apps in Rust (currently playing with #gpui ), architect, debug, profile, educate, teach and lead. Most of my 18+ years I've spent with #decentralization #privacy #encryption and #offlineFirst . If any of that is of interest to your, hit me up. Either here or via any of the contacts on my website (which also has a CV and project overview): GNUnicorn.org

    Retoots appreciated ❤️ !

  13. Unfortunately, we were not able to raise the necessary funds and thus will have to shut down Acter and its matrix sever (for now): acter.global/news/we-are-shutt

    *Fortunately* for you that means I am available for some freelance #rust engineering work again, part-time for now as things still require my attention at times. #fedihire

    I can help from building SDKs to entire Apps in Rust (currently playing with #gpui ), architect, debug, profile, educate, teach and lead. Most of my 18+ years I've spent with #decentralization #privacy #encryption and #offlineFirst . If any of that is of interest to your, hit me up. Either here or via any of the contacts on my website (which also has a CV and project overview): GNUnicorn.org

    Retoots appreciated ❤️ !

  14. GPUI Component je open-source Rust knihovna rozšiřující framework GPUI o více než 60 moderních, nativních a multiplatformních UI komponent. Staví na deklarativním přístupu, stateless renderování a jednoduchém API inspirovaném Reactem či Yew. Díky optimalizovanému výkonu, podpoře témat a flexibilním layoutům umožňuje rychlý vývoj desktopových aplikací, jako je například trading nástroj Longbridge Pro. Knihovna je licencována pod Apache 2.0 a dostupná na GitHubu.

    https://zdrojak.cz/clanky/gpui-component-moderni-rust-gui-komponenty-pro-cross-platform-desktop-aplikace/

  15. 🚨 Oh, look! Another #Rust project promising to revolutionize the universe with cross-platform #GPUI magic! 🌌✨ Spoiler: It’s just more #GitHub #fluff that’ll end up as forgotten as your new year’s resolutions. 🗑️
    github.com/longbridge/gpui-com #Revolution #CrossPlatform #NewYearsResolutions #HackerNews #ngated

  16. 🚨 Oh, look! Another #Rust project promising to revolutionize the universe with cross-platform #GPUI magic! 🌌✨ Spoiler: It’s just more #GitHub #fluff that’ll end up as forgotten as your new year’s resolutions. 🗑️
    github.com/longbridge/gpui-com #Revolution #CrossPlatform #NewYearsResolutions #HackerNews #ngated

  17. The closing keynote ​by Conrad Irwin "Rendering at 1 million pixels / millisecond with GPUI" is on!

    #EuroRust #eurorust25 #GPUI

  18. The closing keynote ​by Conrad Irwin "Rendering at 1 million pixels / millisecond with GPUI" is on!

    #EuroRust #eurorust25 #GPUI