Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_mem
#13
@Kernelpanic I somewhat disagree Tongue I think QB64 should have had entirely automatic memory management. We already partially have it, consider that variable length `String`s already get automatically allocated and cleaned up, it's not an issue. `_MEMNEW()` could have worked in a similar way - the memory could get cleaned up when there's no longer a way to access it, it just doesn't.

I do agree that a `_MEMFREE` command that frees every `_MEM` is a bad idea though. That's not a real memory management technique Big Grin It's an approach that stops working past a certain program size.
Reply


Messages In This Thread
_mem - by Jack - 12-31-2024, 09:52 PM
RE: _mem - by DSMan195276 - 01-01-2025, 07:11 AM
RE: _mem - by Jack - 01-01-2025, 09:08 AM
RE: _mem - by Jack - 01-01-2025, 10:01 AM
RE: _mem - by SMcNeill - 01-01-2025, 10:18 AM
RE: _mem - by SMcNeill - 01-01-2025, 10:10 AM
RE: _mem - by Jack - 01-01-2025, 10:27 AM
RE: _mem - by SMcNeill - 01-01-2025, 10:36 AM
RE: _mem - by Jack - 01-01-2025, 10:40 AM
RE: _mem - by SMcNeill - 01-01-2025, 10:45 AM
RE: _mem - by Kernelpanic - 01-01-2025, 11:55 PM
RE: _mem - by DSMan195276 - 01-01-2025, 11:13 PM
RE: _mem - by DSMan195276 - 01-02-2025, 12:27 AM



Users browsing this thread: 10 Guest(s)