Niko Matsakis
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- title: Planning meeting 2022-02-02 tags: planning-meeting --- # T-lang planning meeting agenda * Meeting date: 2022-02-02 ## Attendance * Team members: Niko, Josh, Felix, Scott * Others: Mara, Michael Goulet ## Meeting roles * Action item scribe: * Note-taker: Josh ## Proposed meetings - "Non-terminal divergence between parser and macro matcher " [lang-team#111](https://github.com/rust-lang/lang-team/issues/111) - "lang team check-in" [lang-team#128](https://github.com/rust-lang/lang-team/issues/128) - ""things other teams want"" [lang-team#130](https://github.com/rust-lang/lang-team/issues/130) - "Lint policy" [lang-team#132](https://github.com/rust-lang/lang-team/issues/132) - "Plan for enum discrim, repr, and casting" [lang-team#134](https://github.com/rust-lang/lang-team/issues/134) - "A path towards stable generic const expressions" [lang-team#138](https://github.com/rust-lang/lang-team/issues/138) - "Astrologic chart (aka roadmap)" [lang-team#140](https://github.com/rust-lang/lang-team/issues/140) - "Never type next steps" [lang-team#141](https://github.com/rust-lang/lang-team/issues/141) - "impl trait overview" [lang-team#142](https://github.com/rust-lang/lang-team/issues/142) ## Schedule * Feb 9th -- Backlog bonanza * No doc required * Feb 16th -- libs team sync / [lang-team#130](https://github.com/rust-lang/lang-team/issues/130) * Mara/Josh to make doc * Feb 23rd -- "Never type next steps" [lang-team#141](https://github.com/rust-lang/lang-team/issues/141) * Mark/Niko to make doc +1: Niko, Felix, Josh, Scott ### Josh proposes - ""things other teams want"" [lang-team#130](https://github.com/rust-lang/lang-team/issues/130) - "Never type next steps" [lang-team#141](https://github.com/rust-lang/lang-team/issues/141) - Backlog Bonanza ### Niko proposes - "Astrologic chart (aka roadmap)" [lang-team#140](https://github.com/rust-lang/lang-team/issues/140) - Felix: Does it make sense to do the kickoff synchronously, or to do this asynchronously? - Josh: Could we use the remainder of planning meetings to do this (today, or March 2)? - Niko: convinced that we should run this asynchronously - Josh + Niko to help drive this asynchronously this month - "impl trait overview" [lang-team#142](https://github.com/rust-lang/lang-team/issues/142) ## Active initiatives See the [initiative project board](https://github.com/orgs/rust-lang/projects/16/views/1) ## Astrological chart pnkfelix: been doing similar work for compiler team, some things came up that are "lang adjacent". Themes I identified from people's suggestions (for *compiler team*, not lang): * Improving Rust developer experience * Improving compiler contributor experience * Delivering on Rust's promise * Gap between what we deliver today and what we want, and how can we make it smaller pnkfelix: Lang team things that arose in my mind: * Memory model, unsafe code guidelines -- don't know if that's plausible for 2022, but if there are stakeholders who want to help, would be great to coordinate with them * Implementation details -- trait system, chalk and what not nikomatsakis: strong agree on unsafe code, that fits with work I wanted to do of creating a model for MIR ("patina") nikomatsakis: work going on in async land nikomatsakis: ergonomics, especially around "where clauses" and "lifetimes" pnkfelix: what about formal methods folks? nikomatsakis: they need the model, esp as it extends to operational semantics of MIR pnkfelix: what about fuzzing? might a grammar help there? nikomatsakis: possibly nikomatsakis: what about things like "try", try trait, error handling scottmcm: still on me or someone writing up proposal nikomatsakis: level of detail for this document? specifics? themes? pnkfelix: the themes seem right, but I think having concrete examples is also important, so people know what it is, but also be clear that "if there's something important in this space" nikomatsakis: shape I would most want is "experience we're looking to create in these areas, here are some ideas for how to move us there, if you have other ideas want to hear them" pnkfelix: there are very concrete tasks oriented around improving contributor experience for compiler team, that needed to be teased out, is there something analogous for lang team? do organizational details really belong here? joshtriplett: Language improvements that help the project and community scale. e.g. cfg-accessible lets crates/libs evolve in a co-designed way. Things that allow versionining and getting more value out of editions for libs, not just for lang. Any number of things in this space? There are ways in which our overall community has pressures to "not try out" different things. For example, language reasons why there is only one serde and it's hard to have more than one. Reasons why if you want to make thing X work for thing Y, have to do it as part of X/Y, hard to make the two work together (coherence). Kind of thing where, if we had language level solutions for some of those problems, helps us all scale better. Seems like around the right time for us to do that kind of thing, we are scaling rapidly. nikomatsakis: reminds me of extensible rust ideas, which I thought of as more compiler, but is really also lang, e.g. custom error messages, lints, and things in libs. joshtriplett: giving other people the tools we in the rust-lang rust repository have. We haven't thought for years about possibility of stabilizing the stability markings, only our tool, nobody else gets to use them, but library might like to have the equivalent of stability markings, the ability to ship nightly APIs that people have to explicit opt in to. That kind of thing. scottmcm: I'd love to look at patterns of lints we have and try to phrase them as attributes other people can start to use, e.g., if you call this with a `0` it will panic. joshtriplett: gcc actually has attributes for that sort of thing (e.g., must be non-null). Niches are another case, we haven't stabilized any mechanism to specify niches, so we get special optimization mechanisms that are easy for us to use, but people outside libstd would have to fake. pnkfelix: we can probably have a whole section dedicated to things that we've hacked in for internal use and would like to see exposed. My personal bug-a-boo is may-dangle. You can't have collections outside libstd that express cyclic structure. scottmcm: for me, literal type inference-- how can we have `1` be not just u32 or i32 but also bignum or NonZeroU128. joshtriplett: haskell has "rebindable syntax" that allows literals to desugar to be a trait call. could imagine a trait for that, ideally that leverages const. Also some reasons to be careful there, you can create confusing code, haskell has had some experiences with that. We've managed, even thought we have overloadable operators, to have people overload them in surprising ways. Maybe that's the little hints, like that we called it "add", and not "plus", but something has produced social pressure to not do that. Whatever we can do to avoid excessively clever patterns. nikomatsakis: * async-io: we have coverage, * embedded/low-level hacking: failed to really cover this -- maybe kernel hacking too! * portability (esp. across phones): partial coverage * high-assurance (comes back to unsafe code guidelines) nikomatsakis: to phrase this another way, the reasons I hear people adopting rust are these * performance (without losing safety) * able to target low-level niches (while gaining safety, ergonomics) * portability across many languages, platforms (e.g., one library that targets everything) pnkfelix: Maybe targeting dynamic code generators? Mara: isn't that mostly library? nikomatsakis: also webassembly, I've been targeting it lately, once it works it's great, but getting it to work feels like it involves some magic scottmcm: maybe there's a way to survey what people do in build.rs scripts or proc-macros that feel like hacks, but that's what they do because it's what they have to do? mara: one thing that comes up often in low-level code is something like RFC #2492 (existential types with external definitions), basically a way to generalize and allow any crate to define "something other crates need to define". Don't just say "stdlib needs an allocator" you can say "my crate needs a something". This would solve a lot of the horrible hacks I see in embedded all the time. joshtriplett: definitely an example of tools we have but didn't generalize. We made a tool for "global allocator", but not a generalized tool for "global Thing". mara: I would love to be able to say "we need a filesystem but it's provided by another part" scottmcm: linkme/distributed-slice came up recently, that would be very nice joshtriplett: tie-in to a feature of webassembly, their approach to module linking is designed to support the case, web assembly does the generalized version of that, where you specify your external deps, and the host gets to decide what you get to complete that dependency. So e.g. you can provide a virtual file system. This is even, to some degree, scoped. nikomatsakis: This is why I brought up the scoped capabilities system yesterday, I'm nervous about people creating lots of non-compasable things. joshtriplett: as long as there is a way to make it sufficiently global so you don't have to explicitly or implicitly pass it everwhere, it seems fine. It should be *easy* to do globally, too. mara: keep in mind that in embedded and kernels, global is very normal and expected. nikomatsakis: yes barsky: useful for mocking and testing. Would love to improve ergonomics of loom. nikomatsakis: speaking of tools we have kept for ourselves, the whole testing/benchmarking system is kind of hard-coded, though cargo lets you do a lot of things, it'd be good if you could easily "run my tests with loom" and so forth. Right now `#[test]` is very hard-coded in terms of what it does, might be cool if it could do more. joshtriplett: the other day libs was talking about the `Termination` trait; it's not stable yet, but it has stable impls that people count on. There's an impl for `Result<_, impl Debug>`. It doesn't require `Error`, it would be useful if we could say "here's a better impl if you have impl Error rather than impl Debug". Rather than specialization, it might help if we had the ability to do dynamic downcasting here -- "do you impl Error"? Not obvious that we have the facilities to support that right now. nikomatsakis: I was going to bring up specialization but I hadn't because it was a specific feature. Downcasting would be helpful, but it messes with parametricity, and I recently found a reason why parametricity is important. joshtriplett: how do people feel about the overarching theme of "scaling" and giving other people the tools that we have? pnkfelix: doesn't cover unsafe code, but we can have multiple themes joshtriplett: I don't think everything has to fit in one theme, but I do see a connection, people outside can't count on how the compiler behaves, but internally we sometimes lean on that since we know what compiler will do... pnkfelix: ...we do? ;) I get it, the compiler / libstd are coupled and we rely on that sometimes. Documenting and fixing standards enables the community to do more of what libstd can do. mara: also a thing we want to do in the lib team, reducing the number of unstable features we depend on, I think we have >100 features. That matches very much with this theme. joshtriplett: yes. we might like to generally decouple lib from compiler/lang, so that they can be used more independently. mara: makes it much easier for people to work on new proposals as a crate, since many things literally cannot work outside the stdlib. Next steps: Josh and Niko to build a template roadmap and include many of the above items in it, and then work asynchronously with the whole team to finish it.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    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.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully