200 likes | 215 Views
Learn about dynamic memory management, key techniques, and presentation tips. Discover memory layout, GC, stack vs. heap, and more. Master the art of giving engaging and informative presentations.
E N D
A Seminar on Memory Managementhttp://www.cs.tau.ac.il/~msagiv/courses/mm02.html Mooly Sagiv Schriber 317 msagiv@post Office Hours Wed. 10-12
Outline • General information • How to give a presentation • Volunteer for October 29 • Next week GC
General Information • Prerequisites • Compilers • Requirements • Read a short introduction (October 22) • Select a topic (October 22) • Read short survey on GC techniques (October 29) • Read a short article on presentations before preparing your presentation • Participate in seminar talks (can miss one) • Present a paper
Dynamic Memory Management • Essential for high level programming languages • A major source for: • Bugs • Performance bottlenecks
Typical Memory Layout Stack Heap AR3 AR2 AR1 AR0
Memory Management Techniques • Garbage collection • Standard in C#, Java, ML • Can be used in C, C++ • Escape Analysis • Allocate memory at the stack • Region Based Allocation
How to give a presentation • What to say and how to say it • Getting through the audience • Visual aids
What to say and how to say it • Communicate the Key Ideas • Don’t get bogged down in Details • The best talk make you read the paper • Structure your talk • Use Top-Down approach • Introduction • Body • [Technicalities] • The Conclusion Use Examples
Introduction • Define the problem • Motivate the audience • Introduce terminology • Discuss earlier work • Emphasize the contributions • [Provide a road map] Use Examples
The body • Abstract the major results • Explain the significance of the results • Explain the main techniques • Use enlightening examples • Demonstrations are welcome
[Technicalities] • Expert only part • Show something really interesting beyond the paper/tool
The Conclusion • Hindsight is clearer than Foresight • Give open problems/further work • Indicate that your talk is over
Know your audience • Background
Getting through the Audience • Use Repetitions • Remind, don’t assume • Don’t over-run • Maintain Eye Contact • Control your voice • Control your motion • Take care of your appearance
Visual Aids • PowerPoint transparencies • Don’t overload transparencies • Don’t use too many transparencies • Use Overlays Properly • Use Color Effectively • Use Pictures and Tables • The blackboard can be used too
The input of the program can be arbitrary. Let x be a prime number, i.e., all the numbers z<x do not divide x. y be the next prime number, i.e., etc. Arbitrary input Prime number x The next prime y Don’t overload transparencies
Use overlays (im)properly • Item 1 • Item 1.1 • Item 1.2 • Item 2 • Item 2.1 • Item 2.1.1
Use colors properly • Item 1 • Item 2 • Item 3
The End http://www.cs.tau.ac.il/~msagiv/courses/mm02.html