VOOZH about

URL: https://thenewstack.io/toolkit-allows-javascript-devs-to-program-embedded-devices/

⇱ Toolkit Allows JavaScript Devs to Program Embedded Devices - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-03-23 11:06:51
Toolkit Allows JavaScript Devs to Program Embedded Devices
Frontend Development / Rust / Software Development

Toolkit Allows JavaScript Devs to Program Embedded Devices

Slint is a new Rust-based UI toolkit that lets JavaScript programmers create embedded and desktop applications.
Mar 23rd, 2023 11:06am by Loraine Lawson
👁 Featued image for: Toolkit Allows JavaScript Devs to Program Embedded Devices
Image via Shutterstock

A new toolkit enables JavaScript developers to create native user interfaces for embedded and desktop applications. Called Slint, it also supports programming in C++ or Rust.

Slint is the creation of a startup called SixtyFPS GmbH. The Rust-based UI toolkit recently won first place in the tooling category at the 2023 Embedded World conference. Though the tool is written in Rust, that is obscured for the developer. Instead, the developer interacts with JavaScript, Rust or C++ libraries to build the UI interface, but underneath Rust provides a base for the tool, said Olivier Goffart, a co-founder of SixtyFPS GmbH.

“We said from the beginning, we want this to be supported by several programming languages because in 10 or 20 years when Rust will not be good anymore, we want to be able to swap that for the user so that they can write in their language,” Goffart told The New Stack. “Rust [is] not really a great language to write the application logic itself, as you do not often need so much performance for the application logic.”

But it was easy to support Rust in the application because it’s the implementation language. It was also easy to support C++ because it’s compiled and the team came from that ecosystem. Finally, they wanted to support JavaScript because it’s a dynamic language. If they can support those three languages initially, then they think they will be able to support all languages eventually.

Although the Slint creators were experienced with C++, they thought Rust had better tooling and felt more modern than C++, while still having the potential of C++. It also had the added benefit of being safer, Goffart added.

“We wanted something that can be really fast, because when you run an embedded [app], every cycle of the CPU counts — and so we cannot afford a garbage collector,” Goffart said.

Garbage collector languages monitor memory allocation and reclaim blocks of allocated memory that’s no longer needed. JavaScript, C# and Java are examples of garbage collector languages.

Slint compiles the application to run natively on embedded devices, or on Linux, Mac, and Windows desktops.

How Slint Works and Why It’s Embedded

Slint is implemented in Rust, but the API for it is written in a domain specific language called the Slint language. Then there is an API to connect to the supported language libraries.

“If you only know C++, you don’t need to care about Rust. If you only know JavaScript, you don’t need to care about Rust,” he said.

SixtyFPS GmbH opted to go after the embedded space because there’s less competition than in the web UI space. It’s arguably more lucrative as well, they believe. The tool is designed to work on the “really low end” of embedded devices, which tend to have low compute power, Goffart explained.

“There are different levels of embedded — there is a really cheap microprocessor that can run only compiled code and doesn’t have much memory, then there is the high-end embedded, which is sometimes even more powerful [than]… a personal computer,” he said. “Since we scale, we can also support more and more computers that are either not perfect at all, or that even have hardware accelerators — so, anything that can display a user interface.”

On the high-end embedded side, the tool “can easily support JavaScript,” he said. In fact, some in the industry already use JavaScript by placing a browser on the embedded system, he added. So it made sense to the Slint team to use JavaScript, but without the added weight of the browser.

Why the Desktop?

There is a trend right now to use the browser as the basis to create web pages that run like desktop applications as well, Goffart said. For Slint, the team wanted to enable a native-looking user interface on the desktop.

“We want to offer a way to make a user interface that is not in the browser, so it’s native and it looks like a real application for a computer and not a website,” Goffart said. “We think that native styling is important so that all the controls look like the operating system’s controls.”

Right now, the tool team is focused on what developers need to create a UI.

“If you make the display panel a control panel for some industrial machine that bends metal in some factory, you’re not going to hire an agency to create a beautiful design for it,” said Simon Hausmann, also a SixtyFPS GmbH co-founder. “You’re going to task yourself or [your] developers to implement the functionality as easily as possible, as quickly as possible. It should be usable, of course, and it should look decent, but you’re not going to focus on the design aspects so much.”

In the future, that may change — their plan is to make Slint into a tool that designers could use alongside developers.

“We want to not only target software developers but also the designers; so that the designers and software developers can more easily work together, with the focus on products that are either embedded devices [or] applications that run on laptops, for example,” Goffart said.

Slint is dual licensed, which means developers can license it under the GPL version 3, an open source license, or under a proprietary license that allows using Slint in products where the owner does not wish to make their source code available. The proprietary license is available by purchasing a copy or taking part in Slint’s ambassador program, where developers exchange a free proprietary license for branding the app as built using Slint. Competitors include free products and QT, where Hausmann previously worked.

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.