Translate _d_array{,set}ctor to templates#13116
Conversation
|
Thanks for your pull request and interest in making D better, @teodutu! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#13116" |
|
Missing is why do this. What problem is being solved. It adds a bunch of code. |
|
@WalterBright You can find more information here: https://forum.dlang.org/thread/bbhmgddyabnuxajlxgqp@forum.dlang.org @teodutu can you please update the commit message and pull request description with a brief information about the project goals and why the change is necessary? |
I mentioned the initial proposal: dlang/project-ideas#25 |
99b9330 to
12bc7f5
Compare
|
The code should pass (more) tests when this PR is merged: dlang/druntime#3582 |
|
@teodutu Rebase this and lets see what happens. |
|
12bc7f5 to
7cc4aec
Compare
|
This is currently blocked by this issue: https://issues.dlang.org/show_bug.cgi?id=22372 |
2365a1d to
739679f
Compare
3aa786c to
09b8398
Compare
101c6ad to
93ae830
Compare
89141de to
9ff61bb
Compare
Signed-off-by: Dan Printzell <xwildn00bx@gmail.com>
Signed-off-by: Dan Printzell <xwildn00bx@gmail.com>
Signed-off-by: Dan Printzell <xwildn00bx@gmail.com>
Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
9ff61bb to
44221d8
Compare
|
In this post, I highlighted that adding a third parameter to |
f3847b4 to
7e532af
Compare
druntime PR: dlang/druntime#3587 Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
7e532af to
eeb7f7f
Compare
|
I'm so happy this finally got in. Congrats for this awesome work @teodutu ! |
|
Awesome work, thanks! I just took a look at https://github.com/dlang/druntime/pull/2655/files and there are a few opportunities for improvements:
|
|
To add to Andrei's notes, if these functions are going to be instantiated by user code, the try/catches also need a |
These hooks have been converted to templates and their lowerings changed to use those templates: - dlang/dmd#13116 - dlang/dmd#13495 - dlang/dmd#13398 Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
These hooks have been converted to templates and their lowerings changed to use those templates: - dlang/dmd#13116 - dlang/dmd#13495 - dlang/dmd#13398 Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
These hooks have been converted to templates and their lowerings changed to use those templates: - dlang/dmd#13116 - dlang/dmd#13495 - dlang/dmd#13398 Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
|
This PR caused a regression. https://issues.dlang.org/show_bug.cgi?id=23181 |
These hooks have been converted to templates and their lowerings changed to use those templates: - dlang/dmd#13116 - dlang/dmd#13495 - dlang/dmd#13398 Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
This PR is part of replacing runtime hooks in DMD with templates, as described in this project.
I also provided a short description of this project in this forum post.
This PR concludes Dan Printzell's previous work: