News for hackers. Stuff that matters.
Re:Ecaml – Writing Emacs Plugins in OCaml by junke on Monday August 29, 2016 @04:25PM (#12385007)
I like both Emacs and OCaml but I can't see a case where I would want to use Ecaml. In what situation is it useful?
Re:Ecaml – Writing Emacs Plugins in OCaml by cm3 on Monday August 29, 2016 @04:40PM (#12385131)
In Emacs 25 you can write native plugins loaded dynamically at runtime. With this you can do it in OCaml instead of C. Of course you can write it in anything else that will expose the right C interface.
Re:Ecaml – Writing Emacs Plugins in OCaml by emidln on Monday August 29, 2016 @06:24PM (#12385950)
I suppose that begets the question, why would I write a native plugin instead of using elisp? I'm guessing the answer is so I can do some sort of background work in another thread?
Re:Ecaml – Writing Emacs Plugins in OCaml by mookid11 on Monday August 29, 2016 @07:13PM (#12386179)
You can use the ocaml toolchain (for instance: ocamllex and ocamlyacc) and stop writing ad hoc parsers.
Re:Ecaml – Writing Emacs Plugins in OCaml by junke on Tuesday August 30, 2016 @01:38AM (#12387772)
That makes sense. Thanks.
Re:Ecaml – Writing Emacs Plugins in OCaml by throwanem on Monday August 29, 2016 @06:46PM (#12386064)
That, or for speed, or in order to take advantage of already extant library functions rather than reimplementing them in Emacs Lisp, or some combination of the above.