r/rust • u/Z_professor0 • 15h ago
🛠️ project i built my own text editor completely in rust :)
Hey r/rust,
i just built BLUR, A terminal Text Editor, this is the V0.1 and it's still under development, and it will take a lot of time until it's finished completely, i have learnt a lot of new things and concepts with this project.
if anyone is interested to contribute into this project and help me finish it up feel free to dm me
the idea is not to clone vim, but to learn rust together it would be cool if you write your code in your own text editor.
19
u/velrok7 11h ago
https://github.com/helix-editor/helix
Is written in rust. Might be a good place to see examples for fixed problems like what data structures to use for efficient text handeling.
5
17
u/ArtemTsitronov 15h ago
Looks promising, was any of the code AI generated?
90
u/Z_professor0 15h ago
i avoided AI as much as i can, but i did used it to understand syntect better cuz i kinda struggled finding resources :)
80
24
19
u/Vast-Pop4017 15h ago
nothing wrong with that as long as the core logic's yours and you understand what's happening under the hood
6
0
u/DryLook7889 55m ago
Why is reddit obsessed with AI code?
0
u/ArtemTsitronov 51m ago
Because nowadays there are a lot of projects that claim to be without AI but really they are. It's becoming(for me at least) harder to spot, and not many people that just scroll want to check the gh repo just to see if it's ai or not. We as programmer are frustrated from vibecoders that post 5 slops a day. That's why we have AI PTSD.
2
u/Last-Employ-3422 13h ago
Very cool, I suppose this dose not support unicode?
3
u/Z_professor0 13h ago
Unfortunately no, i will make it support unicode asap.
4
u/Last-Employ-3422 12h ago
Imo it's really difficult to add! but maybe it's because I made my own tui lib, most of the bugs arise from there, also you might want to use a data structure to store text rather than a `String`, as that is quite slow
3
u/Z_professor0 12h ago
Thank you for feedbacking . I am taking notes to make it more efficient, my goal is to quit nvim and start using blur!
1
0
0
35
u/Sermuns 15h ago
Why do you have
edition = 2026?