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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/9aea0156-9464-4568-9beb-459cca5cc7fb%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va29R3YSPGrHN01JD2ugA7BqyaE_wtZTKvM6UtAN8AD1xQw%40mail.gmail.com.
I think we can dovar 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 <emscripte...@googlegroups.com> wrote:On Wed, Oct 16, 2019 at 1:55 PM Alon Zakai <alon...@gmail.com> 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 <andrej...@gmail.com> 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 emscripten-disc...@googlegroups.com.
>> 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 emscripten-disc...@googlegroups.com.
> 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 emscripten-disc...@googlegroups.com.
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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpQuFq1_8UqXLQq8TDewkYwoVYiy7W2WGMMRydMOCBvVCQ%40mail.gmail.com.
On Wed, Oct 16, 2019 at 8:15 PM Alon Zakai <alon...@gmail.com> wrote:I think we can dovar 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.Better for who? It's not mem, it's a/the heap.
- Alon
On Wed, Oct 16, 2019 at 7:58 PM 'Sam Clegg' via emscripten-discuss <emscripte...@googlegroups.com> wrote:
On Wed, Oct 16, 2019 at 1:55 PM Alon Zakai <alon...@gmail.com> 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 <andre...@gmail.com> 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 emscripten-discuss+unsub...@googlegroups.com.
>> 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 emscripten-discuss+unsub...@googlegroups.com.
> 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 emscripten-discuss+unsub...@googlegroups.com.
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 emscripten-discuss+unsub...@googlegroups.com.
Isn't there at lot code out there in the wild that would be broken by
such as change?
100% agree with Floh there. Changing such a thing is an open door to a very obscure, hard to find, and unwanted potential "project breaker", for a very minor added value...
Having to live with some minor technical debt due to badly named
things is acceptable I suppose.
--
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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/b1a6274e-9ac6-4a85-bd95-2c2d3ac7e3c6%40googlegroups.com.
While I regularly complain about unexpected/undocumented change, I think Alon's plan is pretty careful and reasonable.
Badly named variables are a perpetual mental hassle, and triggering a clear error message means the change won't be obscure.
Cheers!
Beuc
Hey, I definitively thought you'd say the opposite due to the various issues you had with unexpected changes. Well, just joking ;)
I admit I have the same issue than you: my projects often breaks
on new releases of Emscripten. I have to tweak the Doom 3 port
regularly (well on this project this is just for the fun. But I
agree that for customers projects, moving on new versions of
Emscripten is a bit more worrying). But I understand these recent
breaking changes were done for good causes: the new LLVM backend,
Asyncify, updates toward WASI compatibility, and so on... as so,
due to the long-term benefits of these new functionalities, I am
happy with all that progress even at the price of short-term
issues
Cheers,
--
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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/10c8a820-5a3a-d1a6-dec2-6694dd9631ea%40beuc.net.
> To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/10c8a820-5a3a-d1a6-dec2-6694dd9631ea%40beuc.net.
>
> --
> 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 emscripten-discuss+unsub...@googlegroups.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/10c8a820-5a3a-d1a6-dec2-6694dd9631ea%40beuc.net.
>
> --
> 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 emscripten-disc...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/4084a0ed-cc59-55c3-83e6-46660e2d1795%40gmail.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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/a8687478-2222-40b9-a358-1adfb27177e3%40googlegroups.com.