Re:Jupyter switches to C++ kernel and widgets
by T-A on Friday February 08, 2019 @10:38AM
(#19115161)
> AFAIK the linking characteristics of C++ are pretty bad, since the symbols are mangled in a compiler-specific way, no?
extern "C"
Re:Jupyter switches to C++ kernel and widgets
by pjmlp on Friday February 08, 2019 @11:02AM
(#19115444)
Any programming language that supports overloading uses mangled symbols in a compiler-specific way.
Having said this, for C++ there is extern "language" {}, with extern "C" {} being the most common.
AFAIK the linking characteristics of C++ are pretty bad, since the symbols are mangled in a compiler-specific way, no?
If a small library implements a protocol for any new kernel to re-use, wouldn't it be better to use a language that results in stable external symbols, for linking ?