▲ 743 ▼ RAM prices soar, but popular Windows 11 apps are using more RAM due to Electron, Web components (www.windowslatest.com) submitted 11 months ago by throws_lemy@lemmy.nz to c/technology@lemmy.world 131 comments fedilink hide all child comments Windows Latest discovered Discord and other Chromium and Electron-based applications with high RAM usage RAM usage spikes from 1GB to 4GB on Discord both in and out of voice chat
[–] dukemirage@lemmy.world 5 points 11 months ago (5 children) Is the Rust backend mandatory? permalink fedilink source parent hideshow 5 child comments replies: [–] Kynn@jlai.lu 16 points 11 months ago (3 children) In Tauri, the rust backend is the glue between web/js and OS functions. Yet you don't need to do any rust code, it's delivered ready. permalink fedilink source parent hideshow 3 child comments replies: [–] dogs0n@sh.itjust.works 2 points 11 months ago (2 children) If your app interfaces with the OS, like most apps would (reading a file, managing the window, etc), then you would be writing rust, no? permalink fedilink source parent hideshow 2 child comments replies: [–] Kynn@jlai.lu 5 points 11 months ago (1 child) Let's say you are a webdeveloper trying to package your js app into a executable. Tauri makes it so that it embeds your js into a rust base, and if you need to interact with the os, you have a Tauri JS API which calls predefined rust functions embedded in the executable. You can literally never write rust code while using tauri. But they givr you the choice, since rust is faster than compiled js, you also can create rust functions which you then call from your js code. permalink fedilink source parent hideshow 1 child comment replies: [–] dogs0n@sh.itjust.works 2 points 11 months ago Cool, thank you for the knowledge! permalink fedilink source parent load more comments (1 reply)
[–] Kynn@jlai.lu 16 points 11 months ago (3 children) In Tauri, the rust backend is the glue between web/js and OS functions. Yet you don't need to do any rust code, it's delivered ready. permalink fedilink source parent hideshow 3 child comments replies: [–] dogs0n@sh.itjust.works 2 points 11 months ago (2 children) If your app interfaces with the OS, like most apps would (reading a file, managing the window, etc), then you would be writing rust, no? permalink fedilink source parent hideshow 2 child comments replies: [–] Kynn@jlai.lu 5 points 11 months ago (1 child) Let's say you are a webdeveloper trying to package your js app into a executable. Tauri makes it so that it embeds your js into a rust base, and if you need to interact with the os, you have a Tauri JS API which calls predefined rust functions embedded in the executable. You can literally never write rust code while using tauri. But they givr you the choice, since rust is faster than compiled js, you also can create rust functions which you then call from your js code. permalink fedilink source parent hideshow 1 child comment replies: [–] dogs0n@sh.itjust.works 2 points 11 months ago Cool, thank you for the knowledge! permalink fedilink source parent
[–] dogs0n@sh.itjust.works 2 points 11 months ago (2 children) If your app interfaces with the OS, like most apps would (reading a file, managing the window, etc), then you would be writing rust, no? permalink fedilink source parent hideshow 2 child comments replies: [–] Kynn@jlai.lu 5 points 11 months ago (1 child) Let's say you are a webdeveloper trying to package your js app into a executable. Tauri makes it so that it embeds your js into a rust base, and if you need to interact with the os, you have a Tauri JS API which calls predefined rust functions embedded in the executable. You can literally never write rust code while using tauri. But they givr you the choice, since rust is faster than compiled js, you also can create rust functions which you then call from your js code. permalink fedilink source parent hideshow 1 child comment replies: [–] dogs0n@sh.itjust.works 2 points 11 months ago Cool, thank you for the knowledge! permalink fedilink source parent
[–] Kynn@jlai.lu 5 points 11 months ago (1 child) Let's say you are a webdeveloper trying to package your js app into a executable. Tauri makes it so that it embeds your js into a rust base, and if you need to interact with the os, you have a Tauri JS API which calls predefined rust functions embedded in the executable. You can literally never write rust code while using tauri. But they givr you the choice, since rust is faster than compiled js, you also can create rust functions which you then call from your js code. permalink fedilink source parent hideshow 1 child comment replies: [–] dogs0n@sh.itjust.works 2 points 11 months ago Cool, thank you for the knowledge! permalink fedilink source parent
[–] dogs0n@sh.itjust.works 2 points 11 months ago Cool, thank you for the knowledge! permalink fedilink source parent