On Thursday, 22 March 2018 at 12:10:34 UTC, Aedt wrote:
On Thursday, 22 March 2018 at 10:45:50 UTC, Atila Neves wrote:
On Thursday, 22 March 2018 at 00:24:34 UTC, Seb wrote:
On Wednesday, 21 March 2018 at 23:46:19 UTC, jmh530 wrote:
[...]
For reference, I think jmh530 was referring to this:
https://github.com/atilaneves/include
That's the one. It's nearly ready to announce (although even
by then there will be a loooot of work to do afterwards).
Sneak peek, this works right now (yes, what's shown is, except
for the #include directives, D code):
#include "nanomsg/nn.h"
#include "nanomsg/pubsub.h"
void main() {
const sock = nn_socket (AF_SP, NN_PUB);
scope(exit) nn_close(sock);
}
As for the how/what/why/WTF/etc, stay tuned.
Atila
Just out of sheer curiosity, will I be able to #include
<pthread.h> or <gtk.h>?
I'm not sure whether you are aware, but D pthread "header" are
shipped with DRuntime as core.sys.posix.pthread:
https://github.com/dlang/druntime/blob/master/src/core/sys/posix/pthread.d