Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Development
I tested Tauri and this is what I think of it
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="SailorEudes" data-source="post: 477402" data-attributes="member: 113642"><p style="text-align: center"><a href="https://tauri.app/fr/" target="_blank">[ATTACH=full]14323[/ATTACH]</a></p><p></p><p><strong>The Tauri story: a framework for modern desktop applications</strong></p><p>If you're a developer looking for a framework to create modern desktop applications, you've probably already heard of Tauri. But what is it exactly? And how does it compare to other similar frameworks like Electron or NW.js? In this article, we'll dive into the history of Tauri, explore its qualities and shortcomings, and show you some sample code to help you decide if it's the right framework for you.</p><p></p><p><strong>The context of the creation of Tauri</strong></p><p>Tauri was created in 2019 by a small team of developers who were looking for a faster, lighter way to build desktop applications. They started with Rust, a fast and secure system programming language, and built a minimalist environment around it that allows developers to build desktop applications using web technologies like HTML, CSS, and JavaScript.</p><p></p><p><strong>Rust in the heart of Tauri, but what is it?</strong></p><p>Rust is an open-source programming language designed to be fast, secure and efficient. It is often used for embedded systems, server infrastructures and web applications. Rust is a compiled language, which means that the source code is converted to machine code for execution. Rust is also a low-level language, which means that it offers fine-grained control over the hardware. It uses a unique property system that ensures security and protection against memory errors. This means that Rust is less prone to bugs and security holes than other programming languages. Rust is also known for its active community and ever-evolving ecosystem, which offers many useful libraries and tools for developers.</p><p></p><p><strong>The advantages of Tauri</strong></p><p>One of the main advantages of Tauri is its lightness. Unlike Electron, which uses the full Chromium rendering engine, Tauri uses a minimalist engine called WebView2 to display user interfaces. This means that applications built with Tauri are much lighter and faster to load than those built with Electron. In addition, the fact that Tauri is built around Rust means that applications are more secure and resistant to security attacks.</p><p></p><p><strong>The disadvantages of Tauri</strong></p><p>The main drawback of Tauri is that it is still a relatively young project and has not yet reached the maturity of other more established frameworks like Electron. This means that there are still bugs and problems to be solved, and that the documentation may be less complete than that of other frameworks. Also, since Tauri is built around Rust, developers must be comfortable with this programming language to use it effectively.</p><p></p><p><strong>An example of code with Tauri</strong></p><p>[CODE=javascript]fn main() {</p><p> tauri::Builder::default()</p><p> .invoke_handler(tauri::generate_handler![show_window])</p><p> .run(tauri::generate_context!())</p><p> .expect("error while running tauri application");</p><p>}</p><p></p><p>#[tauri::command]</p><p>fn show_window() {</p><p> let window = webview::builder()</p><p> .title("Hello World")</p><p> .size(800, 600)</p><p> .resizable(true)</p><p> .debug(true)</p><p> .user_data(())</p><p> .invoke_handler(|_webview, _arg| {</p><p> Ok(())</p><p> })</p><p> .build()</p><p> .unwrap();</p><p></p><p> window.run().unwrap();</p><p>}[/CODE]</p><p></p><p><strong>Tauri in practice</strong></p><p>Tauri is used in many open-source projects, including the Delta Chat messaging client and the Mediainfo video file analysis tool. If you're looking for examples of projects that have been developed with Tauri, check out the official list of Tauri projects on GitHub.</p><p></p><p><strong>Examples of notable projects developed with Tauri:</strong></p><ul> <li data-xf-list-type="ul"><a href="https://www.realwear.com/fr/hmt-1/" target="_blank">RealWear HMT-1</a>: A hands-free laptop designed for industrial workers and field professionals. It uses Tauri for its browser-based user interface.</li> <li data-xf-list-type="ul"><a href="https://alacritty.org/" target="_blank">Alacritty</a>: a fast and powerful terminal emulator for Linux and macOS. Alacritty uses Tauri to create a secure and isolated desktop environment.</li> <li data-xf-list-type="ul"><a href="https://ruffle.rs/" target="_blank">Ruffle</a>: an open-source Flash emulator that allows you to play Flash games and animations on the web without needing the Flash plugin. Ruffle uses Tauri for its user interface and to improve the application's performance.</li> </ul><p><strong>Conclusion</strong></p><p>Ultimately, Tauri is a promising framework for developers looking to create modern desktop applications with web technologies. While it is not yet as mature as some of its competitors, it offers significant advantages in terms of lightness, security, and speed. If you are comfortable with Rust and are looking for a fast and efficient way to create a desktop application, Tauri is definitely worth exploring.</p></blockquote><p></p>
[QUOTE="SailorEudes, post: 477402, member: 113642"] [CENTER][URL='https://tauri.app/fr/'][ATTACH type="full" width="200px" alt="tauri_logo_light.png"]14323[/ATTACH][/URL][/CENTER] [B]The Tauri story: a framework for modern desktop applications[/B] If you're a developer looking for a framework to create modern desktop applications, you've probably already heard of Tauri. But what is it exactly? And how does it compare to other similar frameworks like Electron or NW.js? In this article, we'll dive into the history of Tauri, explore its qualities and shortcomings, and show you some sample code to help you decide if it's the right framework for you. [B]The context of the creation of Tauri[/B] Tauri was created in 2019 by a small team of developers who were looking for a faster, lighter way to build desktop applications. They started with Rust, a fast and secure system programming language, and built a minimalist environment around it that allows developers to build desktop applications using web technologies like HTML, CSS, and JavaScript. [B]Rust in the heart of Tauri, but what is it?[/B] Rust is an open-source programming language designed to be fast, secure and efficient. It is often used for embedded systems, server infrastructures and web applications. Rust is a compiled language, which means that the source code is converted to machine code for execution. Rust is also a low-level language, which means that it offers fine-grained control over the hardware. It uses a unique property system that ensures security and protection against memory errors. This means that Rust is less prone to bugs and security holes than other programming languages. Rust is also known for its active community and ever-evolving ecosystem, which offers many useful libraries and tools for developers. [B]The advantages of Tauri[/B] One of the main advantages of Tauri is its lightness. Unlike Electron, which uses the full Chromium rendering engine, Tauri uses a minimalist engine called WebView2 to display user interfaces. This means that applications built with Tauri are much lighter and faster to load than those built with Electron. In addition, the fact that Tauri is built around Rust means that applications are more secure and resistant to security attacks. [B]The disadvantages of Tauri[/B] The main drawback of Tauri is that it is still a relatively young project and has not yet reached the maturity of other more established frameworks like Electron. This means that there are still bugs and problems to be solved, and that the documentation may be less complete than that of other frameworks. Also, since Tauri is built around Rust, developers must be comfortable with this programming language to use it effectively. [B]An example of code with Tauri[/B] [CODE=javascript]fn main() { tauri::Builder::default() .invoke_handler(tauri::generate_handler![show_window]) .run(tauri::generate_context!()) .expect("error while running tauri application"); } #[tauri::command] fn show_window() { let window = webview::builder() .title("Hello World") .size(800, 600) .resizable(true) .debug(true) .user_data(()) .invoke_handler(|_webview, _arg| { Ok(()) }) .build() .unwrap(); window.run().unwrap(); }[/CODE] [B]Tauri in practice[/B] Tauri is used in many open-source projects, including the Delta Chat messaging client and the Mediainfo video file analysis tool. If you're looking for examples of projects that have been developed with Tauri, check out the official list of Tauri projects on GitHub. [B]Examples of notable projects developed with Tauri:[/B] [LIST] [*][URL='https://www.realwear.com/fr/hmt-1/']RealWear HMT-1[/URL]: A hands-free laptop designed for industrial workers and field professionals. It uses Tauri for its browser-based user interface. [*][URL='https://alacritty.org/']Alacritty[/URL]: a fast and powerful terminal emulator for Linux and macOS. Alacritty uses Tauri to create a secure and isolated desktop environment. [*][URL='https://ruffle.rs/']Ruffle[/URL]: an open-source Flash emulator that allows you to play Flash games and animations on the web without needing the Flash plugin. Ruffle uses Tauri for its user interface and to improve the application's performance. [/LIST] [B]Conclusion[/B] Ultimately, Tauri is a promising framework for developers looking to create modern desktop applications with web technologies. While it is not yet as mature as some of its competitors, it offers significant advantages in terms of lightness, security, and speed. If you are comfortable with Rust and are looking for a fast and efficient way to create a desktop application, Tauri is definitely worth exploring. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Development
I tested Tauri and this is what I think of it
Top