GitXplorerGitXplorer
m

multiple_dispatch

public
40 stars
2 forks
0 issues

Commits

List of commits on branch master.
Verified
d896938fe04a7bf530e69d206d11ea6c8d5a2f83

Merge pull request #4 from erjanmx/fix-readme-typo

mmsaroufim committed 4 years ago
Unverified
0cd36f36482e8f59f56cc59f75e972ce1db712f1

Fix typo

eerjanmx committed 4 years ago
Verified
7c5e18b19c97cce78a14ecc50504ad1c1bf613cd

Merge pull request #3 from briochemc/patch-1

mmsaroufim committed 4 years ago
Verified
3c771dffcfd3f55a0f8bba4ca66325769efb751a

Update README.md

mmsaroufim committed 4 years ago
Verified
cb6b7e0d2bb3f77789d17d05b618c81bedccef1f

Update README.md

bbriochemc committed 4 years ago
Verified
3ffc254a7dc9c2b513a9b919b7ee15ada5817f4a

Update README.md

mmsaroufim committed 4 years ago

README

The README file for this repository.

How Multiple Dispatch lets you write Composable software

This is an interactive tutorial made in a Pluto.jl notebook

Multiple dispatch is arguably the defining feature of Julia which lets you write code which is as easy as Python but as fast as C. The goal of this tutorial is to show you just how powerful Multiple Dispatch is and why it's used in pretty much every single Julia library.

We'll be going over how Multiple Dispatch lets you write

  1. Game/Physics Engines
  2. Type Specialized Matrix Multiplication
  3. Dealing with Uncertainty in packages that don't support uncertainty
  4. Automatic Differentiation a Tweet long implementation

Usage

Run remotely (easiest way)

Click here https://mybinder.org/v2/gh/fonsp/pluto-on-binder/master?urlpath=pluto/open?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmsaroufim%2Fmultiple_dispatch%2Fmaster%2Fsrc%2Fmultiple_dispatch.jl

Run remotely

  1. Go to https://pluto-on-binder.glitch.me/
  2. Put in my notebook url https://github.com/msaroufim/multiple_dispatch/blob/master/src/multiple_dispatch.jl
  3. Push enter and give it a a minute or two, loading the Julia libraries takes a while

Run locally (most reliable)

  1. using Pluto
  2. Pluto.run(1234)
  3. Navigate to localhost:1234 in your browser and open up the file

One of the many pretty pictures in this article showing how you can get error bars for free in a differential equation solver that doesn't natively support uncertainty using multiple dispatch.

Capture.PNG