Live data from Hacker News

Lapce – Fast and Powerful Code Editor written in Rust

github.com

61–70 of 152 posts

Re: Lapce – Fast and Powerful Code Editor written in Rust

#61
post #21

Earlier quoted context omitted.

sublime text is the best editor currently, in my view. apart from code folding.

Only problem with sublime is the exorbitant price. It's just too much!

$100 for what one (three?) years?

Seriously?

Forget the exorbitant tech salaries, so many other industries charge way more for essential equipment. That's chaper than a single snap-on wrench out of the hundreds that an automative shop has to buy. It's two months of adobe bundle that most graphic designers subscribe to. I think the perspective here is important.

Re: Lapce – Fast and Powerful Code Editor written in Rust

#62
post #3

Author here. I didn't expect this will go on Hacker News. Although the editor has been my daily drive for almost one year now, it's really rough on the edges. The plugin system as described in the README hasn't been implemented yet.

Hi, it looks nice! I really appreciate efforts like this, does it only supports Rust?

Re: Lapce – Fast and Powerful Code Editor written in Rust

#63

The 0.0.1 release crashes on MacOS 12.0.1, would be nice to try it out when its more stable.

yep, it crashes on Archlinux as well

Just wonder, what is the point of promoting something as "being written in Rust", if at the end it crushed the same way as "being written in C/C++/whatever".

Re: Lapce – Fast and Powerful Code Editor written in Rust

#65

You can also check out Helix (Kakoune-inspired, written in Rust, built-in LSP, terminal editor). https://helix-editor.com/ There's also Amp (Vim inspired, written in Rust) although it looks as though development has stopped https://amp.rs/

Wow, I didn't know about those editors, they look awesome man, thanks for sharing.

Re: Lapce – Fast and Powerful Code Editor written in Rust

#66

Earlier quoted context omitted.

Edit: Alright nevermind just saw in the repo that the UI is in Druid, have a nice day and again thank you

Care to elaborate on what's wrong with Druid?

Nothing, I edited the message because in the first version of the comment I asked which UI framework they were using, then I saw that info contained in the README and said "ah okay it's using Druid" as in "I saw that" not in "Ah crap you're using Druid"

Re: Lapce – Fast and Powerful Code Editor written in Rust

#67
post #3

Author here. I didn't expect this will go on Hacker News. Although the editor has been my daily drive for almost one year now, it's really rough on the edges. The plugin system as described in the README hasn't been implemented yet.

Why did you opt for WASI for plugins instead of native compiled code?

Webassembly makes a lot of sense for plugins.

* sandboxing, so plugins don't need to be as trusted

* Easy cross-platform distribution with a single build artifact

* plenty fast (if written in a language like Rust/C++ and paired with a good runtime)

Re: Lapce – Fast and Powerful Code Editor written in Rust

#68
post #8

Earlier quoted context omitted.

Why did you opt for WASI for plugins instead of native compiled code?

I think native compiled code is hard for plugin distributions. You'll need to target 3 main platforms Linux/macOS/Windows. You can use github actions to do it, but it would be so easier to just compile to WASI and that's it. Also, WASI is compelling to me because of the potential of writing plugins in different programming languages.

I think WASI is an excellent idea. Do you know how the ABI works?

Re: Lapce – Fast and Powerful Code Editor written in Rust

#69
post #3

Author here. I didn't expect this will go on Hacker News. Although the editor has been my daily drive for almost one year now, it's really rough on the edges. The plugin system as described in the README hasn't been implemented yet.

Why did you opt for WASI for plugins instead of native compiled code?

Either the plugin needs to be written in a common language (JS for VSCode, Python for Sublime Text) or native (Terraform does this for custom providers) but need to support many architectures.

WASI fits snuggly in between, being a common intermediate language

Re: Lapce – Fast and Powerful Code Editor written in Rust

#70
post #4

VS Code is so bloated af Waiting for this to be stable! Would love to contribute! Any next features doc, so I can pick a topic and submit some PRs. Awesome work :)

The bloating cycle should merit its own xkcd comic I guess. VS Code was specifically successful because it was perceived as much less bloated then IDEs, yet much more user friendly than most editors. Now we hear complaints that it is bloated. What will be next?

Emacs isn’t slow
Post reply on HN