Search:

Type: Posts; User: CommonTater

Search: Search took 0.09 seconds.

  1. Replies
    47
    Views
    20,257

    "Starting" ??? Is it not obvious by now that...

    "Starting" ???

    Is it not obvious by now that our OP friend is in way over his head?
    Seriously, no offense is intended, but I'm thinking that a lot more than his experience is required here...
  2. Replies
    47
    Views
    20,257

    It's all assigning memory... he's doing what I...

    It's all assigning memory... he's doing what I showed you in message 35 of the thread... writing frames into memory.
  3. Replies
    47
    Views
    20,257

    The only C function that allocates memory is...

    The only C function that allocates memory is malloc() and it is dependent upon the underlying operating system.

    If you are working on an OS kernel you need to write a complete memory manager, that...
  4. Replies
    47
    Views
    20,257

    And you should not be surprised if it doesn't...

    And you should not be surprised if it doesn't work when you un-nest it from all that virtualization...

    Virtual machines are pretty good, but they're not perfect...
  5. Replies
    47
    Views
    20,257

    The big question is "Why?" ... if it's a class...

    The big question is "Why?" ... if it's a class assignment or even idle curiosity, ok I get that... but if you think you can second guess a well tested and optimized library you are probably in for a...
  6. Replies
    47
    Views
    20,257

    Can't answer for linux but on Windows it's easy...

    Can't answer for linux but on Windows it's easy enough the OS actually provides this as API calls...

    Heap Functions (Windows)

    Basically you create a private heap... but it also gives you far...
  7. Replies
    47
    Views
    20,257

    Ahhh... ok, I see how you did it now......

    Ahhh... ok, I see how you did it now... interesting experiment but not very practical.

    malloc() and free() are already abstractions from the underlying OS allocators... So you end up with...
  8. Replies
    47
    Views
    20,257

    And exactly how did you inform the C libarary and...

    And exactly how did you inform the C libarary and application calls of this new memory manager?
    Unless you're about rewriting the entire library, it's better, safer and probably faster to use...
  9. Replies
    47
    Views
    20,257

    Won't happen.... You will never implement OS...

    Won't happen.... You will never implement OS specific behavior without using the underlying OS libraries.
Results 1 to 9 of 9