4 ms·
Lexbind and coroutines will be nice. But unfortunately, we are very close to the point where Emacs' internal design won't work anymore. (Fortunately, most of
by jrockway 17y ago
Lexbind and coroutines will be nice. But unfortunately, we are very close to the point where Emacs' internal design won't work anymore. (Fortunately, most of the important stuff in Emacs is Emacs Lisp, which is easy enough to compile and run. The VM / C core is not very complicated.)
- asolove 17y agoCan you explain? I don't know anything about why the internal design won't work anymore.
- jrockway 17y agoImportant functionality cannot be modified without a full recompile, which is always annoying. Try calling, say, font-backend functions from lisp... and then try overriding them. All of Emacs needs to be dynamic, not just some of it. It would also be nice to allow other languages to target the Emacs VM without rewriting those languages. Something like LLVM would be a good intermediate platform; lots of compilers can generate code for it, and the various assemblies can call each other. Most users don't care, because they just want to write a function to replace < and > with < and >... but some people writing more complex modes would appreciate cleaner internals. Why shouldn't Emacs be as fast and accurate as Yi, after all?
- asolove 17y agoGood to know, thanks!
- msg 17y agoSorry, a stray click downvoted your comment and I cannot undo. I upvoted another one of your comments to balance out the universe.
- modokode 17y agoWell, from what I've skimmed in the emacs-devel list, there's some talk of putting guile in there, so that'd at least open up for scheme, and I guess javascript, or whatever it is that guile currently supports. This'd probably solve things like bignum support and so on too, I guess. I doubt we'd see this even in emacs25, though, but, still...