←back to thread

jank is C++

(jank-lang.org)
257 points Jeaye | 1 comments | | HN request time: 0.205s | source
1. caim ◴[] No.44537755[source]
That's great! Interop with C++ is such a complex task. Congratss on your work! It's definitely not an easy thing.

I've always wondered what is the best way to interact with C++ template instantiation while keeping performance.

For a static language, you'd probably need to translate your types to C++ during compilation, ask Clang/GCC/MSVC to compile the generated C++ file, and then link the final result.

And finally, pray to the computer gods that name mangiling was done right.