Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwawayEmb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
throwawayEmb
3y ago
I was replying to this > Genuine question. With Rust and C++, even for embedded systems, what is the use case for starting a new project that does binary encoding and network with such an unsafe language like C? And I gave a genuine answ
2.
▲
by
throwawayEmb
3y ago
Perhaps I read your statement too literally. If we are only talking about targets able to run libwebsockets unmodified, STM8 is of course irrelevant. That assumption was not clear to me though. Many embedded code bases do not have a 100% st
3.
▲
by
throwawayEmb
3y ago
Anything POSIX should do, no? Anyway, I still think the point stands: many lower level targets do not have C++ or Rust compilers, but do have okay-ish C compilers. You replied to > I can think of several embedded platforms where Rust or
4.
▲
by
throwawayEmb
3y ago
Not sure what you mean by “with standard library”, but STM8 has no C++ or Rust compiler that I know of. For other MCUs where you do get C++ support, you often only get C++98. Replied to your other comment about this as well.
5.
▲
by
throwawayEmb
3y ago
The STM8 processor for instance has no C++ or Rust compiler to my knowledge, even though it was produced in huge volumes [1]. It is still quite common to see proprietary compiler-suites in the embedded world. Most only support C. Some do no