top | item 47109923

(no title)

luckymate | 9 days ago

Just to be clear: you say by ‘dropping’ lisp you’re keeping it lightweight but it’s based on electron? So what does ‘lightweight’ mean in your opinion?

discuss

order

kurouna|9 days ago

Thank you for the sharp question! You are absolutely right that Electron itself has a baseline memory footprint that isn't small.

To give a clearer picture of what I mean by "lightweight," here is a quick startup comparison video I took a while ago: https://x.com/elecxzy/status/2022003439757336583

(Sorry for the Japanese text in the video!)

Left: VS Code

Middle: Windows Notepad

Right: elecxzy

As you can see, elecxzy boots up almost as instantly as native Notepad.

To ensure the actual text editing remains just as snappy and responsive as Notepad despite running in a browser engine, elecxzy features several optimizations, including a custom Piece Table and a fully virtualized DOM/renderer.

So in this context, "lightweight" means "Notepad-level startup speed and typing latency, but with native CJK IME support and Emacs keybindings." I should have been clearer about this distinction in my wording!

nohillside|8 days ago

How often do you start your editor? I start emacs once at booot and keep it running, using emacsclient to open additional files from the command line.

Look, I think that writing your own editor is useful because one learns a lot. And of course, it doesn't need to use Lisp or even be extendable at all. But it's not Emacs any longer if you remove the Lisp part.

artemonster|8 days ago

Is this fucking chatgpt comment?

imcritic|9 days ago

What answer to that question and in this situation would make any sense?

embedding-shape|9 days ago

The motivation/justification from the author why they believe removing lisp but adding Electron somehow sums up to being "lightweight"?

Maybe the author thought of the UX/baggage/legacy or something else when they thought about "lightweight", rather than how much memory/cpu cycles something is using? Not sure, but maybe there is a more charitable reading of it out there.

luckymate|9 days ago

Probably none. Still I’m curious what is the authors understanding. Whether he actually thinks it is a lightweight solution or whether that’s kind of advertising phrase, like ‘blazingly fast’

exe34|9 days ago

I believe it's called a rhetorical question.

wiseowise|9 days ago

None, just another Electron hater.