~/talk

Paradigm Problems A Case Study on rebalance

Talkat Rust Education Workshop 2022 · on Saturday, 2022-08-20· [rust]
slides:none on file

A classroom assignment asks to rebalance a binary search tree in Rust and reveals specific failure modes: students repeatedly hit ownership and borrowing hurdles when trying to return a reference instead of moving a node, resorting to heavy use of mem::replace and juggling Box<T> and Option<T> types. Multiple students spend up to eight hours on the problem, many submissions never pass tests, and automated tools like Copilot produce ill-typed or incorrect code instead of a working in-place rebalancer.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40The rebalance problem
  3. 3:50The problem
  4. 8:10Paradigm problems
  5. 10:09Conclusion
  6. 17:15Discussion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.