Help understanding no-runtime error?
Steven Schveighoffer
schveiguy at gmail.com
Fri Nov 15 15:42:10 UTC 2024
On Wednesday, 13 November 2024 at 08:01:00 UTC, Manu wrote:
> I really wish there was an official document which maintained a
> list of all
> the expressions that generate runtime calls inside the
> compiler... there's
> a hell of a lot of them!
> If you sift through druntime, the fact that this code is such a
> mess is a
> really good indicator of some core language deficits. All these
> things
> handle SO MANY CASES.
> A lot of it will resolve with move semantics and the proper
> emplace
> expression that Walter's working... the rest of it, I dunno.
> Like, look at `template _arrayOp(Args...)`, that's pretty wild
> stuff!
Yes, that or, compiler hooks go in `core.internal.hooks` or
something like that.
I think we should focus on that once all the hooks-to-template
work is done.
-Steve
More information about the Digitalmars-d
mailing list