Michael Hunter
Michael Hunter
Hi @boogie. What's happening in your case is that your variables `argValue`, `argType`, and `argSource` are not reachable by the Microvium garbage collector. And since there are no JavaScript references...
I've now added some docs around the use of handles, and warnings on all the API functions that return values that may need to be wrapped in a handle. https://github.com/coder-mike/microvium/blob/main/doc/handles-and-garbage-collection.md
Hi. Great to hear you like it and thanks for linking your project! To clarify, are you asking for how to use the low level FFI methods in `microvium.h` and...
Ok, I've now written a guide to how to interface between C and JavaScript. See [doc/ffi-guide.md](https://github.com/coder-mike/microvium/blob/main/doc/ffi-guide.md). Let me know if that helps! I think perhaps you misunderstood the intention of...
A HAL would be great. Are you doing this as open source work?
Nice! Can you link it here?
> Can you see the project ? Yes, I can see it :-) > How I can export this structure? To pass a structure over the boundary, there are two...
Sure. Does this help you get started: ```c // copy-struct.c/h typedef enum FieldType { FT_INT, FT_STRING, } FieldType; typedef struct FieldDef { const char* name; size_t offset; FieldType type; }...
The agent would also be making network requests to submit the logs to the DataDog server using some protocol. If that protocol is apparently more efficient, is it difficult for...
I think batching would make a big difference, if the DataDog HTTP protocol supports that.