Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 20:09:25 +0900 > Cc: guile-u...@gnu.org, maximede...@telenet.be, t...@refpersys.org, > jit@gcc.gnu.org, dmalc...@redhat.com, bas...@starynkevitch.net > > Is the IR keeping the design of LIMPLE described in the slide? Yes.

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Nala Ginrut
Thanks for all your explanation! Is the IR keeping the design of LIMPLE described in the slide? Maybe Guile AOT can be inspired from it. Best regards. On Sun, Dec 15, 2024, 20:02 Eli Zaretskii wrote: > > From: Nala Ginrut > > Date: Sun, 15 Dec 2024 19:49:59 +0900 > > Cc: guile-u...@gnu.org, ma

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 19:49:59 +0900 > Cc: guile-u...@gnu.org, maximede...@telenet.be, t...@refpersys.org, > jit@gcc.gnu.org, dmalc...@redhat.com, bas...@starynkevitch.net > > Was it merged to upstream or abandoned? It was merged to upstream Emacs 3 years ago, and i

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread tomas
On Sun, Dec 15, 2024 at 07:49:59PM +0900, Nala Ginrut wrote: > Was it merged to upstream or abandoned? > Best regards. > > On Sun, Dec 15, 2024, 19:41 Eli Zaretskii wrote: > > > > From: Nala Ginrut > > > Date: Sun, 15 Dec 2024 17:07:24 +0900 > > > Cc: guile-u...@gnu.org, maximede...@telenet.be,

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Nala Ginrut
Was it merged to upstream or abandoned? Best regards. On Sun, Dec 15, 2024, 19:41 Eli Zaretskii wrote: > > From: Nala Ginrut > > Date: Sun, 15 Dec 2024 17:07:24 +0900 > > Cc: guile-u...@gnu.org, maximede...@telenet.be, t...@refpersys.org, > > jit@gcc.gnu.org, dmalc...@redhat.com, bas...@s

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 17:07:24 +0900 > Cc: guile-u...@gnu.org, maximede...@telenet.be, t...@refpersys.org, > jit@gcc.gnu.org, dmalc...@redhat.com, bas...@starynkevitch.net > > I’m referring to the mentioned link > https://akrl.sdf.org/gccemacs.html Whose last updat

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-15 Thread Nala Ginrut
@eli I’m referring to the mentioned link https://akrl.sdf.org/gccemacs.html Though it’s named gccemacs, may not be recognized by gcc or emacs community. Actually I never heard of it before. On Reiwa 6 Dec 15, Sun at 16:39 Eli Zaretskii wrote: > > From: Nala Ginrut > > Date: Sun, 15 Dec 2024

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-14 Thread Eli Zaretskii
> From: Nala Ginrut > Date: Sun, 15 Dec 2024 11:08:25 +0900 > Cc: Maxime Devos , t...@refpersys.org, > jit@gcc.gnu.org, > "dmalc...@redhat.com" , bas...@starynkevitch.net > > > FWIW libgccjit builds position independent code, and can be used to > build dynamic libraries (which is what I believe

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-14 Thread Nala Ginrut
sands of >>> plugins (and never bother dlclose-ing them) >>> >>> BTW in France the Lisp syntax and Scheme semantics of GNU guile is sadly >>> becoming impopular. I know few persons using it. >>> >>> Just in case I am attaching a few PDF files on RefPerSys

Re: AOT compiler (was: Running Compiled Guile Objects)

2024-12-14 Thread Nala Ginrut
t;> Some ideas of RefPerSys originated from books and papers by by Jacques >> Pitrat >> https://en.wikipedia.org/wiki/Jacques_Pitrat >> >> Please mention RefPerSys to your colleagues and forward them this email. >> >> Thanks >> >> >> >>

Re: Running Compiled Guile Objects

2024-12-14 Thread David Malcolm
On Sun, 2024-12-15 at 00:43 +0100, Maxime Devos wrote: > > > Those willing to contribute a proper ahead-of-time compiler to > > > GNU > > > guile could use the GNU CC libgccjit library which is part of the > > > GCC > > > compiler. > > > https://gcc.gnu.org/onlinedocs/jit/ > > > > ...and https://g

RE: Running Compiled Guile Objects

2024-12-14 Thread Maxime Devos
>> Those willing to contribute a proper ahead-of-time compiler to GNU >> guile could use the GNU CC libgccjit library which is part of the GCC >> compiler. >> https://gcc.gnu.org/onlinedocs/jit/ > >...and https://gcc.gnu.org/wiki/JIT > >Indeed, it turns out that everyone using libgccjit is using it

Re: Running Compiled Guile Objects

2024-12-14 Thread David Malcolm
On Sat, 2024-12-14 at 18:11 +0100, Basile Starynkevitch wrote: > On Sat, 2024-12-14 at 09:15 +0900, Nala Ginrut wrote: > > Hi Hakan! > > The current Guile is not AOT yet. Although the object file is ELF, > > it's > > just bytecode wrapped ELF header. So you can't run it as a regular > > executable

Re: Running Compiled Guile Objects

2024-12-14 Thread Basile Starynkevitch
On Sat, 2024-12-14 at 09:15 +0900, Nala Ginrut wrote: > Hi Hakan! > The current Guile is not AOT yet. Although the object file is ELF, > it's > just bytecode wrapped ELF header. So you can't run it as a regular > executable file. > Those willing to contribute a proper ahead-of-time compiler to GN