Skip to content

Commit

Permalink
add concept of selected pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko Matsakis committed Sep 27, 2024
1 parent 17937cc commit 81ebd6e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ noClasses = false
category = 'categories'
series = 'series'
tag = 'tags'
pinned = 'pinned'
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ series:
- "Dyn async traits"
---

One interesting question about async fn in traits is whether or not we should label the *trait itself* as async. Until recently, I didn’t see any need for that. But as we discussed the question of how to enable “maybe async” code, we realized that there would be some advantages to distinguishing “async traits” (which could contain async functions) from sync traits (which could not). However, as I’ve thought about the idea more, I’m more and more of the mind that we should not take this step — at least not now. I wanted to write a blog post diving into the considerations as I see them now.
One interesting question about async fn in traits is whether or not we should label the *trait itself* as async. Until recently, I didn’t see any need for that. But as we discussed the question of how to enable “maybe async” code, we realized that there would be some advantages to distinguishing “async traits” (which could contain async functions) from sync traits (which could not). However, as I’ve thought about the idea more, I’m more and more of the mind that we should not take this step — at least not now. I wanted to write a blog post divin g into the considerations as I see them now.

## What is being proposed?

Expand Down
3 changes: 3 additions & 0 deletions content/blog/2023-09-27-empathy-in-open-source.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
title: "Empathy in open source: be gentle with each other"
date: 2023-09-27T11:50:51-04:00
pinned:
- "yes"
pinned_weight: 44
---

Over the last few weeks I had been preparing a talk on “Inclusive Mentoring: Mentoring Across Differences” with one of my good friends at Amazon. Unfortunately, that talk got canceled because I came down with COVID when we were supposed to be presenting. But the themes we covered in the talk have been rattling in my brain ever since, and suddenly I’m seeing them everywhere. One of the big ones was about *empathy* — what it is, what it isn’t, and how you can practice it. Now that I’m thinking about it, I see empathy so often in open source.
Expand Down
2 changes: 2 additions & 0 deletions content/blog/2024-06-02-the-borrow-checker-within.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "The borrow checker within"
date: 2024-06-02T08:33:48-04:00
pinned:
- "yes"
---

This post lays out a 4-part roadmap for the borrow checker that I call "the borrow checker within". These changes are meant to help Rust become a better version of itself, enabling patterns of code which feel like they fit within Rust's *spirit*, but run afoul of the letter of its *law*. I feel fairly comfortable with the design for each of these items, though work remains to scope out the details. My belief is that a-mir-formality will make a perfect place to do that work.
Expand Down
8 changes: 8 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ <h1 class="title">
<li><a href="https://twitter.com/nikomatsakis">Twitter</a></li>
<li><a href="{{ .Site.BaseURL }}/index.xml">RSS</a>/<a href="{{ .Site.BaseURL }}/atom.xml">Atom</a> feeds</li>
</ul>

<p class="description">Selected posts:</p>

<ul class="links">
{{ range .Site.Taxonomies.pinned.yes.Pages.ByWeight }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
</nav>

Expand Down

0 comments on commit 81ebd6e

Please sign in to comment.