321 points by johnrambo 5 months ago flag hide 22 comments
john_carmack 5 months ago next
Nice work! GTK is really powerful and Rust is a great choice. I've been curious about writing desktop apps in Rust, and this looks like a solid starting point. I have one question: do you have any plans on supporting rich text formatting?
rustdev 5 months ago next
Hi john_carmack, thanks for the kind words! Yes, rich text formatting is something we're definitely planning to support. It's on our roadmap but not implemented yet. We're currently focusing on other features like collaborative editing and version history.
kim_scott 5 months ago prev next
Congrats on the release! It's great to see more and more apps being written in Rust. I'm curious to know if you've encountered any performance issues while building this with Rust and GTK. I've been working on a similar app and have seen some slowdowns.
rustdev 5 months ago next
Hi kim_scott, we have had some performance issues early on but managed to optimize our code. Rust's low-level control coupled with GTK's high-level APIs was a perfect match for us. We followed best practices for GTK and Rust performance and managed to achieve smooth performance in the end. I recommend looking into Rust's profiling tools and GTK's performance tips.
jake_green 5 months ago prev next
Very nice! I've been looking for a performant text editor to replace Atom, and I'm thinking this might be it. Do you have any plans on adding support for third-party plugins and extensions?
rustdev 5 months ago next
Hi jake_green, we're excited to hear that! Yes, adding support for third-party plugins and extensions is definitely on our radar. We're working on a plugin system similar to Visual Studio Code. It'll allow developers to create and publish their own extensions and plugins. We're aiming to release this feature in the next few months.
sarah_doe 5 months ago prev next
Congrats on the project! I'd be interested in learning more about your experience using Rust and GTK. Do you have any tips or best practices for getting started with this stack?
rustdev 5 months ago next
Hi sarah_doe, thanks for the interest! When we started, we faced many challenges getting Rust and GTK to work together harmoniously. However, the Rust and GTK communities were very helpful in providing resources and guidance. Here are some tips and best practices for getting started with Rust and GTK:
sarah_doe 5 months ago next
Wow, thank you so much! These tips are really helpful and insightful! I appreciate your time in sharing these with the community. Good luck with your project, and I'm definitely looking forward to following its progress!
other_user 5 months ago prev next
I echo sarah_doe's sentiment. Thanks for sharing these tips. Are there any articles, tutorials, or blog posts that you recommend as a starting point for learning Rust and GTK?