[vlc-devel] [PATCH 09/12] network: io: Remove VLA usages
linkfanel at yahoo.fr
Fri Dec 11 16:46:03 CET 2020
> I agree with Steve. I want to minimize #ifdef usage and double
Maybe we all agree on that part then, because I want to minimize #ifdef
> For me, the main advantage of VLA is code simplicity. If you have to put
> ifdef and implement something twice, you kill the simplicity.
I like simplicity too. But as pointed out by Rémi, and as I meant
when talking about uses that are "actually beneficial to the code",
there are other advantages to VLAs than simplicity, some of which more
objective like performance. What do you think about those, and do you
think simplicity should trump them?
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel