On Monday, 8 June 2026 at 08:45:50 UTC, Mike Parker wrote:
We've got a handful of talks about LLMs lined up for DConf this year. As a sort of primer, you can read this new blog post by Danny Arends, ['Teaching an AI to Know Itself: Building a Local LLM Agent in D'](https://blog.dlang.org/2026/06/07/teaching-an-ai-to-know-itself-building-a-local-llm-agent-in-d/), in which he talks about [the local agentic LLM project he built in D](https://github.com/DannyArends/DLLM) called DLLM.

Nice but I saw problems with the use of `mixin`.

1. it supports severals arguemnts since a few years
2. it can be a rhs.

so for point 1

```d
mixin("alias ThisModule = " ~ __MODULE__ ~ ";");
```

can be rewritten nowadays, without concat,

```d
mixin("alias ThisModule = ",  __MODULE__, ";");
```

and for point 2

```d
alias ThisModule2 = mixin(__MODULE__);
```

otherwise I enjoy seeing a new generation hatching.
  • From the D Bl... Mike Parker via Digitalmars-d-announce
    • Re: From... Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
    • Re: From... Serg Gini via Digitalmars-d-announce
    • Re: From... user1234 via Digitalmars-d-announce
    • OT: Is t... ShadoLight via Digitalmars-d-announce
      • Re: ... ShadoLight via Digitalmars-d-announce

Reply via email to