www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D with JIT?

reply Menshikov <mensikovk817 gmail.com> writes:
I've only seen SDC. Maybe there are some other options?
Nov 12 2021
next sibling parent reply SealabJaster <sealabjaster gmail.com> writes:
On Friday, 12 November 2021 at 13:36:35 UTC, Menshikov wrote:
 I've only seen SDC. Maybe there are some other options?
I've been wondering for a while now how viable it would be to make a subset of D for the MIR JIT library: https://github.com/vnmakarov/mir It'd be interesting to say the least: "Emebedable D"
Nov 12 2021
next sibling parent max haughton <maxhaton gmail.com> writes:
On Friday, 12 November 2021 at 17:24:38 UTC, SealabJaster wrote:
 On Friday, 12 November 2021 at 13:36:35 UTC, Menshikov wrote:
 I've only seen SDC. Maybe there are some other options?
I've been wondering for a while now how viable it would be to make a subset of D for the MIR JIT library: https://github.com/vnmakarov/mir It'd be interesting to say the least: "Emebedable D"
If it supports exceptions it might not be too hard to do.
Nov 12 2021
prev sibling parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Friday, 12 November 2021 at 17:24:38 UTC, SealabJaster wrote:
 On Friday, 12 November 2021 at 13:36:35 UTC, Menshikov wrote:
 I've only seen SDC. Maybe there are some other options?
I've been wondering for a while now how viable it would be to make a subset of D for the MIR JIT library: https://github.com/vnmakarov/mir It'd be interesting to say the least: "Emebedable D"
Would be a pretty fun project
Nov 12 2021
parent SealabJaster <sealabjaster gmail.com> writes:
On Friday, 12 November 2021 at 18:54:05 UTC, Imperatorn wrote:
 Would be a pretty fun project
To make it easier for anyone who wants to experiment with the idea, I've made this repo: https://github.com/BradleyChatha/idjit It's a meson based repo that compiles with MIR and DMD-FE. Hopefully that should ease the burden of getting set up for those that just want to mess with the idea of a D JIT (I'm too dumb to get anywhere myself ;D).
Nov 12 2021
prev sibling next sibling parent jmh530 <john.michael.hall gmail.com> writes:
On Friday, 12 November 2021 at 13:36:35 UTC, Menshikov wrote:
 I've only seen SDC. Maybe there are some other options?
I've personally never made use of it, but LDC has `dynamicCompile` [1, 2]. [1] https://wiki.dlang.org/LDC-specific_language_changes#.40.28ldc.attributes.dynamicCompile.29 [2] https://forum.dlang.org/thread/bskpxhrqyfkvaqzoospx forum.dlang.org
Nov 12 2021
prev sibling parent reply Dr Machine Code <jckj33 gmail.com> writes:
On Friday, 12 November 2021 at 13:36:35 UTC, Menshikov wrote:
 I've only seen SDC. Maybe there are some other options?
I've never used those, out curiosity, where are you going to use that with D?
Nov 12 2021
parent Dr Machine Code <jckj33 gmail.com> writes:
On Friday, 12 November 2021 at 19:31:19 UTC, Dr Machine Code 
wrote:
 On Friday, 12 November 2021 at 13:36:35 UTC, Menshikov wrote:
 I've only seen SDC. Maybe there are some other options?
I've never used those, out curiosity, where are you going to use that with D?
I was read about JIT totally forgot what was that. Forget that question
Nov 12 2021