Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Python and Julia. Why do we need another langua...
Search
PyGotham 2014
August 17, 2014
Programming
400
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Python and Julia. Why do we need another language? - Dwight J. Browne
Integration of Ipython notebook and Julia
PyGotham 2014
August 17, 2014
Transcript
17 slides
Python and Julia Why do we need another language?
Dwight J. Browne PyGotham 2014 Twi>er: @dwightb2 GitHub: h>ps://github.com/dbrowne/PresentaGons
History • Slow computers required efficient languages •
FORTRAN, C • Required efficient and diligent coding • strncpy(tooSmall,tooBig,sizeof(tooBig) = The olden days: The Honeymooners -‐ Oprah
More History • Compressed delivery Gme • Enterprise
apps bloat • C#, Java, Perl • *nix or Win • Computers kept ge_ng faster Seinfeld, Friends
A Brief Diversion
The Dark Ages Reality TV • GOOD
ENOUGH
Some Problems • Big applicaGons • Complex dependencies
• Cut and paste code • Technical debt 500 Channels and Nothing to Watch
The Big Problem The Notorious E.C.L.E • E.C.L.E.
-‐ Edit Compile Link Execute • More data. Finite Gme • Processing speeds are increasing slowly • Need a be>er way
The Need For Speed Fast and Furious •
High performance = C or FORTRAN • Using BLAS, LAPACK = FORTRAN • SGll hindered by E.C.L.E. • A use case for a dynamic language
Python The Sopranos and Breaking Bad •
MulG Paradigm • REPL and IPython save person years • Less TIMTOWDI = Less wasted Gme • Slowness will be forgiven for fast delivery • But not always
Julia Julia? Where did this come from?
• Fast C like performance • Incredibly young language = Immature library base • C interoperability = Python interoperability • MulGple dispatch • Focus on methods not methods of classes
But How Fast is It? Professional driver on closed
course
It’s Really That Fast? Your mileage may vary
What is this Witchcrah? How does it work?
• Python PyObject: • object.h, methodobject.h • descrobject.h • Julia PyObject: • PyCall.jl, pytype.jl • PyPlot.jl for Matplotlib • ccall to call external C libraries
Julia PyObject
IPython and Julia Yes. You can have your cake
and eat it too! • Ijulia/src/msg.jl • IPython/kernel/zmqIPython/kernel/zmq/session.py
That’s All Folks!
Is that it? DemonstraGon
More Decks by PyGotham 2014
See All by PyGotham 2014
Service Oriented Flask - Randall Degges
pygotham2014
2
240
What Problem Are You Trying to Solve, Anyway? - Alfred Lee
pygotham2014
0
150
Decorators 101: A Gentle Introduction to Functional Programming - Jillian Munson
pygotham2014
3
330
Pretty Pictures Please - Hannah Aizenmann
pygotham2014
0
180
Weather of The Century - J. Randall Hunt
pygotham2014
0
130
Setting up your Python development environment in IPython - Daniel Kronovet
pygotham2014
0
110
Failing With Grace - Sean O'Connor
pygotham2014
0
130
Caching up and down the stack in Django - James Meickle
pygotham2014
1
110
PyParallel - Trent Nelson
pygotham2014
0
110
Other Decks in Programming
See All in Programming
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.9k
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
140
Crash Auto Pipelines
veronikapj
1
410
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
250
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
980
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
320
小さなアプリを作って公開するまで
onozaty
0
170
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
420
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
750
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.3k
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
400
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
300
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
The untapped power of vector embeddings
frankvandijk
2
2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The agentic SEO stack - context over prompts
schlessera
0
1k