I've only seen SDC. Maybe there are some other options?
Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
November 12, 2021 D with JIT? | ||||
---|---|---|---|---|
| ||||
November 12, 2021 Re: D with JIT? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Menshikov | 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 Re: D with JIT? | ||||
---|---|---|---|---|
| ||||
Posted in reply to SealabJaster | 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 Re: D with JIT? | ||||
---|---|---|---|---|
| ||||
Posted in reply to SealabJaster | 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 Re: D with JIT? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Menshikov | 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 [1] https://wiki.dlang.org/LDC-specific_language_changes#.40.28ldc.attributes.dynamicCompile.29 |
November 12, 2021 Re: D with JIT? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Menshikov | 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 Re: D with JIT? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dr Machine Code | 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 Re: D with JIT? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | 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). |