Second look at the Rust GPUI framework from Zed! Featuring web-sockets

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • In this stream we look at how we can get messages from a web-socket connection running in a background process, to update a view in GPUI.
    GPUI - gpui.rs
    Zed - zed.dev
    Github link with the project files - github.com/duanebester/gpui-w...
    00:00 Intro
    01:15 New cargo workspace
    02:57 Hello world up and running
    05:15 Multiple apps
    13:26 build_view and build_model
    14:30 Background task
    19:43 Background counter working
    20:52 Web-socket server
    23:30 Tungstenite web-socket client
    27:39 Testing web-socket chat
    28:40 Window options
    30:36 Outro
  • Zábava

Komentáře • 6

  • @tammip5497
    @tammip5497 Před 3 měsíci +1

    Great! 💎 Looking forward for the next episode! One thing would be also great to have as an example: scrollable view.

  • @benjadouglas2161
    @benjadouglas2161 Před dnem

    Nice video! May i ask how did you learn to use the gpui Framework? I'm struggling to do a simple app and there is not much documentation to learn

    • @duanebester
      @duanebester  Před dnem +1

      Best thing to do is to join the Zed Industries Discord Server. They have a GPUI channel. Would also recommend checking out Matthias’ Loungy project on GitHub

  • @josephlyons3393
    @josephlyons3393 Před 4 měsíci

    1:36, you can run `cli: install` from the command palette, and then in the future, open directories from the terminal via `zed .`