Good points, fair enough. We just increase the heap size at link-time in 
our builds, but I can certainly see that emscripten's memory management is 
going to cause trouble in real scenarios. It seems pretty brave to ship 
stuff on a platform where you have to have a malloc() wrapper like that!

Nick

On Friday, 12 September 2014 00:01:53 UTC+1, Alecazam wrote:
>
> I don't think I'd mentioned 4-byte alignment.   I typically align to 16 
> bytes (as per the defines).  That way SIMD can be mixed in with non-simd 
> structs without needed custom allocator everywhere.
>
> Abort on failure is an issue since Emscripten has a fixed size heap.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to