Lurker News

Comments (256) 54 threads

Earlier comments
Skunkleton#
Its looking pretty impressive, especially for such a new project. Since you said it was fast, it got my huge log file test (1GiB of binary with lots of utf-8 text). It performed better than most editors do. It did have a few stalls though. Still, pretty impressive.
johnchristopher2 replies#
Looks nice.

But upon starting it up I lost all windows decorations (KDE), had to restart my session and lost the things I was working on in my terminals.
How can launching an app cripples the whole desktop ? (not that this have anything to do with the app to me, it's a plasma thing)
First thing I look for was support for vim keybinding, could neovim be used as the backend editor ?

SbEpUBz21 reply#
KDE disables compositing when SDL apps are opened to improve performance. It should return once the app is closed. You can disable this behavior in System Settings > Display and Monitor > Compositor and unchecking Allow applications to block compositing.
johnchristopher1 reply#
Wow, thank you !

It's not the first time something like that happened to me but I would never have had the patience to investigate !
Can confirm unchecking that setting solved that problem.

the_pwner224#
This will have very bad effects when playing video games and might(?) potentially increase battery usage when watching full screen videos.

Compositing should only provide the fancy effects like Wobbly Windows and window previews in the alt-tab switcher etc. Not sure why this is causing KWin to crash... You can use Alt-Shift-F12 by default to toggle compositing.
But if you're not doing anything more graphically intense than playing turn-based or slow-paced video games then I guess you can use that option to permanently leave on compositing.

tzekid#
Also on KDE and it works fine — but I have composing turned off.
donquichotte#
Lite is written by rxi, who has made some excellent game jams with very impressive youtube videos showing him doing programming, artwork and sound effects, all at record time [1]. His other github repos are also excellent, for example fe, a minimal Lisp, is definitely worth checking out.

[1] https://www.youtube.com/channel/UC1eJk1sWcUYvBwnn7v5RLaQ/vid...

moonchild1 reply#
Odd that they chose lua 5.2. The most popular luas nowadays are 5.1 (the version that luajit implements), and 5.3 (which was for a long time the 'latest and greatest', though it's been superseded by 5.4).
aeosynth#
5.4 hasn't officially released (it's in the RC stage) so 5.3 is still the latest stable/supported version.
codemac#
They have all of the lua implementation checked in, which they didn't write.

Most of the implementation is oddly in the "data" folder.

hawski#
If you check the C sources you'll find that it's Lua itself and libSDL.
pentlander#
Probably because that C code is the embedded Lua interpreter. See the lua.h file, there's the copyright notice at the bottom.
LukeShu#
Because it has complete copies of Lua 5.2 (src/lib/lua52), stb truetype (src/lib/stb), and SDL2 (winlib/SDL2-2.0.10) checked in.

Excluding those, it's 1369 lines of C (.c or .h), and 5389 lines of Lua (.lua), and 112 lines of other files (license, readme, build scripts...); or 78.4% Lua, 19.9% C, and 1.6% other. I didn't count fonts or images (.ttf, .ico, or .inl).

Load more comments