Live data from Hacker News

Lapce – Fast and Powerful Code Editor written in Rust

github.com

1–10 of 152 posts

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

#6
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?

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

#7
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?

not OP, but i think it makes sense. there isn't that much of a speed difference and you get free sandboxing, some memory safety, a ton of supported languages and more.

i don't know anything about WASI, but it probably solves the problem of having to interface with different native compiled code ABIs.

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

#8
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?

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.

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

#9
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.

Lsp support as well ? You have got to be kidding me. How did you add these feature so quickly ?
Post reply on HN