logoalt Hacker News

tim--today at 1:06 AM3 repliesview on HN

It's for people that want to use the Windows Terminal to edit files. The old `edit` command has been unsupported on Windows since 2006, so there was no Microsoft-provided editor that could be used in the command line since then.

It's impressive to see how fast this editor is. https://github.com/microsoft/edit/pull/408

> By writing SIMD routines specific to newline seeking, we can bump that up [to 125GB/s]


Replies

_verandaguytoday at 1:14 AM

Is... this a meaningful benchmark?

Who's editing files big enough to benefit from 120GBps throughput in any meaningful way on the regular using an interactive editor rather than just pushing it through a script/tool/throwing it into ETL depending on the size and nature of the data?

show 7 replies
axpvmstoday at 11:41 AM

That's pretty handy. I was having to use bash -c "vi myfile.txt" which was a bit annoying.

show 1 reply
cervedtoday at 5:08 AM

Probably more like need to use it. Basically nano for windows