3 ms·
> What does JavaScript offer that elisp doesn't? 1) ===, !== 2) Memory use that'd melt my rather old daily-driver laptop. 3) A community of /cool/ people tha
by gkya 11y ago
> What does JavaScript offer that elisp doesn't?
1) ===, !==
2) Memory use that'd melt my rather old daily-driver laptop.
3) A community of /cool/ people that make web pages that appear blank on my browser (xombrero + js whitelisting).
4) Some <insert latin prefix here>pilers, e.g. CoffeeScript, TeaScript, Dart, Soccer...
5) Minifiers, maxifiers, maybe even identifiers.
...
Elisp certainly lacks two things that are real pain points, a well-performing vm, and proper multitasking. I'd also like to have a good way to embed webkit/gecko into emacs, that'd give a lot of possibilities.
- zeveb 11y agoYeah, if I could embed a GUI/console browser into emacs … I don't think I'd ever have any other program open.
- klibertp 11y ago> proper multitasking That's actually equally lacking on JS side (if you mean parallelism); moreover, Node advocates callback/promise-based concurrency, which is completely achievable[1] and even practical in Elisp, too. There are at least two HTTP servers written in Elisp. Lack of a high-performance VM for Emacs Lisp is a real pain, though. Emacs does everything I need it to do, it's just that sometimes it's a bit slower than I'd like. [1] https://github.com/kiwanami/emacs-deferred https://github.com/kiwanami/emacs-deferred