Tag: Julia

The “===” Operator in Julia

Written by on July 23, 2023 in Julia, Programming with 0 Comments
The “===” Operator in Julia

In addition to the conventional “==” operator that checks if two objects are equal, Julia has the “===” operator to check for equality. What is the difference between these two operators? The “==” operator checks whether two objects have the same value. Here are some examples: Cell 5 shows that the RHS float value is […]

Continue Reading

Julia: Defining Functions Dynamically

Written by on March 5, 2023 in Julia, Programming with 0 Comments
Julia: Defining Functions Dynamically

One of the widely discussed features of Julia is its support for metaprogramming. This feature makes it possible to generate and inspect the code at runtime. In essence, metaprogramming blurs the distinction between code and data. When used carefully, it can contribute to good code. Of course, Julia is not the only or the first […]

Continue Reading

Calling External DLL Functions from Julia

Written by on February 16, 2023 in Julia, LISP, Programming with 0 Comments
Calling External DLL Functions from Julia

Julia supports calling external functions, especially those written in “C” language. As Julia documentation says, such calls do not involve any “boilerplate” code and hence are efficient. In today’s article, I am going to show how to call functions defined in a DLL (Windows 64 bit). Instead of using direct “C” functions, I will discuss […]

Continue Reading

Using Julia to Interact with Mathematica

Written by on July 22, 2016 in Julia, Mathematica, Programming with 0 Comments
Using Julia to Interact with Mathematica

Mathematica is a powerful environment for symbolic and numerical computation. I have been using it for many years now. In this post I had explained how we can use Mathematica bundled with Raspberry distribution to control littleBits devices. When I saw that there is support in Julia for interacting with Mathematica, I decided to investigate it […]

Continue Reading

Multimethods in Julia

Written by on July 7, 2016 in Julia, Programming with 0 Comments
Multimethods in Julia

I got interested in Julia programming language quite recently, primarily because of a project involving image processing and machine learning. The language is still evolving, but already has a rich set of features and a good collection of external libraries covering many areas. One of the highlights of the language is its highly optimised code generation, […]

Continue Reading

Top