From: janis_papanagnou+ng@hotmail.com   
      
   On 2026-02-08 09:52, Michael S wrote:   
   > On Fri, 6 Feb 2026 13:04:34 +0000   
   > Bart wrote:   
   >> On 06/02/2026 12:47, Michael S wrote:   
   >>> On Fri, 6 Feb 2026 12:39:55 +0000   
   >>> Bart wrote:   
   >>>>   
   >>>> I guess you've never used printf-family functions via the FFI of   
   >>>> another language!   
   >>>   
   >>> Vararg via FFI? Is it really a good idea?   
      
   (This was exactly my thought.)   
      
   (There's obviously a reason why languages that access "C" functions   
   seem to avoid support for "varargs".)   
      
   >> [...]   
   > [...]   
   > I asked whether it is a good idea.   
   > Is not it simpler for you and for your potential users to declare that   
   > your language can not call external C functions with variable number of   
   > arguments? To me it does not sound like this ability is either necessary   
   > or very valuable.   
      
   C's "varargs" mechanism always appeared kludgy to me. Though I haven't   
   followed "varargs" in "C" since K&R times, but I've a faint impression   
   that something has been done and changed since back then.   
   What was it, or is it still supported [only] in its original form?   
      
   Janis   
      
   > [...]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|