Live data from Hacker News

Lapce – Fast open-source code editor

lapce.dev

161–170 of 231 posts

Re: Lapce – Fast open-source code editor

#161
post #88

Looks like there is some hardware incompatibility - the whole window, except for a small bit in the top left corner where I can see the "Open Folder" icon, is black. ``` $ lapce MESA-INTEL: warning: Haswell Vulkan support is incomplete $ uname -r 5.13.0-35-generic x86_64 x86_64 ``` Ubuntu 21.10

That error is your drivers saying they have incomplete Vulcan support. It could work if you update to a recent version of Ubuntu or use the extended hardware support release.

Re: Lapce – Fast open-source code editor

#162

Author here. Thanks for all the feedback. I'm aware that Lapce lacks lots of basic stuff. It's a personal project so the initial set of features and key bindings are tight to my personal preferences. I'm currently working on the missing pieces, like multi cursor support(in master but not released yet), mouse support, sane default key bindings(probably I'll stick to an existing editor), basic UX etc. Feel free to subm…

For me, the most important feature is VIM bindings. I used to suffer from severe RSI and VIM was a big part of what helped my wrists recover.

You an me both. I used emacs until I developed persistent tendonitis down the outside of my left hand.

Switched to vim, and the tendonitis resolved itself in about two months. That was back around 1990.

Re: Lapce – Fast open-source code editor

#163

Author here. Thanks for all the feedback. I'm aware that Lapce lacks lots of basic stuff. It's a personal project so the initial set of features and key bindings are tight to my personal preferences. I'm currently working on the missing pieces, like multi cursor support(in master but not released yet), mouse support, sane default key bindings(probably I'll stick to an existing editor), basic UX etc. Feel free to subm…

I am kind of curious. Which came first? The editor or Rust?

I was wondering if you were learning Rust and decided that you needed a project to reinforce your learning? Or you were designing and editor and decided you should do it in Rust?

Re: Lapce – Fast open-source code editor

#164

Author here. Thanks for all the feedback. I'm aware that Lapce lacks lots of basic stuff. It's a personal project so the initial set of features and key bindings are tight to my personal preferences. I'm currently working on the missing pieces, like multi cursor support(in master but not released yet), mouse support, sane default key bindings(probably I'll stick to an existing editor), basic UX etc. Feel free to subm…

This looks awesome!! The code editor space may seem saturated, but it's not! I've been looking for an alternative to VS Code for some time.

Some things I'm really excited for: - Remote development as a first-class citizen! I use code-server a ton now, but getting away from browser jank would be nice. - In the future I wonder if something besides SSH would work for the connection. SSH doesn't handle bad connections or closing a laptop and moving very well. I use wireguard to connect to my code-server instance right now and it's pretty close to feeling like I develop locally. - Lighter and faster. Why does my laptop always have to be burning... - A more FOSS ecosystem. VS Code is "open source" but not really in practice. Some important extensions (from Microsoft) have non-foss licenses and the standard distribution is built with non-foss tidbits. There are projects like Codium that rectify these issues to some degree.

Re: Lapce – Fast open-source code editor

#165

Author here. Thanks for all the feedback. I'm aware that Lapce lacks lots of basic stuff. It's a personal project so the initial set of features and key bindings are tight to my personal preferences. I'm currently working on the missing pieces, like multi cursor support(in master but not released yet), mouse support, sane default key bindings(probably I'll stick to an existing editor), basic UX etc. Feel free to subm…

I am kind of curious. Which came first? The editor or Rust? I was wondering if you were learning Rust and decided that you needed a project to reinforce your learning? Or you were designing and editor and decided you should do it in Rust?

I always wanted a "perfect" editor https://github.com/lapce/lapce/blob/master/docs/why-lapce.md

And my recent professional work was writing Rust, and I felt Rust would be really suitable for my editor.

Re: Lapce – Fast open-source code editor

#166
post #99

Earlier quoted context omitted.

And there is a stack trace. Worlds apart.

Well stack traces are just a gdb session away, no changes to code/binary needed. No?

Not all crashes in C or C++ can give you a meaningful stack trace. Lots of time there is heap corruption, or stack corruption.

Safe Rust has the same properties as a managed language, one is going to spend an order of magnitude less time hunting for bugs.

Re: Lapce – Fast open-source code editor

#167
post #15

Nowadays when I see "written in Rust" in the title, it reads like special pleading: "It's maybe not as good as what you use, but we are really proud to have got it working at all."

At least they went with "lighting-fast" instead of "blazing-fast"

I still prefer it to the "performant and beautiful" Electron made famous. almost all of the applications that said that were neither performant or beautiful, unless you found web pages and their quirks more beautiful than native GUIs.

Re: Lapce – Fast open-source code editor

#168

Earlier quoted context omitted.

Well stack traces are just a gdb session away, no changes to code/binary needed. No?

Not all crashes in C or C++ can give you a meaningful stack trace. Lots of time there is heap corruption, or stack corruption. Safe Rust has the same properties as a managed language, one is going to spend an order of magnitude less time hunting for bugs.

Gotcha, thanks for clarifying!

Re: Lapce – Fast open-source code editor

#169

Author here. Thanks for all the feedback. I'm aware that Lapce lacks lots of basic stuff. It's a personal project so the initial set of features and key bindings are tight to my personal preferences. I'm currently working on the missing pieces, like multi cursor support(in master but not released yet), mouse support, sane default key bindings(probably I'll stick to an existing editor), basic UX etc. Feel free to subm…

Extremely impressive for a personal project! Great job, if it were mine, I'd be exceptionally proud of it. I think the heat you're getting here is from the very slick website that makes Lapce look more finished than it is. It might be a good idea to adjust the text to manage people's expectations. Great job!

I think you're right on the heat front. It's probably causing a form of dissonance with some people.

Re: Lapce – Fast open-source code editor

#170
post #15

Nowadays when I see "written in Rust" in the title, it reads like special pleading: "It's maybe not as good as what you use, but we are really proud to have got it working at all."

I moreso see this as "Written by someone who's quite concerned about runtime performance and efficiency".

Ripgrep has completely upended my expectations (in a good way) for what modern machines are capable of. I'm all for OCD perfectionism if it means the performance I dreamed of in the 90's in finally realized.

Post reply on HN