Rule 20.4 (required): Dynamic heap memory allocation shall not be used.
Good luck writing misra-compliant web browser.
And yes, safe languages can be written in safe languages. See rust and servo.
Good luck writing misra-compliant web browser.
And yes, safe languages can be written in safe languages. See rust and servo.
I'd be delighted to see one. Statically pre-allocating a large continuous chunk of memory for the whole browser process lifetime would have been great.
If the entire pool is reclaimed once page is rendered (and there is a way to handle the running out of space condition) it may not count as a rule violation, no more than incrementing an array index counter.
And, browser is hardly a mission-critical appliance.
Surely this is a joke.