November 23, 2022 General » Re: Discussion: Porting 58000 lines of D and C++ to jai, Part 0: Why and How | |||
|---|---|---|---|
| |||
...with lots of compile-time stuff and template complexity, 1.8GB main executable binary in... | |||
November 23, 2022 General » Re: Feedback Thread: DIP 1044--Enum Type Inference--Community Review Round 1 | |||
|---|---|---|---|
| |||
...used (at least) in C++ for “explicit template instantiation.” D has templates, so ETI... | |||
November 23, 2022 General » Re: Discussion Thread: DIP 1044--Enum Type Inference--Community Review Round 1 | |||
|---|---|---|---|
| |||
...type. The type might even be a template type parameter. It’s a best effort solution... | |||
November 22, 2022 Learn » Re: Can't assign extern(C) function pointer to D variable? | |||
|---|---|---|---|
| |||
...I'm actually staying with the wrapping template solution. (Because the strongly typed one turns... | |||
November 22, 2022 Learn » Can't assign extern(C) function pointer to D variable? | |||
|---|---|---|---|
| |||
...better one? I came up with a template solution: https://github.com/XavierAP/game-king... | |||
November 22, 2022 General » Re: Feedback Thread: DIP 1044--Enum Type Inference--Community Review Round 1 | |||
|---|---|---|---|
| |||
...t infer a type to instantiate the template with from "$a" } ``` Why is this? Well... | |||
November 22, 2022 General » [SAoC 2022] Replace druntime Hooks with Templates: Milestone 2, Week 4 | |||
|---|---|---|---|
| |||
...I spent this week looking into the template `_d_newitemU`. What's most difficult is... | |||
November 21, 2022 General » Re: Discussion Thread: DIP 1044--Enum Type Inference--Community Review Round 1 | |||
|---|---|---|---|
| |||
...the AST before instantiating it. But: 1. template compilation is not known for speed or... | |||
November 21, 2022 General » Re: Feedback Thread: DIP 1044--Enum Type Inference--Community Review Round 1 | |||
|---|---|---|---|
| |||
...or a B? foo(bar!($a)); The template bar will have to be instantiated twice... | |||
November 21, 2022 Learn » Re: Is defining get/set methods for every field overkill? | |||
|---|---|---|---|
| |||
...mixin templates. Say you have:
```D
mixin template Property(T) {
private T subject_;
T Property... | |||
Copyright © 1999-2021 by the D Language Foundation