[HN Gopher] Lite: A lightweight text editor written in Lua ___________________________________________________________________ Lite: A lightweight text editor written in Lua Author : nateb2022 Score : 52 points Date : 2022-10-11 20:46 UTC (2 hours ago) (HTM) web link (github.com) (TXT) w3m dump (github.com) | account-5 wrote: | I've looked at this codebase and that of the XL version. Can a | neone explain why there's C code there if it's meant to be lua? | Genuine novice question. Thanks. | ever1337 wrote: | No idea about this project in particular, but Lua is designed | with C operability in mind. It's very easy to integrate the two | languages together and this is often done so that you can have | performance-constrained code written in C with higher level | scripting done in Lua. | nateb2022 wrote: | The C is mainly used to wrap the Lua interpreter, so that the | editor can be distributed without the need for the user to have | a compatible Lua interpreter installed. | encryptluks2 wrote: | This appears to be unmaintained. | dflock wrote: | Maintained & improved fork: https://github.com/lite-xl/lite-xl | LeifCarrotson wrote: | So? It's a text editor. It's not like it's dependent on | continued uptime of cloud services to function... | cturtle wrote: | Lite (and lite-xl) is an amazing little editor. I especially love | how fast the program opens. There's just a few small things that | bother me enough to keep me from using it, but I remain impressed | by the code and how lightweight it is. | kwanele70 wrote: | blacksqr wrote: | So it uses SDL2 as a rendering engine. Does it roll its own | widget library? | stefanos82 wrote: | The community decided to work on a fork of it and extend it | further: https://github.com/lite-xl/lite-xl | brettermeier wrote: | There are many such projects, like Atom.io, whose support ends | this year. I can't imagine this project will continue much | further, even if I hope so. The only real open source project | that is up today is Visual Studio Code, but that will continue | to be maintained, I hope. | | Edit: Oh wait, I forgot Eclipse... That heavy thing :P | cycomanic wrote: | > There are many such projects, like Atom.io, whose support | ends this year. I can't imagine this project will continue | much further, even if I hope so. The only real open source | project that is up today is Visual Studio Code, but that will | continue to be maintained, I hope. | | What do you mean real open source project? I mean Linux is | not going anywhere soon I'd say, or blender. Or are you | talking about editors? There is Vim, Neovim and Emacs which | all have shown that they will stick around for a while, so I | really don't get what you mean. | brettermeier wrote: | I mean open source IDE's, real full featured developer | environments for writing code. I don't talk about Open | Source projects in general, but about competition for VS | Code or Eclipse. There is something like Sublime Text, but | it's not really open source and free. | | Edit: With Vim and stuff I get your point, but I would say | it's not really comparable to an UI-based IDE, it is | command line stuff. Even if many people prefer that, it may | not be as convenient as a GUI-based IDE for some of us. | | Or am I missing something here? I really love(d) atom.io, | but I need to find something else... | (https://github.blog/2022-06-08-sunsetting-atom/) | Aeolun wrote: | I like Zed currently. It seems to get closest to my IDE | needs by natively integrating with LSP while still being | ridiculously fast (that <1 startup time). | | JetBrains is building Fleet, which is also nice, but by | comparison to their existing suite extremely lacking. | | Both closed source though :/ | brettermeier wrote: | Zed talks about those two IDE's I mentioned in their FAQ, | so I really would like to try it. But you can't as a | normal user for now. But I'm looking forward to try it | some day. | dflock wrote: | lite-xl just did a new release - it's still being actively | developed, although only by a few people; but one of the | focuses is the small & maintainable codebase. | brettermeier wrote: | That's quite nice. But wasn't that the point with Atom.io, | too? But there was GitHub behind them. I will try lite-xl | and I wish them the very best :) | fortylove wrote: | This is neat. I remember learning some Lua in order to write some | custom Redis functions, and I was blown away by how handy of a | language it can be. The indexing definitely tricked me a few | times though. ___________________________________________________________________ (page generated 2022-10-11 23:00 UTC)