You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: posts/inside-rust/2022-07-29-compiler-team-2022-midyear-report.md
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -286,14 +286,14 @@ and we have completed some of our milestones. Furthermore, (some of) our work ha
286
286
**Progress:** The Rust project has made progress on this ambition since the start of the year
287
287
288
288
**Goals:** We had no goals for this ambition planned for this year, but we made ad-hoc progress on the problem itself.
289
-
There’s nearly an unbounded amount of effort that could be spent improving debuginfo quality but wesleywiser thinks we are making significant improvement both over the last 6 months and in the final 6 months of this year as well.
289
+
There’s nearly an unbounded amount of effort that could be spent improving debuginfo quality but @wesleywiser thinks we are making significant improvement both over the last 6 months and in the final 6 months of this year as well.
290
290
291
291
**How it started:** At start of 2022, we knew a problem existed, but we did not yet have a specific goal in mind for solving the problem.
292
292
293
293
**How it's going:** We would like help deciding what to do next.
294
294
We understand the problem better than we did at the start of the year, we have Rust contributors who have agreed to help with the units of work that we have identified,
295
295
Furthermore, (some of) our work has reached Rust programmers. In some cases, we do not know if it has improved Rust for them; in others, what we learn of their usage is informing our plans going forward.
296
-
Much of the work wesleywiser is aware of has landed in 1.60 or 1.61 but there are a few small pieces landing in 1.62 (current beta).
296
+
Much of the work @wesleywiser is aware of has landed in 1.60 or 1.61 but there are a few small pieces landing in 1.62 (current beta).
297
297
298
298
**Details:**
299
299
We've made concrete improvements/fixes to debuginfo generation.
@@ -310,14 +310,14 @@ Specifically:
310
310
Surprises:
311
311
Debuginfo just doesn't have enough test coverage, but that isn't particularly surprising.
312
312
313
-
**Regarding prioritization and focus:** debugging in general is a top priority for mw & wesleywiser’s
313
+
**Regarding prioritization and focus:** debugging in general is a top priority for @mw & @wesleywiser’s
**Progress:** The Rust project has not made any progress on this ambition since the start of the year (pnkfelix: but the free form answer somewhat contradicts this)
320
+
**Progress:** The Rust project has not made any progress on this ambition since the start of the year (@pnkfelix: but the free form answer somewhat contradicts this)
321
321
322
322
**Goals:** As of today, we think this year’s planned goals for this ambition will be achieved in the next six months, and we think the most important parts of a solution will be available in the next six months.
323
323
@@ -331,7 +331,7 @@ Progress this year has primarily been some benchmarking of Split DWARF and some
331
331
332
332
Future work is basically just stabilization of `-Csplit-debuginfo` on Linux (Split DWARF); and of the currently-default options for the other platforms (for example, `-Csplit-debuginfo=packed` on Windows requires `-Zunstable-options` despite being effectively the default if you don't specify any flags).
333
333
334
-
The owner of this work, davidtwco, intends to stick with the theme of debugging and contribute to the wg-debugging working group, but has also shifted attention to diagnostic translation they see that as an interesting area where they can have impact (and because the remaining implementation tasks for split debuginfo were completed as noted above).
334
+
The owner of this work, @davidtwco, intends to stick with the theme of debugging and contribute to the wg-debugging working group, but ha
8000
s also shifted attention to diagnostic translation they see that as an interesting area where they can have impact (and because the remaining implementation tasks for split debuginfo were completed as noted above).
335
335
336
336
### better integration with trace-based debuggers
337
337
@@ -346,12 +346,12 @@ we think a solution will be available in the next two years, but not sooner than
346
346
347
347
**How it's going:** We would like help deciding what to do next.
348
348
349
-
**Details:** pnkfelix spent a significant portion of 2021 learning about `rr` and
349
+
**Details:**@pnkfelix spent a significant portion of 2021 learning about `rr` and
350
350
`pernos.co`. They had hoped to spend some of 2022 trying to improve the
351
-
experience when using those tools with Rust, but so far pnkfelix has failed to
351
+
experience when using those tools with Rust, but so far @pnkfelix has failed to
352
352
allocate sufficient time to make headway here.
353
353
354
-
One thing that pnkfelix thinks would be great to deliver would be recreating
354
+
One thing that @pnkfelix thinks would be great to deliver would be recreating
355
355
`pernos.co`'s click-on-terminal behavior, which jumps to the point in the
356
356
control flow where that specific character was emitted to stdout/stderr.
357
357
@@ -399,9 +399,9 @@ and that the most important parts of a solution will likewise be available in th
399
399
400
400
**Regarding prioritization and focus:** Since the opening of the stabilization PR and following pushback, progress has been slow. That has, in part, been to try to incorporate work from other projects (NLL, a-mir-formality) into the “stabilization package” - either through direct improvements (from NLL) or a more clear future (through modeling of GATs in a-mir-formality). However, there are other bits of work (writing docs, triaging new issues) that could be done in parallel that have been somewhat partially neglected.
401
401
402
-
For Jack Huey, switching to getting NLL stabilized was a nice change of pace. In a sense, it was “low-hanging fruit” and was a helpful mental break from pushing so hard on GATs for the past year.
402
+
For @jackh726, switching to getting NLL stabilized was a nice change of pace. In a sense, it was “low-hanging fruit” and was a helpful mental break from pushing so hard on GATs for the past year.
403
403
404
-
If Jack hadn’t been working on GATs for the past year or so, they would have instead been pushing harder on Chalk and librarifcation. In particular, there are fundamental questions, e.g. associated type normalization, to solve there. Recent work with a-mir-formality has started to help answer those. In the meantime, GATs were at a state that they were “unblocked”, had significant interest, and are a requirement for other language (async fns in traits) and lib (LendingIterator) features.
404
+
If @jackh726 hadn’t been working on GATs for the past year or so, they would have instead been pushing harder on Chalk and librarifcation. In particular, there are fundamental questions, e.g. associated type normalization, to solve there. Recent work with a-mir-formality has started to help answer those. In the meantime, GATs were at a state that they were “unblocked”, had significant interest, and are a requirement for other language (async fns in traits) and lib (LendingIterator) features.
405
405
406
406
### safe transmute
407
407
@@ -422,13 +422,13 @@ Further more, we have completed some of our milestones; we think we have impleme
422
422
423
423
**Details:** At the start of the year, we opened [PR #92268](https://github.com/rust-lang/rust/pull/92268), *Initial Implementation of Transmutability Trait*, which aimed to provide the basic functionality of a trait implemented for any two types transmutable into each other (as defined by [MCP #411](https://github.com/rust-lang/compiler-team/issues/411)). This PR required additional testing and polish before it would be ready to merge, but progress unfortunately stalled in the spring.
424
424
425
-
With the mentoring provided by [@oli-obk](https://github.com/oli-obk) and an influx of interest and help from [@m1el](https://github.com/m1el), progress resumed this summer; notably:
425
+
With the mentoring provided by @oli-obk and an influx of interest and help from @m1el, progress resumed this summer; notably:
426
426
- A significant effort in testing revealed flaws in the initial implementation approach. Fortunately, we quickly [discovered](https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/Implementation/near/288584316) and implemented an alternative (and arguably simpler) implementation strategy!
427
427
- The `rustc_transmute` crate now only *optionally* depends on other `rustc_*` dependencies, allowing contributors to edit, build, and test the core implementation using the familiar `cargo` commands, rather than building the entire compiler.
428
428
429
429
[PR #92268](https://github.com/rust-lang/rust/pull/92268) is now undergoing the final polish required for it to be merged, and [near-future units of follow-up work](https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/Implementation/near/290258987) have been identified.
430
430
431
-
**Regarding new contributors:** An influx of interest
8000
and help from [@m1el](https://github.com/m1el) ([Igor null](https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/sender/498326-user498326) on Zulip) jolted Project Safe Transmute out of its doldrums. Additionally, [@joshlf](https://github.com/joshlf), an early collaborator on Project Safe Transmute, anticipates he will soon be able to rejoin the implementation effort.
431
+
**Regarding new contributors:** An influx of interest and help from @m1eljolted Project Safe Transmute out of its doldrums. Additionally, @joshlf, an early collaborator on Project Safe Transmute, anticipates he will soon be able to rejoin the implementation effort.
432
432
433
433
**Regarding prioritization and focus:** Personal and professional obligations sapped the capacity of collaborators to contribute. These obligations have been resolved, and progress is being made once again.
434
434
@@ -548,11 +548,11 @@ Integration of lowering into the query system is still in review. This blocks pr
548
548
549
549
550
550
Regarding new contributors:
551
-
The progress has been made in part thanks to Miguel Guarniz (kckeiks).
551
+
The progress has been made in part thanks to @kckeiks.
552
552
553
553
554
554
Regarding prioritization and focus:
555
-
One of the owners, cjgillot started a large refactor of lifetime resolution.
555
+
One of the owners, @cjgillot started a large refactor of lifetime resolution.
556
556
This refactor allowed for faster progress in fixing a few old bugs.
557
557
558
558
@@ -649,9 +649,9 @@ rylev thinks that the real question here is when this becomes something that’s
649
649
650
650
**Details:** We’re reporting on a few additional metrics in PRs now (cycles, RSS). It’s not really a surprise, but the significant challenge we’ve definitely run into is our audience has such a diverse set of needs that any single representation or comment is likely to be too information dense to be useful; we’re still figuring out how to make the most of the data we have.
651
651
652
-
**Regarding new contributors:** We’ve had a few folks return to contributing this year (nnethercote, lqd), and @rylev believes one new person as well (Kobzol). There have been a few others with good contributions but not long-duration tenure.
652
+
**Regarding new contributors:** We’ve had a few folks return to contributing this year (@nnethercote, @lqd), and @rylev believes one new person as well (@Kobzol). There have been a few others with good contributions but not long-duration tenure.
653
653
654
-
**Regarding prioritization and focus:** Other infrastructure projects have drawn much of Mark’s attention (crater, triagebot) in the last few months.
654
+
**Regarding prioritization and focus:** Other infrastructure projects have drawn much of @Mark-Simulacrum's attention (crater, triagebot) in the last few months.
655
655
We had long-standing debt on Crater and triagebot that needed to be addressed, and performance work was (and is) seeing more investment from other folks so was in less need of direct attention.
656
656
657
657
@rylev believes that compiler performance remains, in their opinion, the largest and most persistent problem for Rust.
0 commit comments