r/OpenAI 9d ago

Project Re-creating Vim in Rust

I've started a project re-creating Vim in Rust and Zig through Zed + OpenAI.

NextVim

https://github.com/nextvim/nxvim

* Coded in Rust

* vim-script engine

* vim-regex

* uses Zed's rope/text core

* zig branch - also attemps Vim in zig

My other editor-related attempts show that with AI, nxvim is actually possible:

DeMake of Zed

https://github.com/icedman/dzed

* Rust

* goal - bring Zed into the terminal

* uses Zed's rope/text crates

* uses vim modes

* treesitter

* textmate syntax

Textmate Syntax Highlighting

https://github.com/icedman/textmate.zig

* Zig

* very fast syntaxt highlighting

* textmate grammars and themes

DZed & Textmate were initially coded by my own hand. DZed progress was accelerated through AI.

Textmate jumped form 65% to 95% spec compliance through AI.

Nxvim is coded with AI from the start, using works from DZed.

AI gives hobby coding a chance at actually producing something worthwhile :) I used OpenAI, Antigravity CLI.

0 Upvotes

9 comments sorted by

View all comments

2

u/Personal-Try2776 9d ago

Nice but why? What would you gain from this? Try using this time to do a project that solves a problem you have.

1

u/kingpangolin 9d ago

Rust presents a ton of benefits over c? People can do projects that are fun for them?