home.social

#gpui — Public Fediverse posts

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

  1. 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.

  2. #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.

  3. 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

  4. 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

  5. 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.

  6. 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 ❤️ !

  7. 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/

  8. 🚨 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

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

    #EuroRust #eurorust25 #GPUI