Thread overview
D with JIT?
Nov 12, 2021
Menshikov
Nov 12, 2021
SealabJaster
Nov 12, 2021
max haughton
Nov 12, 2021
Imperatorn
Nov 13, 2021
SealabJaster
Nov 12, 2021
jmh530
Nov 12, 2021
Dr Machine Code
Nov 12, 2021
Dr Machine Code
November 12, 2021

I've only seen SDC. Maybe there are some other options?

November 12, 2021

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"

November 12, 2021

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.

November 12, 2021

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

November 12, 2021

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

November 12, 2021

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?

November 12, 2021

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

November 13, 2021

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).