Rust

Articles about Rust on omid.dev — guides, topics, and notes from the field.

Building a Tiny Linux App to Explain Desktop Stutter

Published: June 4, 2026 Reading Time: 13 min

I wanted an excuse to build a small real Linux app. Not a shell script. Not a giant desktop application. Not a kernel module. Just a focused program that talks to Linux through the interfaces the system already exposes, gives that data a shape, and presents it as something a normal desktop user can run. Desktop stutter turned out to be a good excuse. My own machine is not slow: modern CPU, fast NVMe storage, plenty of RAM, KDE Plasma on Wayland, and a current kernel. Most of the time it feels excellent. Then, once in a while, the pointer hesitates, a window animation misses a beat, audio gets a tiny crackle, or the browser pauses while a package update or build is running. ...

Continue Reading

Yet Another Frontend Framework? The Rise Of Svelte

Published: June 22, 2024 Reading Time: 6 min

As we advance into 2024, the landscape of frontend development continues to evolve at a rapid pace. Developers are always on the lookout for frameworks that offer more efficiency, better performance, and ease of use. Among the numerous frameworks making waves this year, a few stand out due to their unique offerings and growing adoption: React: A robust and flexible library maintained by Facebook, still reigning as the most popular framework for building user interfaces. Vue.js: Known for its simplicity and ease of integration, Vue.js is a favorite for many developers who need to quickly spin up a project. Angular: A powerful framework backed by Google, Angular is widely used for building large-scale enterprise applications. Svelte: A newer but rapidly growing framework that offers a unique approach to building web applications with a focus on performance and simplicity. While React, Vue, and Angular have been the go-to choices for many developers over the past few years, Svelte is increasingly capturing the attention of the development community. Let’s dive deeper into what makes Svelte stand out and why it’s becoming a preferred choice for many. ...

Continue Reading

Mastering Concurrency in Rust: Tokio Structured Concurrency and Async Patterns

Published: June 15, 2024 Reading Time: 8 min

Concurrency in modern software development is not just a luxury but a necessity. As applications grow more complex and user expectations for responsiveness increase, developers need to harness the power of concurrent programming to build efficient and scalable systems. Rust, with its unique ownership model, safety guarantees, and powerful concurrency primitives, provides an excellent foundation for tackling these challenges. In this post, we’ll dive deep into concurrency in Rust, focusing on advanced patterns with async/await and the Tokio runtime. ...

Continue Reading

Building High-Performance Web Applications: Leveraging WebAssembly and Rust

Published: June 13, 2024 Reading Time: 8 min

In today’s fast-paced digital world, the performance of web applications has never been more critical. Users demand instant responses, seamless interactions, and rich functionalities. To meet these demands, developers are constantly exploring new technologies that promise to enhance the performance and capabilities of web applications. One such powerful combination is WebAssembly (Wasm) and Rust. This blog post will delve into how to build high-performance web applications by leveraging WebAssembly and Rust, highlighting the benefits, use cases, integration strategies, and real-world examples. ...

Continue Reading

Micro Frontends: Working Example

Published: May 11, 2024 Reading Time: 7 min

Now let’s explore a working example to understand it better. Companion resource Companion Project Try the working example in your browser or inspect the full source code behind this article. github.com/omidfarhang/example-projects/examples/qwik-angular-react-rust Open live demo View on GitHub Building a Micro Frontend Architecture with Qwik, Angular, React, and Rust Micro frontend architecture is a practical way to develop scalable and modular web applications. By breaking down a monolithic frontend into smaller, independently deployable modules, teams can work more efficiently and scale their applications with ease. ...

Continue Reading

Micro Frontends: How?

Published: May 9, 2024 Reading Time: 3 min

As web applications grow in complexity, maintaining a consistent tech stack becomes crucial for efficiency and scalability. If you have multiple projects using different frameworks, like Angular and React, unifying them can seem daunting. However, Micro Frontends offer a modern solution to this challenge, allowing you to integrate diverse projects seamlessly. Here’s how you can leverage Micro Frontends to unify your Angular and React projects. Micro Frontends extend the microservices idea to the frontend world. They allow different teams to develop and deploy their frontend applications independently. Each part of the application can be built using different frameworks or libraries and then integrated into a larger application. ...

Continue Reading

Micro Frontends: Why?

Published: May 9, 2024 Reading Time: 5 min

Micro frontends is an architectural pattern for building web applications as a composition of loosely coupled, independently deployable frontend modules. It extends the principles of microservices to the frontend, allowing teams to develop, deploy, and scale parts of the user interface independently. In essence, micro frontends break down a large, monolithic frontend application into smaller, more manageable pieces, each with its own technology stack, development team, and deployment pipeline. Key characteristics of micro frontends Modularity: Micro frontends promote modularity by dividing the user interface into smaller, self-contained units called micro frontends. Each micro frontend represents a cohesive set of features or functionality, allowing teams to focus on developing and maintaining specific parts of the application. ...

Continue Reading