On 2020-02-12 04:53, robert engels wrote: > You can write robust systems without dynamic memory, but it is very very > difficult - beyond the skills of most developers.
Interestingly, Global variables are often frouned upon and quite rightly on computer systems (I include rpi/phones), despite being widely used in simpler embedded applications. Yet Greenhills software (ghs.com) have a military embedded OS that costs a fortune and who's marketing states it *ONLY* uses global variables for guaranteed reliability. I am sure it's development caused a heck of a lot of head scratching and perhaps it has 0 concurrency. In my mind, controlled stack memory is still a must for sanity. Of course without concurrency, judging dynamic memory use, isn't a difficult task anyway. It's a lot easier to estimate stack usage though with buffer insurance. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/a74e0dd4-b8b6-f0a9-87bc-233e97e3d48b%40gmail.com.