[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using incremental parsing in Emacs
From: |
arthur miller |
Subject: |
Re: Using incremental parsing in Emacs |
Date: |
Sat, 4 Jan 2020 13:22:36 +0000 |
VanL <van@scratch.space> writes:
> Eli Zaretskii <address@hidden> writes:
>
>> E.g., step 1 is anathema to JIT font-lock: it would produce a long
>> delay in displaying a file's buffer when the file is first visited.
>> For example, think about visiting a large and complex source file such
>> as xdisp.c: even if it takes tens of milliseconds to parse all of it,
>> as some tree-sitter presentation claims, waiting for that long before
>> we even start displaying the first window-full would be an annoyance.
>> And that's even before we consider the time to compute all the face
>> text properties from the syntax tree, something that will also take
>> time.
>
> Is it possible to phase out the C part of Emacs over the present decade
> given [1] and can the approaches presented there foreshorten that wait
> time?
>
> Footnotes:
> [1] C is not a low-level language
> https://queue.acm.org/detail.cfm?id=3212479
That was a long read article. I don't believe C is chosen because of
being a low-level language, probably because at some point was a
"high-level" :-) Anyway, I always wondered if Emacs could be compiled
as C++ code (with g++). It would made lot's more code avialable to
be used in Emacs.
- Re: Using incremental parsing in Emacs, (continued)
- Re: Using incremental parsing in Emacs, arthur miller, 2020/01/04
- Re: Using incremental parsing in Emacs, Stephen Leake, 2020/01/04
- Re: Using incremental parsing in Emacs, Eli Zaretskii, 2020/01/04
- Re: Using incremental parsing in Emacs, Stephen Leake, 2020/01/05
- Re: Using incremental parsing in Emacs, yyoncho, 2020/01/05
- Re: Using incremental parsing in Emacs, Dmitry Gutov, 2020/01/05
Re: Using incremental parsing in Emacs, HaiJun Zhang, 2020/01/03
Message not available
- Re: Using incremental parsing in Emacs, HaiJun Zhang, 2020/01/03
- Re: Using incremental parsing in Emacs, Eli Zaretskii, 2020/01/04
- Re: Using incremental parsing in Emacs, VanL, 2020/01/04
- Re: Using incremental parsing in Emacs,
arthur miller <=
- Replacing all C code????, Richard Stallman, 2020/01/04
- Re: Replacing all C code????, VanL, 2020/01/04
- Re: Replacing all C code????, Richard Stallman, 2020/01/05
- Re: Replacing all C code????, Stefan Monnier, 2020/01/05
- Re: Replacing all C code????, Fangrui Song, 2020/01/05
- Re: Replacing all C code????, Richard Stallman, 2020/01/05
- Re: Replacing all C code????, Stefan Monnier, 2020/01/05
- Re: Replacing all C code????, VanL, 2020/01/06
Re: Using incremental parsing in Emacs, arthur miller, 2020/01/04
Re: Using incremental parsing in Emacs, Dmitry Gutov, 2020/01/04