News for hackers. Stuff that matters.
Re:“C is quirky, flawed, and an enormous success” – Dennis R... by flohofwoe on Sunday July 09, 2023 @10:08AM (#36654553)
You can store your 'list items' in an array and still link to random items in the array - although an index instead of a pointer would make more sense in that case, but what else is an index than a pointer with fewer bits ;) The main advantage being that you don't need to alloc/free individual items.
Re:“C is quirky, flawed, and an enormous success” – Dennis R... by dermesser on Sunday July 09, 2023 @12:30PM (#36655899)
Great, so now we're writing our own memory allocator?
Re:“C is quirky, flawed, and an enormous success” – Dennis R... by flohofwoe on Sunday July 09, 2023 @12:47PM (#36656071)
If you want to call about 10 lines of trivial code a 'memory allocator', then yup, we're totally going to write our own 'memory allocator' ;)