(hoping somebody could translate this into 中文, but here it goes…)

coding in Embedded C is like

building a skyscraper without scaffolding

C pointers are not safe!

Embedded Rust is safer but complex. the concepts can be highly abstract.

some concepts may not even translate well into 中文

so learn Rust in small chunks!

you will encounter “unsafe” code

i don’t believe in yin-yang 阴阳: absolute safe vs absolute unsafe

there are 50 shades of unsafeness (sorry for the bad 中文 translation)

instead, unsafe code means it’s something we should bring out and discuss

what could possibly go wrong with that piece of unsafe code?

don’t be discouraged if others openly criticise your Rust code (as has happened to me)

i fully understand that we asians have a face culture 给面子

forgive those who criticise your code, and instead ponder, what could go wrong?

here’s an example of a gadget created in the East: PineTime Smart Watch

and here is the safe Rust code that will run on the gadget

it’s really not that different from C

IoT security vulnerabilities are at an all time high

it’s time we did something to stop them

and i’m always here to help 😀