Improving web performance

tags:  performance

Tools

Ideas to improve webperformance:

  • RustRust
    Basic Concepts

    Creating an Array

    let arr: Vec<String> = vec!["example".to_string()];


    Array of objects


    pub struct Book {
    pub id: u16,
    pub title: String,
    }

    ...

    let arr: Vec<Sto...
    and WebAssemblyWebAssembly
    Use Rust as base language.

    TBD

    References


    WebAssembly adoption is slow and steady winning the race

  • Help myself with LeptosLeptos
    Install Cargo Leptos

    for Windows Subsystem Linux and Cargo Leptos v0.2 (repository]:


    Install Rust: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    Install dependencies:

    ...
    => does it really improve performance?
  • WebComponentsWebComponents
    TBD

    References


    All your mainstream UI frameworks are lying to you

Project idea

TODO Draw a diagram of this.

  • UI - WebComponents (Design System)
  • FE (routes, logic…) - Leptos (Rust) => test performance
  • BE - Leptos/Actix (Rust)
  • DB - SQLx

References