4 ms·
Implementing a malloc was one of the assignments of CS110 when I was an undergrad at Stanford ages ago. Grades were based on correctness, memory efficiency and
by oefrha 3y ago
Implementing a malloc was one of the assignments of CS110 when I was an undergrad at Stanford ages ago. Grades were based on correctness, memory efficiency and maybe speed. IIRC mine used a variant of the dlmalloc strategy, and got perfect or near perfect marks. Definitely a cool and challenging assignment.
- jbn 3y agoHere's another one such assignment https://ocw.mit.edu/courses/6-172-performance-engineering-of-software-systems-fall-2018/resources/mit6_172f18hw6/ https://ocw.mit.edu/courses/6-172-performance-engineering-of... (I didn't take that class, but have reviewed students' code for this assignment several times)