On Friday, September 2, 2016 at 8:51:21 PM UTC-4, K leo wrote: > > While the majority of my analytics are in Julia, I will need to use an > external event handling API which is implemented in C++. It looks that I > have two options: 1) write the main code in C++ with the API and call Julia > function for analytics; 2) write the main code also in Julia that work > seamlessly with my analytics and call the C++ API for events. > > Which would be the better path in terms of ease of coding and performance? >
Much easier to call C++ from Julia, particularly with the Cxx.jl package <https://github.com/Keno/Cxx.jl>. Performance-wise, it shouldn't matter, but it is always easier to write glue code in a higher-level language than in a lower-level language.
