Using Tonic as backend and gRPC-web as frontend communication to build chat system. Protobuf + gRPC + rust/tonic + envoy + gRPC-web.

Image by Author

Background

  • Rust, the programming language for our backend system.
  • Tonic, Rust gRPC framework
  • gRPC
  • Protobuf, the protocol used by gRPC
  • gRPC-web, gRPC for web since browser didn’t support HTTP2.
  • Javascript + HTML for showing content on frontend.

What we will do


There are lots of calendar apps to sync calendar data. It’s worth exploring how to use Rust to fetch CalDav data.

Image by author

Background


Rust Client for ROS2

The easiest way to create an interface code for a target app is by using `CMake` and `empy`. Explore the simplest version of how both can be used in ROS2.

Image by author

Background


Rust Client for ROS2

Link ROS2 C API with Rust via `bindgen`, and create a `node` in Rust. Simple steps on how to use `bindgen`.

Image by author

Background


Rust can be used to speed up Python code, but how fast can it be? This article highlights the comparison between the performance of: Rust, PyO3, and Python3, and an easy way to setup PyO3.

Rust logo from rust-lang.org and Black Python logo from cleanpng.com. Composite logos image by author

Marshal SHI

Robots make our life easier | Robotics, Reinforcement Learning, Web, Python, Rust & Life Hacking. At MotivEdge.io

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store