Malloc and free
- Inlämningsdatum 2 dec 2021 av 17:00
- Poäng 2
- Lämnar in en filuppladdning
In this exercise you should implement your own malloc() and free(). The algorithm that you will use is very similar to ptmalloc (i.e. the one used in Linux). Implement the library and do some benchmarks that shows the performance. Write a short report, four pages, where you use LaTeX as stated below. Do not include more code than necessary in the report but describe in your own words the problems you had and how you solved it.
The report should be uploaded to Canvas no later than five pm the day before the seminar.
If you're a Linux user you could install TeXLive and generate a report using pdflatex. Windows user can use either TeXLive or Miktex and Mac users can use MacTeX. There is also an online system, Overlef, that most students begin with.
- TexLive Links to an external site.
- MacTex Links to an external site.
- Miktex Links to an external site.
- Overleaf Links to an external site.
You should use plain"article" format in the report and don't change any setting to extend the text, increase font or row size or use double columns etc.