eclipse-cdt-cloud / cdt-cloud

Components for web-based C/C++ tools
https://www.eclipse.org/cdt-cloud
Eclipse Public License 2.0
17 stars 0 forks source link

Discussion: Rust support in CDT Cloud #44

Open kkistm opened 1 month ago

kkistm commented 1 month ago

This is an introduction to discussion about Rust support in CDT Cloud.

There is a general and a number of concrete questions.

A general question is: what is CDT Cloud? Is it an IDE for C/C++ languages, or is it an IDE for system languages? In the former case, Rust is not needed, in the latter case, Rust should be included.

A number of concrete questions is about support of Rust by CDT Cloud components. For sure, Rust requires own language analyzer, but there is already quite a good one. So the question is if the component of CDT Cloud will be working with and useful for Rust, or new/replacement components should be written. Let's start with an explicit list of components and add information about their support of Rust as it becomes available.

Your opinions are very welcome.

planger commented 1 month ago

Hey Kostiantyn,

Thanks for kickstarting this discussion about Rust support in CDT Cloud! It's great to see such initiatives.

However, take my opinion with a grain of salt, as my focus is more on the underlying technologies rather than the use case domain. So I might not be the best person to weigh in, but here are my thoughts anyway. ;-)

Many of the CDT Cloud components, like the Memory Inspector and Serial Monitor, likely support Rust to some extent already since they rely on independent protocols like DAP. Maintaining or enhancing this support seems beneficial, given the thriving Rust community. It might be a good idea to test it out and try gain some traction with what already works in the Rust community. This could lead to initiating an exchange with those communities and make it more clear what additional support they would require.

For the more general question about whether CDT Cloud should focus on system development (including Rust) rather than just C/C++ development, it really comes down to what additional tool support the Rust community desires and how it would align with our current community. Unfortunately, I'm not an active Rust user, so I can't provide specific insights here.

I'd love to hear more from those who are more familiar with Rust and its requirements!

Looking forward to your thoughts!