are go and d threats to python

48

Upload: russel-winder

Post on 01-Dec-2014

550 views

Category:

Technology


2 download

DESCRIPTION

An idiosyncratic, and very quick compare and contrast of Go, D and Python aimed at teasing out when each might be appropriate for a given task.

TRANSCRIPT

Page 2: Are Go and D threats to Python

● –

● –

● –

Page 3: Are Go and D threats to Python
Page 4: Are Go and D threats to Python

Page 5: Are Go and D threats to Python

Page 6: Are Go and D threats to Python

Yes

Page 7: Are Go and D threats to Python

Go and D are statically typed, compiled,native code languages (and hence fast),

whereas Python is a dynamically typed, interpreted language (and hence slow).

Page 8: Are Go and D threats to Python

No

Page 9: Are Go and D threats to Python

Python is a nice, forgiving language to develop with and performance can be dealt with.

Page 10: Are Go and D threats to Python
Page 11: Are Go and D threats to Python
Page 12: Are Go and D threats to Python
Page 13: Are Go and D threats to Python
Page 14: Are Go and D threats to Python
Page 15: Are Go and D threats to Python
Page 16: Are Go and D threats to Python
Page 17: Are Go and D threats to Python

Look at some code…

Page 18: Are Go and D threats to Python

Page 19: Are Go and D threats to Python

Page 20: Are Go and D threats to Python
Page 21: Are Go and D threats to Python

“ ”

Page 22: Are Go and D threats to Python

“ ”

Page 23: Are Go and D threats to Python
Page 24: Are Go and D threats to Python

Look at some code…

Page 25: Are Go and D threats to Python
Page 26: Are Go and D threats to Python
Page 27: Are Go and D threats to Python

ROFLAO

Page 28: Are Go and D threats to Python
Page 29: Are Go and D threats to Python
Page 30: Are Go and D threats to Python
Page 31: Are Go and D threats to Python

Page 32: Are Go and D threats to Python

Page 33: Are Go and D threats to Python

Simples Александр Орлов 2009

Page 34: Are Go and D threats to Python
Page 35: Are Go and D threats to Python

● –

4=∫0

1 1

1x2dx

Page 36: Are Go and D threats to Python

● –

=4n∑i=1

n 1

1i−0.5n

2

Page 37: Are Go and D threats to Python
Page 38: Are Go and D threats to Python
Page 39: Are Go and D threats to Python

a + b + c + d + e + f

=

( a + b ) + ( c + d ) + ( e + f )

Page 40: Are Go and D threats to Python

Page 41: Are Go and D threats to Python

● –

● –

● –

● –

● –

Page 42: Are Go and D threats to Python

Look at some code…

Page 43: Are Go and D threats to Python
Page 44: Are Go and D threats to Python
Page 45: Are Go and D threats to Python
Page 47: Are Go and D threats to Python

Definitely

Page 48: Are Go and D threats to Python