bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stack module


From: Bruno Haible
Subject: Re: stack module
Date: Sat, 23 May 2020 19:19:01 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Marc Nieper-Wißkirchen wrote:
> > I was expecting that you write
> >
> >   struct
> >   {
> >     void *base; ...
> >   }
> 
> This removes type safety. The benefit of the current approach is that
> stack types of different types are not compatible.

Indeed. Yes, it's a difficult trade-off between debuggability, binary code size,
and type safety...

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]