Remix.run Logo
nhatcher 17 hours ago

Worth mentioning a version of ms Edit is now opensource. Not only that, it is extraordinary code to learn from:

[1]: https://github.com/microsoft/edit [2]: https://news.ycombinator.com/item?id=44031529

self_awareness 17 hours ago | parent [-]

I wouldn't learn from it, since it uses unsafe code even for basic stuff, like hash calculation.

It's also a complete reimplementation, it shares only the name with original edit.com.

nhatcher 16 hours ago | parent [-]

Well, you wouldn't learn as is let's learn Rust from it. But I think it has many interesting bits not found in most open source projects out there. and true that, there is a lot of unsafe code, uses nightly builds, its own allocator, crazy stuff. I did learn a lot from it :)

And yeah, it is a reimplemantion. But it is a TUI and very minimal. Keepining it minimal, with no dependendecies and software bloat seems to be one of the guidelines. So very much something adding to the article at case.

But yeah, you are right on both counts.