emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock


From: Eli Zaretskii
Subject: Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2)
Date: Fri, 12 Aug 2022 15:50:51 +0300

> From: Lynn Winebarger <owinebar@gmail.com>
> Date: Fri, 12 Aug 2022 08:37:25 -0400
> Cc: luangruo@yahoo.com, acm@muc.de, emacs-devel@gnu.org, 
>       monnier@iro.umontreal.ca, Yuan Fu <casouri@gmail.com>
> 
> > I don't have this information.  Maybe someone else does.  But in
> > general, it is a very small wonder that a parser written in optimized
> > C is much faster than anything written in Emacs Lisp, given that Lisp
> > is an interpreted language that has no special support for writing
> > parsers.
> 
> That can be cured over time, now that the bulk of the core of emacs
> uses lexical scoping.

I very much doubt that.  ELisp code cannot match the speed of
optimized C code.

> That does require changes to the byte code VM, but it's doable.

Then you are no longer talking about Emacs as we know it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]