Hi!

Andy Wingo <wi...@pobox.com> skribis:

> On Mon 14 Jan 2013 23:44, Alexei Matveev <alexei.matv...@gmail.com> writes:
>
>>   scm_to_int();
>>   scm_is_true();
>>   scm_is_symbol();
>>   scm_is_null();
>
> We can change these to inline functions, no problem.  They would also
> get an out-of-line version written to the .so, so that should work for
> you too.
>
> It seems that we can indeed make all of our API available to non-C
> users.  Any objections to doing so?

You wrote:

> Each additional function added to Guile's ABI imposes additional cost in
> runtime memory, ELF symbol resolution, and (to a degree) startup time,
> without providing any benefits to C users.  On the other hand, if we are
> only talking about 2 functions (say), then clearly we should do it.  So
> part of the question is, how much work are we talking about?

So I agree: if we’re talking about a few functions, that’s fine;
otherwise, that may be questionable.

WDYT?

Thanks,
Ludo’.


Reply via email to