Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Rewriting a Kotlin framework in Rust - code organization
Rewriting a Kotlin framework in Rust - code organization
โ Rust ๐ 2025-08-13 ๐ค surdeus ๐๏ธ 2Hi!
Iโve been developing a Kotlin framework thatโs grown to about 80k lines of code, and Iโm planning to rewrite it in Rust.
Iโm new to Rust, so my plan is to start with proof-of-concept implementations, experimenting with different approaches, and creating a clear rewrite plan before committing to the full migration.
My first question is about source code organization. The current project has around 20 non-trivial subprojects, each containing many packages.
What would be a good approach for organizing a Rust project of this size?
You can check out the current project here (still in development, not production-ready):
Thanks in advance for any advice or opinions!
5 posts - 3 participants
๐ท๏ธ Rust_feed