www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [GSoC 2025] Templated Hooks - Weekly Update #8

reply AlbertG <albert.guiman protonmail.com> writes:
This week I have checked on Rainer's PR [1], helping a bit with 
some failing tests. The PR now seems to be pretty much ready to 
be merged.

I have also created benchmarks for the templatized 
`_d_arrayliteralTX`[2] and AA[3] hooks. The results for [2] ran 
with dmd were pretty good, showing both performance improvements 
and size reductions in the libdruntime/libphobos. I am going to 
run [3] as well, but might wait until the PR is merged. In any 
case, there won't be any conclusive results until the 
modifications are integrated into ldc/gdc and tested with those 
compilers.

[1] https://github.com/dlang/dmd/pull/21066
[2] https://github.com/teodutu/druntime-hooks-benchmarks/pull/5
[3] https://github.com/teodutu/druntime-hooks-benchmarks/pull/6
Jul 28
parent Luna <luna foxgirls.gay> writes:
On Monday, 28 July 2025 at 18:30:12 UTC, AlbertG wrote:
 This week I have checked on Rainer's PR [1], helping a bit with 
 some failing tests. The PR now seems to be pretty much ready to 
 be merged.

 I have also created benchmarks for the templatized 
 `_d_arrayliteralTX`[2] and AA[3] hooks. The results for [2] ran 
 with dmd were pretty good, showing both performance 
 improvements and size reductions in the libdruntime/libphobos. 
 I am going to run [3] as well, but might wait until the PR is 
 merged. In any case, there won't be any conclusive results 
 until the modifications are integrated into ldc/gdc and tested 
 with those compilers.

 [1] https://github.com/dlang/dmd/pull/21066
 [2] https://github.com/teodutu/druntime-hooks-benchmarks/pull/5
 [3] https://github.com/teodutu/druntime-hooks-benchmarks/pull/6
Excited to see the progress on the hook templatisation, going to make it easier to maintain custom runtimes.
Jul 29