I went down all that pain. I started using Bebbo GCC with this one I don't link the stdlibc++ but I use the includes and replaced all those functions while using bebbo I can call malloc() and free(). Even I use hash table why not!
in debug to keep track of memory leaks. It is good to have the stl around if you need something for quick prototype or convenience.
I do compile also for the vscode extension, but it requires a bit more of trickery here and there and define some extra functions but it works with no problem. It would be fantastic if this extension could support a bit more C++. STL as a whole is a bit overkill for amiga but using it on some specific locations is really useful. I modified EASTL for amiga as the vscode extension tolerates that better
.
That being said, I follow similar pattern I do allocate things at once and I do not dynamically allocate anything from there.
@Pink I would be interested on your modifications for tiny alloc if you want to share. thanks in advance!.