<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Debajyoti sarkar</title>
    <description>The latest articles on DEV Community by Debajyoti sarkar (@debajyotisarkarhome).</description>
    <link>https://dev.to/debajyotisarkarhome</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F752267%2F068a9876-fa52-4bec-b609-dec435fd8b3d.jpeg</url>
      <title>DEV Community: Debajyoti sarkar</title>
      <link>https://dev.to/debajyotisarkarhome</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/debajyotisarkarhome"/>
    <language>en</language>
    <item>
      <title>Starting Desktop Application Development: An Introduction To Tauri</title>
      <dc:creator>Debajyoti sarkar</dc:creator>
      <pubDate>Fri, 04 Jul 2025 17:30:53 +0000</pubDate>
      <link>https://dev.to/debajyotisarkarhome/starting-desktop-application-development-an-introduction-to-tauri-2095</link>
      <guid>https://dev.to/debajyotisarkarhome/starting-desktop-application-development-an-introduction-to-tauri-2095</guid>
      <description>&lt;p&gt;I'm writing this cause I couldn't find a dev post that circles around the power of writing desktop native applications. Whenever I think about desktop native apps, which are somewhat good-looking and functional, only word that pops into my mind is &lt;strong&gt;"Electron"&lt;/strong&gt;. But sadly, I'm not a node developer (I can write node but simply don't want to).&lt;br&gt;
On the other hand, I love rust. Shuffling through internet pages, I found &lt;strong&gt;Tauri&lt;/strong&gt;.&lt;br&gt;
For starters, if you've never heard of tauri, welcome to the club. Tauri is a framework for writing cross-platform applications where the backend will be in Rust, and you can choose from a plethora of js frameworks like React, Vue, and Svelte for the frontend.&lt;br&gt;
Now, if you're an annoying and techy person like me, you'll ask why Tauri, why choose a new framework when you have something like Electron with a huge developer base and community support? To that, I have a few pointers below:&lt;/p&gt;

&lt;h2&gt;
  
  
  Versertality
&lt;/h2&gt;

&lt;p&gt;The beauty of a framework like tauri with a Rust backend is that it enables you to leverage the low-level features of Rust and still lets you get away with not having to take all the hassle of writing an installer and operating system shenanigans.&lt;br&gt;
Being honest, will it be truly cross-platform if you play around with the dependencies and small things? Probably not, but it's still worth using all the reliability and low-level features Rust has to offer.&lt;br&gt;
Now, tauri provides you with a bunch of inbuilt little modules, utilizing which you can do almost anything a normal application can handle. On top of that, you can use any Rust crates of your choosing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Performance
&lt;/h2&gt;

&lt;p&gt;Everything I'm gonna say in this section will be stolen from a random internet blog linked &lt;a href="https://www.levminer.com/blog/tauri-vs-electron" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;br&gt;
Now for some stolen metrics to impress you:&lt;/p&gt;

&lt;h4&gt;
  
  
  📦 Bundle
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: ~2.5MB 🏆
&lt;/li&gt;
&lt;li&gt;Electron: ~85MB 🐘
&lt;/li&gt;
&lt;li&gt;✅ Winner: &lt;strong&gt;Tauri&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  ⚡ Startup
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: ~2s 🚀
&lt;/li&gt;
&lt;li&gt;Electron: ~4s 🐢
&lt;/li&gt;
&lt;li&gt;✅ Winner: &lt;strong&gt;Tauri&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  💻 Performance (Idle, Win)
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: 1% CPU, ~80MB RAM
&lt;/li&gt;
&lt;li&gt;Electron: 1% CPU, ~120MB RAM
&lt;/li&gt;
&lt;li&gt;✅ Winner: &lt;strong&gt;Tauri&lt;/strong&gt; (esp. on Linux 🐧)&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  🛠️ Backend
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: Rust 🦀
&lt;/li&gt;
&lt;li&gt;Electron: JS (Node.js) 🧑‍💻
&lt;/li&gt;
&lt;li&gt;✅ Winner: &lt;strong&gt;Electron&lt;/strong&gt; (easier)&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  🖼️ Rendering
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: System WebView (buggy on Safari 🐛)
&lt;/li&gt;
&lt;li&gt;Electron: Chromium (consistent 🔒)
&lt;/li&gt;
&lt;li&gt;✅ Winner: &lt;strong&gt;Electron&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  🔐 Security
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: Secure by default 🚫
&lt;/li&gt;
&lt;li&gt;Electron: Full Node access 🔓
&lt;/li&gt;
&lt;li&gt;✅ Winner: &lt;strong&gt;Tauri&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  🔄 Auto Update
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: Manual or JSON config 📄
&lt;/li&gt;
&lt;li&gt;Electron: GitHub Releases ✅
&lt;/li&gt;
&lt;li&gt;🤝 Tie&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  👨‍💻 Dev Experience
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Tauri: All-in-one CLI 🧰
&lt;/li&gt;
&lt;li&gt;Electron: Manual setup 🧱
&lt;/li&gt;
&lt;li&gt;✅ Winner: &lt;strong&gt;Tauri&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  🏁 Final Verdict
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tauri&lt;/strong&gt;: 🔥 Fast, secure, modern
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Electron&lt;/strong&gt;: 💪 Mature, consistent, dev-friendly
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tauri is the future 🌟 — just needs time&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Comment if you want a getting-started blog for Tauri.&lt;br&gt;
Thank you&lt;/p&gt;

</description>
      <category>programming</category>
      <category>rust</category>
      <category>react</category>
      <category>tauri</category>
    </item>
  </channel>
</rss>
