Re: Invalidate / GC-marking after close of large data blocks
bil til <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <CAOnDXmGkaPhv_oe4zf2L8Yp3Qydr6+LruYCk5Q1k6FNVoqrY=g@mail.gmail.com> |
> And what is preventing you from using the same alloc / free that Lua is using? It is my general caution against using dynamic memory in single chip microcontroller firmware... this is for control of large machines ... it is just a security concern. (I also program sofware for Windows PCs, there of course usage of alloc/free is used abudandtly). For Lua I just reserve a very big heap - as large as possible for the uController I use. If only Lua uses this, it is still quite well under control - e. g. easy to check for free memory etc. . If I would use free/ alloc also for other things, this would get much more tricky... . -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/CAOnDXmGkaPhv_oe4zf2L8Yp3Qydr6%2BLruYCk5Q1k6FNVoqrY%3Dg%40mail.gmail.com.