Re:ICPP – Running C++ in anywhere like a script
by shortrounddev2 on Friday August 09, 2024 @09:08AM
(#41201476)
The benefit of heapalloc and heapcreate is that it makes serialization of data simpler because you can define the bounds of the heap so you can easily save pointer offsets. There are other flags available as well. It's a win32 feature so you would only use it if windows is your target platform (and then write other bindings for other platforms)
[ Parent
| on HN ]
Re:ICPP – Running C++ in anywhere like a script
by fluoridation on Friday August 09, 2024 @09:40AM
(#41201726)
I still don't get it. Why can't you do the same with a regular buffer?