50 points · by snprajwal · 2y ago · 63 comments
All these things materially impact how interested I am in using and contributing to the project.
So Emacs' staying power is due to being written in LISP ?!
My argument is that Rust is certainly going to remain relevant for the next 20 years or so. When this project is no longer maintained, it probably won't be because Rust is no longer being developed, and it probably won't be because nobody writes Rust around.
If Lapce were written in something like Zig or Crystal, I wouldn't feel so certain about that. (Not a knock to Zig or Crystal.)
- Designed from the beginning to support an extension API with a richness comparable to VS Code's (unlike Sublime, Jetbrains etc)
- Presumably aiming to put performance as a higher priority than is usual
Sure you do. If I offered you a version of your current editor in the Befunge programming language, you'd rightly decline!
Programming languages aren't just all "basically the same".
Programming language choice, communicates something because programming languages have values.
Would you prefer a text editor written in Ruby or one written in Python?
This relates to a favorite article of mine:
It's not what programming languages do, it's what they shepherd you to.
https://nibblestew.blogspot.com/2020/03/its-not-what-program...
To tie in one of the article's examples:
> Perl shepherds you into using regexps
If you believe that regexes are hard to debug and overly complex, you might resist a text editor written in perl because it's likely that regexes are used everywhere (even when they shouldn't be).
That said, I can totally see why it would matter to some people why language something is written in: you may want to study or contribute to an editor and you may prefer to focus on your preferred language
0/10, not inclined to try again.
I think few categories undersells it. Just having Optional/Maybe in a language legitimately does make bugs disappear.
Segfaults are only one of many ways for software to go wrong.
In Rust’s case, I take it as a promise not to do anything memory-unsafe. Lapce did not keep this promise when I tried it.
But there’s bound to be unsafe code somewhere in a complex enough project.
Segfaults shouldn't happen in Rust, but there is widespread use of `.unwrap`
That said, it does not seem yet ready to be a daily driver, small rough edges in the terminal behavior or the editor when using Vim mode were too distracting to do a long programming session.
Kudos to the authors, looking forward to giving it a spin again the future.
Lapce Editor 0.3 - https://news.ycombinator.com/item?id=38262775 - Nov 2023 (98 comments)
Lapce – A code editor with LSP and DAP support - https://news.ycombinator.com/item?id=38100570 - Nov 2023 (2 comments)
Lapce Editor, Release v0.2.0 - https://news.ycombinator.com/item?id=32714191 - Sept 2022 (40 comments)
Lapce – Fast open-source code editor - https://news.ycombinator.com/item?id=30708505 - March 2022 (224 comments)
Lapce – Fast and Powerful Code Editor written in Rust - https://news.ycombinator.com/item?id=29549173 - Dec 2021 (145 comments)
That said, I'll give this a shot because:
- no funky telemetry - the stack used (wgpu etc) means this might be sufficiently low level to be much more resource efficient than alternatives - it sounds like the plugin architecture will allow for a vibrant extension ecosystem if this gets some adoption
VSCode does this feature the best. No other IDE comes close. I'm a jetbrains guy and I would've given up on vscode completely if it were not for this feature. This thing is extremely important for embedded systems and development on the edge and only vscode really does it well enough to be useable.
Glad to see Lapce has it to. Going to try it out.
It is really good, I'm sure a lot of people feel like they have to use VSCode because of it.
How convenient it's not open source huh?
For jetbrains it's java and for vscode it's an html rendering engine. An IDE built from vulkan or some other low level graphics API can likely be even faster then vim depending on the console it's running within.
https://github.com/lapce/lapce/blob/master/docs/installing-w...