Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oxidizedcutrace
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
oxidizedcutrace
5y ago
Good question! I'm also not a Rust expert, but maybe that syntax would be considered unsafe in some situations? I think the 'peripheral access crates' try to auto-generate those sorts of struct objects from SVD files, but you
2.
▲
by
oxidizedcutrace
5y ago
Lots of people pointing out that Rust isn't very ergonomic on embedded platforms. IMO one huge issue is how verbose the syntax needs to be. Look at some of the cases in the article, such as: let mut dp = pac::Peripherals::take().