Replies: 1 comment 1 reply
-
Not sure what syntax we'll use for declaring external C functions when there isn't a C header to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys/gals/NB-pals!
Currently going through the docs, trying to wrap my mind around if I should be using the same extern style as used in CPP to link to hand optimized SIMD/assembly functions.
Currently you'd do something like
extern "C" 'type' NASM_function_name(int threadID);
where
NASM_function_name
is something along the lines of:/// math goes here
in C++.
you'd have NASM/yasm compile the *.asm and link via your makefile.
what does that look like for carbon? what is the expected workflow in carbon?
Beta Was this translation helpful? Give feedback.
All reactions