or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
2023-09-11 Planning meeting
Updates
AFIT/RPITIT stabilization
Plan is to open a stabilization report "any day now". Draft here.
TAITs
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →a-mir-formality
Most current work is on using rustc to generate formality code via SMIR.
Niko to resume hacking and working on docs soon. One key thing I'm thinking about is reflecting the AFIT/RPITIT work, as well as picking up the work I was doing on fuzzing (I may start that over after consulting with some folks who understand fuzzing a bit more). Another direction I'm interested in going is talking more about coinductive trait semantics.
Trait solver refactor
Some progress during the start of august, after which @lcnr was on vacation: overflow handling and some work on the provisional cache, see https://rust-lang.zulipchat.com/#narrow/stream/364551-t-types.2Ftrait-system-refactor/topic/weekly.20progress.20updates for updates.
nikomatsakis: I believe there is an intermediate goal of using trait solver for coherence? I'd like to better understand the milestones.
Trait object upcasting
WIP stabilization report: https://hackmd.io/QggP6SJVTa2jb7DjGq0vrQ?both
Negative impls
currently have an FCP in https://github.com/rust-lang/rust/pull/112875, @lcnr still wants to take some time to look at this in more detail.
We need to merge Michael's PR https://github.com/rust-lang/rust/pull/112875, properly define the meaning of always applicable and implement that.
We need to our (Niko, lcnr and Santiago) meetings about it.
Polonius
lqd has prepared a PR that reimplements the existing borrow-check in a polonius style. The diff is in some ways fairly minimal. Effectively we change:
Region -> Points
that identifies, for each region, the points at which it is live (because some variable is used whose type mentions this region or one that it outlives);Point -> Loans
that identifies, for each point, the loans that are live (because they flow into a region that appears in the type of some live variable).This code is currently feature gated and "opt in". It imposes some minimal performance overhead, with one case (serde) being up to 6% slower. However, right now this means that it takes 6% more time to do BOTH the old analysis (unchanged) AND the new one. It's not yet clear what time would be if we did JUST the new one.
The current plan is to land the PR and then explore optimizations but also to do work that enables a flow-sensitive version (which would then accept more cases and actually deliver user-visible benefit). We have opened a topic highlighting that we would like to onboard at least one new contributor, but they have to be well-versed and have time to spend, or else it's likely mot worth the effort yet.
chalk-ty
No new changes
Nominated issues
4 open: https://github.com/rust-lang/rust/labels/I-types-nominated
Tracking issue for dyn upcasting coercion
Stabilization report draft: https://hackmd.io/QggP6SJVTa2jb7DjGq0vrQ?both
lcnr:
lint incorrect implied bounds in wfcheck
Bevy regresses on
lcnr:
Discussion here: https://rust-lang.zulipchat.com/#narrow/stream/326866-t-types.2Fnominated/topic/.23109763.3A.20lint.20incorrect.20implied.20bounds.20in.20wfcheck/near/384780130
lcnr's idea is to make this pass:
Associated type constraints on super traits allowing for unsound transmutation to trait objects
Probably a duplicate of #57893
Allow dropping
dyn
trait object's principalAllows us to cast from
dyn Trait + Send
todyn Send
.pnkfelix:
Three options:
dyn
upcasting feature@_Michael Goulet (compiler-errors)|426609 said:
Types FCPs
5 ongoing: https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AT-types+label%3Aproposed-final-comment-period
Tracking issue for dyn upcasting coercion
Not a t-types FCP
Rework negative coherence to properly consider impls that only partly overlap
Allows
compiler-errors:
relax leak-check
Discussed in deep dive: https://rust-lang.zulipchat.com/#narrow/stream/326132-t-types.2Fmeetings/topic/2023-08-28.20higher.20ranked.20subtyping.20and.20leak.20check
Seems like it warrants more discussion
Check RPIT and AFIT hidden types are well-formed considering regions
wf-check hidden types at definition site
Stabilize
impl_trait_projections
Deep dive planning
12 proposals: https://github.com/rust-lang/types-team/issues?q=is%3Aissue+is%3Aopen+label%3Adeep-dive-proposal