www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - MIR: A lightweight JIT compiler project

reply Petar Kirov [ZombineDev] <petar.p.kirov gmail.com> writes:
https://developers.redhat.com/blog/2020/01/20/mir-a-lightweight-jit-compiler-project/

It would be interesting if LDC could hook into it.
Jan 21 2020
next sibling parent kinke <noone nowhere.com> writes:
On Tuesday, 21 January 2020 at 10:47:52 UTC, Petar Kirov 
[ZombineDev] wrote:
 https://developers.redhat.com/blog/2020/01/20/mir-a-lightweight-jit-compiler-project/

 It would be interesting if LDC could hook into it.
Sounds interesting, once the MIR backend/translator from LLVM IR is complete. The guy apparently has to fight the ABI insanities imposed by LLVM - I feel your pain, dude. :]
Jan 21 2020
prev sibling next sibling parent reply user1234 <user1234 1234.de> writes:
On Tuesday, 21 January 2020 at 10:47:52 UTC, Petar Kirov 
[ZombineDev] wrote:
 https://developers.redhat.com/blog/2020/01/20/mir-a-lightweight-jit-compiler-project/

 It would be interesting if LDC could hook into it.
yeah maybe but good blog post quality here anyway, thanks for sharing this. Interesting read.
Jan 22 2020
parent Basile B. <b2.temp gmx.com> writes:
On Wednesday, 22 January 2020 at 12:22:02 UTC, user1234 wrote:
 On Tuesday, 21 January 2020 at 10:47:52 UTC, Petar Kirov 
 [ZombineDev] wrote:
 https://developers.redhat.com/blog/2020/01/20/mir-a-lightweight-jit-compiler-project/

 It would be interesting if LDC could hook into it.
yeah maybe but good blog post quality here anyway, thanks for sharing this. Interesting read.
well maybe the only criticism I would have toward the article is that it says that libfirm is a huge codebase (140 KSLOC) without more details. It is indeed but it compiles very fast in itself (3 or 4 seconds here). So maybe firm **JIT** is not as good as the author's one but it's mostly a back end in first place, with optional jitting feature. Then as a backend, it's faster to compile than LLVM.
Jan 22 2020
prev sibling next sibling parent Ernesto Castellotti <erny.castell gmail.com> writes:
On Tuesday, 21 January 2020 at 10:47:52 UTC, Petar Kirov 
[ZombineDev] wrote:
 https://developers.redhat.com/blog/2020/01/20/mir-a-lightweight-jit-compiler-project/

 It would be interesting if LDC could hook into it.
MIR must be moved to Mars!
Feb 13 2020
prev sibling parent Stefan Koch <uplink.coder googlemail.com> writes:
On Tuesday, 21 January 2020 at 10:47:52 UTC, Petar Kirov 
[ZombineDev] wrote:
 https://developers.redhat.com/blog/2020/01/20/mir-a-lightweight-jit-compiler-project/

 It would be interesting if LDC could hook into it.
Hmm MJIT looks rather horrible ... There are macros everywhere which is how it achives the small size.
Feb 17 2020