« first day (3160 days earlier)      last day (620 days later) » 

12:47 PM
@ShixinZeng The JavaScript version has to do a fair amount of pre-processing on those calls to proxy the arguments and clean them up. It couldn't use the ... forms directly. Having the C forms generated allows for more flexibility there too (it's easier to change them all at once).
If you can think of any interesting improvements then by all means suggest it. The ideas behind the API are explained some in the source and in the Language Bridging forum section
 
@HostileFork The reason I'm asking is that I'm playing with a rust binding for rebol.h, and I haven't found a way to pass a va_list parameter from rust to C yet, but it seems to support passing ...
 
@ShixinZeng Hm. You could make a little libRebolVaList.a library that compiles the inline forms into actual C externs and use that (or just make it another #ifdef picked during the build process)
Any rust code would have to get involved in knowing the platform/compiler-dependent protocol: github.com/thepowersgang/va_list-rs/tree/master/src
 
@HostileFork That sounds like a good idea, I'll do some more research on this va_list thing
Yes, I looked at the link yesterday
Also, that link is for implementing ... in rust functions that C code can call.
 
1:43 PM
@ShixinZeng We could also make an option in the API which says that if the va_list pointer is null, it assumes the void *p argument is to a rebEND terminated plain array of pointers. That might make interop with languages that aren't particularly good at making va_lists have an easier time in bridging.
 
2:14 PM
I'd once thought that having a form of "feed" that was a pointer to a raw C array of cells (vs. a REBARR) might be good. But that wouldn't be useful to libRebol clients, who'd need a pointer-to-an-array-of-pointers instead, as they have only an opaque definition of REBVAL (don't know its size, etc.)
@ShixinZeng Since you think a lot about performance, you might be interested in this post about what kinds of things we can do to approach it in the API.
 
2:44 PM
I created a wiki entry for describing build process "wishes" on R3N github.com/r3n/ren-c/wiki/Build-process-for-REN-C
It is yet a draft but it is a start
 
 
1 hour later…
4:09 PM
@ShixinZeng Since you think a lot about performance, you might be interested in this post about what kinds of things we can do to approach it in the API.
@iArnold Good things to think about, there is also a forum thread
 
 
4 hours later…
8:27 PM
@HostileFork The forum has the disadvantage that posted messages are not editable (by others). The wiki can be improved by all of us.
 
@iArnold What the build process needs more than a wiki is a Czar who feels they have a start-to-finish vision of what it should be...what status messages should print out, how the code should look, how bootstrap concerns are kept in check, etc. It's hard to find such a person. earl was very much a build-systems-continuous-integration automator, and he is missed. :-/ Hope he's ok.
 
I was reading up on the forum thread. It illustrates the point. Good valid entries but no resulting resume.
Have to breakdown this huge thing into parts so small that can be done in a lost half an hour.
 

« first day (3160 days earlier)      last day (620 days later) »