Skip to main content
  • Log in
  • Manage Cookies
EclipseCon - Eclipse Foundation
  • Conference
    • News
    • Registration
    • Program Schedule
    • Program List
    • Community Day
    • Keynotes
  • Sponsors
    • Our Sponsors
    • Sponsor Testimonials
    • Be a Sponsor
    • Sponsor Guidelines
  • Community
    • 2021 Speakers
    • Speaker Guidelines
    • Code of Conduct
    • Community Resources
    • Conference Guide Documents
  • About Us
    • EclipseCon 2021
    • Program Committee
    • The Eclipse Foundation
    • Past Conferences
    • Other Events
  • Code of Conduct
  1. Home
  2. EclipseCon
  3. EclipseCon 2021
  4. Sessions
  5. Rust: Develop and test it in a cloud based IDE, run it on a microcontroller

Rust: Develop and test it in a cloud based IDE, run it on a microcontroller

Session details
Status: 
Accepted
Speaker(s): 
Jens Reimann (Red Hat, Inc.)
Ulf Lilleengen (Red Hat, Inc.)
Experience level: 
Intermediate
Tags: 
Rust
WASM
embedded
cloud IDE
Session Track: 
Web and Desktop Tools & IDEs
Session Type: 
Standard

Rust is “A language empowering everyone to build reliable and efficient software“. Even on a microcontroller! Using tools like “cargo embed” and “probe-rs”, setting up a toolchain on your local machine, for developing and flashing firmware, is a matter of a few simple commands.

Can you take that to the cloud? Sure you can, Eclipse Che has you covered and supports Rust too. But, who attaches your STM32 developer board to the USB port of the AWS node you are running this on?

WASM to the rescue! Using Drogue IoT’s actor based firmware model, and the async Embassy Rust foundation layer, you can create firmware, which runs on Cortex-M, RISC-V, but also on AMD64 targets, and WASM! Directly in the browser you run your IDE session with.

Your actors (like a button or an LED) get replaced with browser based implementations, and your application logic stays exactly the same. Does this completely replace your local setup? Probably not, but it can be a nice addition, and shows the power of Rust, Embassy, Drogue IoT and hardware abstraction layers.

In this talk, we will walk you through the basics of Rust on embedded systems, asynchronous executors and the actor based development model of Drogue Device. Based on an example project, we will show what needs to be done to enable WASM and provide web based alternatives to the hardware based actors. Running this in Eclipse Che at the end of the session.

 

Objective of the presentation: 
Show an example on how to move traditional "local" development to a cloud based IDE setup. In a case where it is not as simple as with other workloads. Explain how abstractions and technologies (like WebAssembly) can help.
Attendee pre-requisites - If none, enter "N/A": 
N/A
Schedule info
Time: 
26 Oct 2021 - 16:50 to 26 Oct 2021 - 17:20
Room: 
Room 2
  • Sign in to post comments.

Elite Sponsors

Premium Sponsors

Basic Sponsors

Eclipse Foundation

  • About Us
  • Contact Us
  • Donate
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace
EclipseCon is brought to you by The Eclipse Foundation with the support of our sponsors.
Powered by Drupal and built on COD.

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top