• 5 Posts
  • 39 Comments
Joined 2 years ago
cake
Cake day: March 15th, 2023

help-circle



  • I think it kills the community. Making a Wayland window manager is so much harder to do than an X one. This monolithic solution solves the problems of Gnome, and KDE developers but less people want to be involved in windowing systems. I’m just being sad for X11, because, although it had nonsense features, it made linux desktop applications compatible with every desktop and we had huge variety of wms, compositors, desktop environments. Personally I’m still on X because of bspwm, but eventually there will be wayland-only features which will slowly kill X.






  • fxdave@lemmy.mltoLinux@lemmy.mlZed on Linux is out!
    link
    fedilink
    arrow-up
    3
    arrow-down
    5
    ·
    edit-2
    4 months ago

    I use rust only if we need performance, for small services. The industry does the same. People use node for backend but e.g. redis is in rust. It’s a good tool if you use it for the right stuff.

    EDIT: redis is not in rust, but e.g. aws writes many services in rust




  • Thanks for the question. GraphQL works with multiple languages, Cuple works only with Typescript. Despite this drawback this also gives you some advantages:

    • The Request and Response types are auto-inferred from the endpoint you write
    • Because the types are in Typescript you don’t need to generate a client, you just simply use it with @cuple/client and get instant feedback.
    • You don’t have to learn another language. It’s just typescript.

    Practically it means less boilerplate and it let’s you focus on the feature you write. Cuple is also not a query language, you get what the server sends you, it’s more likely a type-safe FFI binding. With Cuple you can build a REST API, or anything similar to that with HTTP method, header, path, query, body, and you can use it type-safely.