xi-editor
makepad
Our great sponsors
xi-editor | makepad | |
---|---|---|
42 | 24 | |
19,805 | 4,676 | |
0.1% | 2.3% | |
2.6 | 9.9 | |
about 1 month ago | about 7 hours ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xi-editor
-
Zed is now open source
Was confused until I realised I'd confused Zed, with Xi[1] which is also rust based, and which incidentally has a frontend called "Xim"..
Also there's a wiki-editor (like Tomboy[2]) called "Zim"[3].
-
Text Editor: Data Structures
Project site linked from the GitHub[0] is https://xi-editor.io. Linked doc is a mirror of this[1], which was afaik originally written by Raph Linus.
-
The Absolute Minimum Every Software Developer Must Know About Unicode in 2023
> thing that gets deleted when you hit backspace
Is there a canonical source for this part, by the way? Xi copied the logic from Android[1] (as per the issue you linked downthread), and I vaguely remember that CLDR had something to say about this too, but I don’t know if there’s any sort of consensus here that’s actually written down anywhere.
- Google abandons work to move Assistant smart speakers to Fuchsia
-
What's is a rusty way to implement sharable trees?
This is pretty much how copy-on-write ropes work. Check out xi-rope, Ropey or crop, they're all built using B-trees and implement the behavior you described.
-
Helix (a Kakoune / Neovim inspired editor) 23.03
Helix is awesome, though once Lapce (spiritual successor to Xi editor) gets the Helix/Kakoune editing model, I may have to jump ship
-
Editors written in rust
Home (xi-editor.io)
-
How to share resources between instances of program?
Maybe take a look at the Xi editor (https://xi-editor.io/) (written in rust I think) that uses a client server architecture.
-
Suitable Rust GUI Library for Code Editor?
Have a look at what Lapce uses. The editor is coming along nicely, and iirc, they use the Xi editor as a plug-in.
-
CRDTs make multiplayer text editing part of Zed's DNA
Raph Levien posted a retrospective about using CRDT’s for collaborative editing in xi-editor here [1]. His conclusion is
“I come to the conclusion that the CRDT is not pulling its (considerable) weight. When I think about a future evolution of xi-editor, I see a much brighter future with a simpler, largely synchronous model, that still of course has enough revision tracking to get good results with asynchronous peers like the language server.”
[1]https://github.com/xi-editor/xi-editor/issues/1187#issuecomm...
makepad
-
WASM: Big Deal or Little Deal?
It is what Makepad is working on in an interesting way using Wasm and Rust. They have created a Figma-like DSL and a good code separation with the logic behind it. You can edit UI's of in-production apps, and they are bundling an editor for that. Accessibility is an issue, and the project are looking to offer proper support there. In their video linked on the README they run the conference slides on Makepad with live apps embedded and running at 120 fps.
-
Snappy UIs with WebAssembly and Web Workers
> if anyone tells you they need to use WebAssembly to make the UI snappy I'd advise you interrogate that assertion thoroughly.
Get prepared to be blown away by Makepad [0]. I have no affiliation with them, but just watched their most recent conference presentation [1]. The slides were made with Makepad itself and included, embedded, a full-blown IDE, a synthesizer app, a Mandelbrod to zoom in endlessly, and more. All running at 120fps. The presentation is for the most part live-coding with this setup.
What they want to do is bring coders and designers closer together, and while some code is in Rust they developed a DSL for the GUI parts that is close to how Figma works. These GUI's can run anywhere.
And I couldn't help thinking "Why would people have complicated stacks to create Web 2.0 apps for the Google Web, when they have this?", in other words an opportunity to break out of the browser straitjacket.
-
Makepad- Synthesizer Written in Rust
For those who haven’t seen it, Makepad is also an in-browser code editor with an open-source UI toolkit. Looks like this synth is one of the examples of the UI toolkit.
-
50 Shades of Rust, or emerging Rust GUIs in a WASM world
And I'm obsessed with what happens when you press Alt in their editor. I never knew I wanted this, but boy, do I want it.
-
Leveraging Rust and the GPU to render user interfaces at 120 FPS
I tried this, using https://makepad.dev our GPU accelerated UI and renderstack. And unfortunately it wasn't a great experience. Text popping forward for whatever reason is not really an improvement (i tried indent depth, syntax highlighting reasons, cursor behavior). Maybe 'veeeeery' subtly could do something, but otherwise you dont want it to break visual symmetry as we are used to
-
Is the regex crate a bottleneck in your program? If so, can you share the details?
Wow, so they did: https://github.com/makepad/makepad/pull/142
-
Ask HN: I just want to have fun programming again
It says on the front page Mac and Web only
https://github.com/makepad/makepad#prerequisites
(windows and linux are coming )
-
Rust Web Framework Comparison
We can! It’s a lot of work because you don’t have the whole JS ecosystem to fall back on, but to some that’s a feature not a bug.
My favorite example of this is https://makepad.dev
-
Lapce release v0.0.12 open source code editor
And a feature highlight of Code Lens. The idea is borrowed from https://github.com/makepad/makepad
-
Why Not Rust?
When it comes to compile times, the most optimized Rust codebase I know for optimized for this is makepad.dev [1].
It is compiling from scratch on mac m1 in around 7.5s [2] and that's +100k lines of Rust. However there is close to none dependencies, so this +100k is all there is to compile pretty much.
[2] https://twitter.com/rikarends/status/1467529091284934666
What are some alternatives?
helix - A post-modern modal text editor.
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
alacritty - A cross-platform, OpenGL terminal emulator.
ProseMirror - The ProseMirror WYSIWYM editor
iota - A terminal-based text editor written in Rust
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
lapce - Lightning-fast and Powerful Code Editor written in Rust
gallery - Flutter Gallery was a resource to help developers evaluate and use Flutter
Servo - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
react-canvas - High performance <canvas> rendering for React components
kakoune.el - A very simple simulation of the kakoune editor inside of emacs.
enso - Hybrid visual and textual functional programming.