diff --git a/10_intro_julia.ipynb b/10_intro_julia.ipynb index c2bbdd4..353bbbb 100644 --- a/10_intro_julia.ipynb +++ b/10_intro_julia.ipynb @@ -815,12 +815,12 @@ "id": { "block": "YGbd9s4sS5lt5mBitmkJ", "project": "4qWjnDwuuPUd70Df3LsC", - "version": 1 + "version": 2 } } }, "source": [ - "The core design to make Julia fast is type-stability through specialization via multiple-dispatch. A single function in Julia can take different types of input and compile the function in specialized ways. This \"specialization\" brings huge performance gains to Julia. Let's first go over a simple example, namely scalar multiplication, and use the macro `@code_llvm` to check what Julia compiles it to (LLVM is a type of portable assembly language)." + "The core design to make Julia fast is type-stability through specialization via multiple-dispatch. A single function in Julia can take different types of input and compile the function in specialized ways. This \"specialization\" brings huge performance gains to Julia. Let's first go over a simple example, namely scalar multiplication, and use the macro `@which` to check the method being used" ] }, { @@ -866,12 +866,12 @@ "id": { "block": "rRJvyj4tLEoUJ4PPgVCr", "project": "4qWjnDwuuPUd70Df3LsC", - "version": 1 + "version": 2 } } }, "source": [ - "In this example, we want to compute the multiplication of 2 integers. As we can see, the underlying assembly code is running the multiplication of integers." + "In this example, we want to compute the multiplication of 2 integers. As we can see, the underlying method is running the multiplication of integers." ] }, { @@ -917,12 +917,12 @@ "id": { "block": "2T7liWcDr9NnK9O1YPKi", "project": "4qWjnDwuuPUd70Df3LsC", - "version": 1 + "version": 2 } } }, "source": [ - "If we multiply 2 floating point numbers, we can see that a different (specialized) assembly code is used, which is designed specifically for the type `double` (`Float64` in Julia)." + "If we multiply 2 floating point numbers, we can see that a different method is used, which is designed specifically for the type `double` (`Float64` in Julia)." ] }, { @@ -1768,7 +1768,7 @@ "id": { "block": "75XEhpExCShLZopzZkJe", "project": "4qWjnDwuuPUd70Df3LsC", - "version": 5 + "version": 6 } }, "kernelspec": {