https://github.com/AJUNNYC/more_db
I’m sorry it’s so late, but I just wanted to post this because I need to talk to somebody. I didn’t finish the readme and the code isn’t refactored either. But the code does work.
To briefly summarize, I was originally following a simple database tutorial project.
https://cstack.github.io/db_tutorial/
It was really difficult to follow. It also lacked some features like a page eviction mechanism and deletion.
I implemented a deletion mechanism, and I also implemented an LRU and a pinning mechanism so as to avoid evicting pages that are being used.
I also used char pointers to avoid the inconsistencies associated with void pointer addition.
All in all, I really took too long for this. I’m rather annoyed since I remember wasting time debugging when I should’ve just looked at the code and deduced what was going wrong. It took me like 3 months when I should’ve taken 1 month at most.
But I wanted to ask how this project would look as a freshman. I’m worried it’s too simple.
submitted by /u/Basic-Definition8870
[link] [comments]
r/cscareerquestions https://github.com/AJUNNYC/more_db I’m sorry it’s so late, but I just wanted to post this because I need to talk to somebody. I didn’t finish the readme and the code isn’t refactored either. But the code does work. To briefly summarize, I was originally following a simple database tutorial project. https://cstack.github.io/db_tutorial/ It was really difficult to follow. It also lacked some features like a page eviction mechanism and deletion. I implemented a deletion mechanism, and I also implemented an LRU and a pinning mechanism so as to avoid evicting pages that are being used. I also used char pointers to avoid the inconsistencies associated with void pointer addition. All in all, I really took too long for this. I’m rather annoyed since I remember wasting time debugging when I should’ve just looked at the code and deduced what was going wrong. It took me like 3 months when I should’ve taken 1 month at most. But I wanted to ask how this project would look as a freshman. I’m worried it’s too simple. submitted by /u/Basic-Definition8870 [link] [comments]
https://github.com/AJUNNYC/more_db
I’m sorry it’s so late, but I just wanted to post this because I need to talk to somebody. I didn’t finish the readme and the code isn’t refactored either. But the code does work.
To briefly summarize, I was originally following a simple database tutorial project.
https://cstack.github.io/db_tutorial/
It was really difficult to follow. It also lacked some features like a page eviction mechanism and deletion.
I implemented a deletion mechanism, and I also implemented an LRU and a pinning mechanism so as to avoid evicting pages that are being used.
I also used char pointers to avoid the inconsistencies associated with void pointer addition.
All in all, I really took too long for this. I’m rather annoyed since I remember wasting time debugging when I should’ve just looked at the code and deduced what was going wrong. It took me like 3 months when I should’ve taken 1 month at most.
But I wanted to ask how this project would look as a freshman. I’m worried it’s too simple.
submitted by /u/Basic-Definition8870
[link] [comments]