Nim is a compiled, garbage-collected systems programming language which has an excellent productivity/performance ratio. Nim's design focuses on efficiency, expressiveness, elegance (in the order of priority).
int *data;
from C to Nim?
0..0
array with {.unchecked.}
doesn't work on the latest devel. Ref: https://forum.nim-lang.org/t/567
struct emxArray_int32_T
{
int *data;
int *size;
int allocatedSize;
int numDimensions;
boolean_T canFreeData;
};
typedef struct emxArray_int32_T emxArray_int32_T;
typedef struct {
emxArray_int32_T *data;
int len;
} struct0_T;
struct emxArray_int32_T
, I have pointers to two int arrays along with other "normal" types
echo test2
doesn't work as $ isn't implemented for UncheckedArray
echo test2[]
doesn't work
for i in 0 .. 3:
echo test2[i]
mean_func_1
from compiled .so of Matlab exported .c