News for hackers. Stuff that matters.
Re:EmacsConf 2024 Notes by llm_trw on Saturday December 28, 2024 @10:40PM (#42537312)
Emacs is good because the barrier to entry is so high. Anyone who sees elisp and doesn't run for the hills is the type of person who has interesting ideas.
Re:EmacsConf 2024 Notes by mahmoudimus on Sunday December 29, 2024 @12:13AM (#42537713)
That was the defining reason for me to switch from vim to emacs :) still have the date on my calendar and I celebrate my emacs-versary with M-x tetris :D
Re:EmacsConf 2024 Notes by sph on Sunday December 29, 2024 @03:20AM (#42538505)
I still chuckle whenever someone tries to remake Emacs using Lua, completely missing the reason Emacs is so powerful is because it's written on a Lisp.

EDIT: looks like even in this thread people are suggesting to use Lua instead of elisp. smh

Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @04:06AM (#42538712)
Kids that dismiss Lisp without even grasping the amazing power behind it, remind me the story of Yanomami languages of Amazonian tribes. Apparently, there's word for 'one' and for 'two', but there's no word for 'three', in their language, only a generic word that basically means 'a lot'.

Now imagine trying to explain to them the concept of subtracting a hundred from a billion and the most straightforward way to deal with that is a decimal numbering system. I think they'd kill you for blackmagicfuckery on the spot.

Well, if that comparison feels condescending, let's imagine ancient Romans - with all their sophisticated culture, economy and traditions. They wouldn't kill you, but still the idea of a number such a billion would probably terrify them. They'd probably be like: "dear sapientissime señore, we respect your wisdom, but we rather use... Lua"

Re:EmacsConf 2024 Notes by anthk on Sunday December 29, 2024 @12:03PM (#42541156)
Romans knew about thousand based multipliers with a mark over the letter.
Re:EmacsConf 2024 Notes by iLemming on Sunday December 29, 2024 @06:05PM (#42544362)
Okay, please share your wisdom, tell me how would they express "1,000,000,000 - 100" using Latin numerals?

Oh, I found the answer on my own, with the help of LLM. For a billion you can use M̅M̅, which technically would mean a thousand thousand thousands, and to denote the calculation above you'd write - M̅M̅CM. But my point still remains relevant - this is the modern extended version of Roman numerals. In ancient Rome they typically never would go up to a billion.

Re:EmacsConf 2024 Notes by JonChesterfield on Sunday December 29, 2024 @05:58AM (#42539197)
Lua can be viewed as a pretty solid lisp dialect. You've got the compiler available at runtime, first class functions and coroutines, sensible language runtime. Type system is pretty much the same. It doesn't do the phase separated macros out of the box, but metalua does. Performance is rubbish and the syntax is a parse away from the s-expression ast but whatever, the semantics are right.
Re:EmacsConf 2024 Notes by kragen on Sunday December 29, 2024 @07:09AM (#42539449)
I mostly agree.

Probably Stallman would object that Lua doesn't have read (apart from eval) and print.

As for performance, LuaJIT performance is better than any Common Lisp or Elisp, and dramatically better than the first 35 years of Elisp, before native-code compilation.

Re:EmacsConf 2024 Notes by anthk on Sunday December 29, 2024 @12:04PM (#42541158)
Any common Lisp? SBCL is no turtle.
Re:EmacsConf 2024 Notes by kragen on Sunday December 29, 2024 @03:07PM (#42542597)
Compared to LuaJIT it is, unless you monomorphize and turn off safety checks, at which point you're basically programming in C with Lisp syntax.
Re:EmacsConf 2024 Notes by pjmlp on Monday December 30, 2024 @03:02AM (#42547447)
There are plenty of powerful programmer editors, yes being mostly written in Lisp dialect makes it powerful, but also makes one lose too much time yak shaving instead of programming the actual task.

XEmacs, much better than Emacs back then, was my rescue for not having IDE culture back in my early UNIX days. We're talking back when Xenix and DG/UX would be known names to anyone working with UNIXes.

Nowadays, while Emacs key bindings and elisp might still be burned into my brain cells, I no longer reach out to it.