r/FlutterDev • u/NoBeginning2551 • Oct 14 '26
Plugin code_forge migrated from rust backend to pure dart.
https://pub.dev/packages/code_forgeHello, I'm the author of the code_forge package, a very powerful text field widget capable of handling even 1M+ lines of text smoothly, where the default TextField widget crashes the app for a few thousand lines.
The package backend was written in rust using the ropey and zed_sum_tree crates, resulting in no web support and requiring the user to install rust in their system to build the package. Because of that most of the people migrated to an alternative package called re_editor.
I removed the rust backend and implemented rope data structure and zed_sum_tree like Layout mapping in pure dart.
6
u/feodorfff Oct 14 '26
Great, the same package for web, desktop and mobile is the right idea. It's time to revisit your package. Thank you!
2
u/yakupkahraman Oct 17 '26
Supaaa, i like the pure dart things. I'm currently using this package in the Bird IDE (an IDE for Flutter Community written in Flutter) and maybe i can make the web side. Thank you!
6
u/rabinapps Oct 14 '26
This is honestly super cool. My only concern is how big is it going to add to my app?
1
u/SpecialistServe3974 Oct 19 '26
have u benchmarked it? rust vs dart?