[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.
- Re: CC Mode with font-lock-maximum-decoration 2, (continued)
- Re: CC Mode with font-lock-maximum-decoration 2, Eli Zaretskii, 2022/08/09
- Re: CC Mode with font-lock-maximum-decoration 2, Alan Mackenzie, 2022/08/09
- Re: CC Mode with font-lock-maximum-decoration 2, Eli Zaretskii, 2022/08/09
- Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2), Lynn Winebarger, 2022/08/09
- Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2), Po Lu, 2022/08/09
- Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2), Eli Zaretskii, 2022/08/09
- Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2), Lynn Winebarger, 2022/08/10
- Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2), Po Lu, 2022/08/10
- Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2), Eli Zaretskii, 2022/08/10
- Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2), Lynn Winebarger, 2022/08/12
- Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2),
Eli Zaretskii <=
- Ideal performance of ELisp (was: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2)), Stefan Monnier, 2022/08/12
- Re: Ideal performance of ELisp (was: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2)), Lynn Winebarger, 2022/08/12
- Re: Ideal performance of ELisp, Stefan Monnier, 2022/08/12
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/13
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/13
- Re: Ideal performance of ELisp, Stefan Monnier, 2022/08/13
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/13
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/16
- Re: Ideal performance of ELisp, Stefan Monnier, 2022/08/16
- Re: Ideal performance of ELisp, Lynn Winebarger, 2022/08/17