Migrate to C/C++ for embedded systems #143
Replies: 9 comments 8 replies
-
Why... that would be going backwards for no reason. It's written in rust that doesn't stop you from running it on any embedded device that can also run a GPU. |
Beta Was this translation helpful? Give feedback.
-
is it possible to run it on OpenWRT with MIPS32 24Kc architecture, for example? https://forum.openwrt.org/t/installing-rust-compiler-on-openwrt/182937/5 in short: $ ./rustup-init.sh
info: downloading installer
Warning: Not enforcing strong cipher suites for TLS, this is potentially less secure
curl: (22) The requested URL returned error: 404
rustup: installer for platform 'riscv64gc-unknown-linux-musl' not found, this may be unsupported on doc.rust-lang.org i find toolchains, but I didn't find any for MIPS32 and RISCV64. Most likely they have not been written yet. |
Beta Was this translation helpful? Give feedback.
-
What hardware are you talking about because MIPS32 is pretty much dead? The RISCV64 system can work already just pick a distro that uses GLIBC instead of MUSL and call it a day. It's a tier 2 platform with essentially full support. In any case the real gottcha is probably not even rust but ROCm... |
Beta Was this translation helpful? Give feedback.
-
What embedded device has a modern AMD GPU? Just curious |
Beta Was this translation helpful? Give feedback.
-
@cb88, |
Beta Was this translation helpful? Give feedback.
-
@GermanAizek Again... Both MIP 32 LE and RISCV64 have supported toolchains. MIPS32 LE you have to build yourself just like any other embedded toolchain, and they provide prebuilt RISCV64 toolchains for a common toolchain version using GLIBC where ROCm will also work.... MUSL is not a common c library for this type of software. If you can't build your own embedded toolchains thats a you problem not something you should blame on others. I guarantee you ROCm doesn't build on MUSL either in fact there are closed bug reports about it not working (closed without adding support). And you still haven't referenced a realistic device where you would be connecting a GPU to a MIPS32 CPU... I'm certainly not aware of any. |
Beta Was this translation helpful? Give feedback.
-
your embedded devices have GPUs? |
Beta Was this translation helpful? Give feedback.
-
Converting to discussion because there's no bug that can be fixed here |
Beta Was this translation helpful? Give feedback.
-
Is anyone interested in CIDE? |
Beta Was this translation helpful? Give feedback.
-
Does anyone have plans to rewrite this in C++ or C for integration into embedded devices?
Beta Was this translation helpful? Give feedback.
All reactions