News for hackers. Stuff that matters.
Re:Jupyter switches to C++ kernel and widgets by mistrial9 on Friday February 08, 2019 @10:28AM (#19115059)
hmm no disrespect intended but .. this line of the article jumps out .. "C++ is a good choice for a standard implementation of the protocol, it is a common denominator of most of the languages out there, it has a massive developer community and is widely adopted in the industry for performance middleware applications."

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 ?

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.

Re:Jupyter switches to C++ kernel and widgets by detaro on Friday February 08, 2019 @10:39AM (#19115163)
Seems like it exposes a C API.