I think we can do

var HEAP8 = MEM8;

etc. for a while, deprecate HEAP8, then after more time make using HEAP8
throw an error saying "use MEM8". We've done similar breaking changes in
the past, they do cause temporary annoyance for users, but it's easy for
them to fix, and we all end up in a better state later.

- Alon


On Wed, Oct 16, 2019 at 7:58 PM 'Sam Clegg' via emscripten-discuss <
[email protected]> wrote:

> On Wed, Oct 16, 2019 at 1:55 PM Alon Zakai <[email protected]> wrote:
> >
> > Agreed, it isn't the best name. It could perhaps be MEM8 etc. (to keep
> it short).
> >
> > If someone's interested to do this change, I'd be in favor of it.
>
> Isn't there at lot code out there in the wild that would be broken by
> such as change?
>
> >
> > On Wed, Oct 16, 2019 at 11:32 AM Andrej Nosky <[email protected]>
> wrote:
> >>
> >> Well, technically I get it. Because it's a heap, right? But heap only
> begins on certain offset, before which stack is located. In my opinion
> there could be more fitting name for this structure, like MEMORY8, MEMORY16
> and so on. I think it's a little confusing, especially for people who care
> where and why data is stored.
> >>
> >> --
> >> 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].
> >> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/9aea0156-9464-4568-9beb-459cca5cc7fb%40googlegroups.com
> .
> >
> > --
> > 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].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpRDSvTq6GNgBsTYj4ciNRYfk5TYOb-k-WEJZvbFj7Dcbw%40mail.gmail.com
> .
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAL_va29R3YSPGrHN01JD2ugA7BqyaE_wtZTKvM6UtAN8AD1xQw%40mail.gmail.com
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpQuFq1_8UqXLQq8TDewkYwoVYiy7W2WGMMRydMOCBvVCQ%40mail.gmail.com.

Reply via email to