Functional Functional Programm Programming ingXP
XP
1
The Industrial Experience
Functional Functional Programm Programming ing XP XP The - - PowerPoint PPT Presentation
Functional Functional Programm Programming ing XP XP The Industrial Experience 2013-02-21 vers 1 1 Kar Karol ol Ostrovsk Ostrovsk M.Sc. Comenius University, Bratislava Ph.D. Chalmers Post-doc Chalmers System
XP
1
The Industrial Experience
2
programming languages
3
4
5
6
map reduce/fold
7
[B] C
8
The Message from this Course
course, please, remember at least this saying:
3 PPVT10 – Introduction
Use the right tool for the job.
9
− Admission control, Authentication − Mobility, roaming
10
running processes
11
running processes
12
13
NCB FSB FSB DP DP DP AP AP AP NCB
− concurrency − distribution − fault-tolerance
− frameworks for protocol implementation
14
− Possible in any language − Often easier in a functional language
− Considerably more powerful in a functional language
15
16
17
18
19
20
46 PPVT10 – Message Passing
Architecture
filter1 filter2 filterN nums eat
logging LOG
21
AP_1 AP_2 AP_N NCB
− Good separation of concerns − Improved compositionality − Possible performance gain
amortise the cost of transactions:
− 1 item write costs 10 − 10 items write is not 100 but only 20!
22
jump over
communication
23
24
25
1.
Write a straightforward and working solution first
2.
Optimise later (or even better skip this step)
26
− Refactoring − Code review − Software maintenance
27
− Quickcheck − SGSN-MME has its own
28
− Web servers, etc.
− Test scripting
example C)
29
30
(with the same performance)
compiler, VM (Elixir?)
31
probably be a hindrance
needed
32
33
54 PPVT10 – Introduction
Sayings
is when a system goes from not-working to working
happens all the time is a problem that doesn't happen all the time
banks, big-data, …
34
35