Tuesday, December 07, 2021

Re: Package gccjit in lang/gcc?

On Tue, Dec 07 2021, "Theo de Raadt" <deraadt@openbsd.org> wrote:
> Jeremie Courreges-Anglas <jca@wxcvbn.org> wrote:
>
>> cc'ing maintainer,
>>
>> On Tue, Dec 07 2021, Timo Myyrä <timo.myyra@bittivirhe.fi> wrote:
>> > Hi,
>> >
>> > The upcoming emacs 28 has native compilation feature which allows it to
>> > use gcc to compile emacs lisp files to loadable libraries by using the
>> > libgccjit library. This library is not currently provided by the lang/gcc port
>> > and I took first stab at getting it done.
>>
>> I've heard about this feature, but I'm not eager to make use of it.
>> We'll have to weigh the pros and cons. emacs is already a complex port
>> which has become a bit easier to handle since the pdumper was
>> introduced. I have no idea how deep this gccjit rabbit-hole is.
>
> It's all fun and games until the jit compiler or jit engine has a bug.
>
>
> I wonder how many years before grep and sed are "required" to have JIT.

In this case I don't even know how appropriate "JIT" is in this
situation. If the Lisp files are compiled into modules that should
later be dlopened'd, that's not a regular JIT.

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

No comments:

Post a Comment