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-06-28: Rust 2024 Survey
Information sources
Next steps
blog post
Was posted 2022-04-04
The three high-level goals (may be useful for categorizing/prioritizing):
The concrete items (not categorized by feasibility or completeness yet):
Flatten the (learning) curve: scaling to new users and new use cases
These items the roadmap listed as "active initiatives" at the time:
These were listed (or implied) as future work:
dyn Trait
more usable: Broaden the set of traits that can be used withdyn
and make working with dyn closer to working with generics."Help Rust's users help each other: scaling the ecosystem
These items the roadmap listed as "active initiatives" at the time:
These were listed as future work:
extern "crabi"
, and a dynamic linking proposalHelp the Rust project scale: scaling the project
These items the roadmap listed as "active initiatives" at the time:
These were listed as future work:
github issues tagged with lang-team-202x-edition
unsafe_op_in_unsafe_fn
to bewarn-by-default
from edition 2024 #112038dyn Trait
#91302'static
is not clearly what you want, e.g. on animpl dyn Foo {}
, or inside a struct with a lifetime param'static
can be a source of confusion because it doesn't happen elsewhere in the language$expr
matcher to align with the parser #86730Debug
andDisplay
to the preludeHash
to the prelude #80361Debug
andDisplay
first, but that would makeHash
the only one with a derive but not the corresponding trait in the preludepub type foo = bar
andpub use bar as foo
interchangable in next edition #73191foo
ifbar
is a tuple structmod
insidefn
, etc) #65516indirect_structural_match
compatibility lint an error #62411static mut
#53639static mut
#114447suggestions from comment thread on https://github.com/rust-lang/lang-team/issues/209
RFCs
unsafe extern { unsafe fn name_of_foreign(...); }
)FromLossy
andTryFromLossy
traits RFC #2484as
, we should consider movement in this space.static mut
withunsafe static
unsafe fn
originally had a design mistake in that it both introduces and also discharges obligations, and thatunsafe static
would repeat that mistake. (Because it (supposedly) discharges the "safety invariant" which is "static must be Sync".)unasfe static = unsafe { ... };
as the form that discharges the Sync invariant for the...
content.unsafe static
is not the same as the double-dutyunsafe fn
does.Rust Issues
Box<[T]>
implementIntoIter
rust#59878Tracking Issues
E
toBox<E>
toBox<dyn Error>
👍 using unsizing!
converts from!
todyn Error
💥 toBox<dyn Error>
other things that came up after the meeting
unsafe
("unsafe extern").break
to match that ofreturn
(dtolnay quiz item 20).