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…
Lapce – Fast open-source code editor
221–230 of 231 posts
Re: Lapce – Fast open-source code editor
#222Earlier quoted context omitted.
Really? I take it to mean "fast and won't randomly segfault".
That should really apply to any systems language other than C for a text editor. As long as you have bounds checking and a test suite you're golden.
Re: Lapce – Fast open-source code editor
#223Nowadays 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 don't understand this sentiment. Rust is the only language ecosystem where I find that anything works at all. Whenever I have to build something not built in rust, I'm praying. With rust made tooling, I just never have problems.
Re: Lapce – Fast open-source code editor
#224Nowadays 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 think 'safe'
Load a rust program into mem, change mem, run rust program. You’ve just lost safety.
Re: Lapce – Fast open-source code editor
#225Earlier quoted context omitted.
I'd prefer it written in Zig compared to Rust, C++, JavaScript, or Cobol ;)
What is zig?
Re: Lapce – Fast open-source code editor
#226No Electron? That is already one good thing ;) Why does Rust folks seem to encapsulate and separate their stuff more and more? Own build-tools and infrastructure are one thing. Am I right that Druid is not an very own Toolkit but a layer like WxWidgets?
Will people stop complaining about Electron once their machine has 8 or more GB of ram?
https://josephg.com/blog/electron-is-flash-for-the-desktop/
Why companies use Electron? It saves them money! And the users pay for CPU, RAM and suffer from bad usability. But that doesn't show up on your bill from Microsoft, Zoom, Spotify or Slack. And when your stuck with one software migration to better is hard. Steve Jobs killed Flash for just on reason, battery drain ^^
Re: Lapce – Fast open-source code editor
#227Supporting modal editing like vim is a huge plus for me. As far as personal projects go this is amazing. Kudos.
It's very barebones though, basic movement + get in and out of insert mode using i/I or a/A. Basic commands like y, d, c + motion are not supported yet.
Re: Lapce – Fast open-source code editor
#228Re: Lapce – Fast open-source code editor
#229Earlier quoted context omitted.
It's funny how people can disagree on pros / cons. For me it's: > - a single binary you can drop in ~/bin Well, a binary larger than quite some operating systems. (And not even talking about the security issues with such an approach). > - native Linux version Well, it's as "native" as an Electron app as it'll execute native machine code at some point. ;-) Besides that it feels as "native" as an Electron app… The UX i…
> Only that Kate is usable right now, and has in fact quite some features. There's dozen of us! :) As a matter of interest, have you managed to get a satisfactory Rust/LSP/Rust-Analyzer/Cargo setup running with your Kate install? (Also, Kate as an AppImage seems to be ~150-185MB as a data point for comparisons. (`libKF5TextEditor.so.5` is ~3.5MB.)) The whole "native UI" aspect is a reasonable discussion point but giv…
Never tried. Like I said, Kate is my "dumb desktop editor". For coding I'm currently using VSC (and have still an IntelliJ install around, in case of).
The AppImage size of Kate is just crazy! Didn't know. That's also not really acceptable. The package version is only 7 MB uncompressed… (And all the libs are shared as I'm using KDE anyway).
Regarding the UX: Maybe I'm just lazy but I'm not keen on learning and remembering different details in how applications work. The "feel" in the 'look & feel' of an app is the most important thing. But as people here mentioned Lapce does not even handle clicks in an "usual" way. A native file dialog is just the tip of the things that should feel "native", imho.
Re: Lapce – Fast open-source code editor
#230Complaining about bugs in an alpha software makes no sens so I won't. But one thing makes me uncomfortable regardless of its early state: It's gigantic! It's a 55 MB executable. You could fit at least one hundred full blow almost self contained (CLI) text-editors with the feature-set of Lapce in that size… What is going on there? Does it bundle an operating system, or even a whole EMACS distribution in that binary? B…
> It's a 55 MB executable. You could fit at least one hundred full blow almost self contained (CLI) text-editors with the feature-set of Lapce in that size… Sure, why not, I've got time to waste on endless bikeshedding... :D IMO 55MB isn't "gigantic"--a 450MB binary could rightly be called "gigantic": https://github.com/lapce/lapce/issues/24#issuecomment-100122... (But, ya know, ya don't get this here debugging info…
But my comment was more about the binary size.
I'm very much not a fan of this static compiled apps even I understand that from the developers standpoint they're nice. But properly packaging such a thing is usually more involved as I would be if is would be modular from the get go.
AppImages are a bit better as they're an "overlayed" bundle but still the usual problems remain.
How big would it be if it would use the dynamic libs provided by an distribution actually? I guess not bigger than Kate. :-)