Brian E Carpenter <brian.e.carpen...@gmail.com> wrote:
    >> Brian E Carpenter <brian.e.carpen...@gmail.com> wrote: > Hi,
    >>
    >> > We will discuss the GRASP API >
    >> (https://tools.ietf.org/html/draft-liu-anima-grasp-api-03) in Chicago.
    >>
    >> > One related topic is how to map this API into C, which is perhaps
    >> the > most fundamental mapping.
    >>
    >> As someone who writes lots of C, I am not convinced this is a useful
    >> exercise.

    > Can you explain? If you're arguing that no ASAs will be written in C,
    > that's defensible, but maybe that isn't your argument?

I think that ASAs that are written in C will be written in that language for
reasons of extreme constraints. As such, they won't bother with a
library/API.  It will all be statically initialized globals and other stuff.
(Go read the Contiki code for an example of what I mean...)

Everyone else will write their ASAs in a higher level language: python, ruby,
perl, java, scala, *go*, maybe rust.   The really hard thing about the C api
is that doesn't deal well with indefinites like intents...

--
Michael Richardson <mcr+i...@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-



Attachment: signature.asc
Description: PGP signature

_______________________________________________
Anima mailing list
Anima@ietf.org
https://www.ietf.org/mailman/listinfo/anima

Reply via email to