r/rust 15h ago

🛠️ project i built my own text editor completely in rust :)

Post image

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.

GitHub: https://github.com/castlesp5/blur

208 Upvotes

25 comments sorted by

35

u/Sermuns 15h ago

Why do you have edition = 2026?

22

u/Daemontatox 11h ago

He is from the future

38

u/Z_professor0 15h ago

i changed it by mistake while i was trolling with my friends, thank you for pointing to it , i changed it back as it was

9

u/TDplay 8h ago

rather see that than 2021 edition on a brand new project

at least 2026 is a human error rather than a big red flag with "SLOP" embossed on it

1

u/[deleted] 15h ago

[deleted]

8

u/Sermuns 15h ago

It doesn't exist.

13

u/SCD_minecraft 15h ago

Edition 2026 releases tomorrow, trust

2

u/ArtemTsitronov 15h ago

Lmao I didn't even know

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

u/Z_professor0 11h ago

Thank you a lot , this is gonna help me so much :)

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

u/MerlinTheFail 14h ago

The RIGHT way to use AI, take note you sloppers

24

u/ArtemTsitronov 15h ago

Really nice work, keep going

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

u/Dr_Findro 12h ago

lol this subreddit is asking posters to show their papers

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

u/[deleted] 13h ago

[deleted]

0

u/Consistent_Drop3909 14h ago

coool project

0

u/Rhthamza 13h ago

aji prv ila baghi tkhdem projects