Building a code editor is actually harder than I thought
Not long ago, I was looking for a project to work on in my free time and to improve my Rust knowledge at the same time. I wanted something a bit more advanced and not just another CRUD application. Building a code editor from scratch with my own design, using Tauri and Vue.js, seemed like a good choice.
It started easy & simple but slowly things became more complex and performance became one of the main issues. I only implemented about 5-10% features that are required inside a code editor and yet it took almost a month and still sucks haha.
For the frontend, it uses Vue’s virtual dom for code rendering and it’s kinda slow. Do you think rust-wasm frameworks like Leptos or Yew can easily handle this kind of work? I'm looking forward to rewrite the app using Leptos instead of Vue.
I really admire the engineering & brilliant minds behind all those code-editors out there like vscode, zed, neo-vim, etc. They’re just awesome.
Here is the github link:
https://github.com/MuongKimhong/BaCE
Happy coding.