|
|
Log in / Subscribe / Register

An introduction to the Julia language, part 2

An introduction to the Julia language, part 2

Posted Sep 8, 2018 0:44 UTC (Sat) by quietbritishjim (subscriber, #114117)
Parent article: An introduction to the Julia language, part 2

The multiple dispatch ability sounds like overloaded functions in C++. The example given would be like overloading these two functions:

template <class T>
decltype(b-a) pdiff(T a, T b);
string pdiff(string a, string b);


to post comments

An introduction to the Julia language, part 2

Posted Sep 8, 2018 2:45 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link]

Except in Julia it works in runtime.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds