Search

May 30, 2022
General »
...better (add dataflow analysis to eliminate unnecessary allocations, etc.), or we can decide we want...
May 30, 2022
General »
Out of curiosity, are you linking in phobos statically or dynamically?  You can force either...
May 30, 2022
General »
...we got to embrace the GC, optimize allocations via escape analysis, and so on (a...
May 30, 2022
General »
...likely to uncover opportunities to revert GC allocations. For instance:

```d
auto foo() {
  return new...
May 30, 2022
General »
Also it's worth noting you can actually make some of these range patterns nogc...
May 30, 2022
General »
Ideally the dmd frontend would have a nice reliable IR to do this analysis properly...
May 30, 2022
General »
...a language-level guarantee that no GC allocations will happen in that function. This guarantee...
May 30, 2022
General »
(LDC dev) I doubt this will be able to be fixed. @nogc is a frontend...
May 30, 2022
General »
...LDC wouldn't have the need for a custom pass to revert the GC allocations.
May 30, 2022
General »
...is actually unable to eliminate all GC allocations in the @nogc code. Maybe I can...
14 15 16 17 18 19 20 21 22 23 24 25
Next ›   Last »