SlideShare a Scribd company logo
Erlang (GeekTalks)
Welcome to Erlang
cystbear
Erlanger
Symfony expert
MongoDB adept
OSS doer
https://twitter.com/1cdecoder
https://github.com/cystbear
http://trinity.ck.ua/
Erlang (GeekTalks)
HOTCODE 2013
https://twitter.com/5ht
https://synrc.com/
Maxim Sokhatskiy
Time to change something
History
History
https://www.youtube.com/watch?
Specific use cases
Non OOP paradigm
Naive syntax
No so big community
Lack of libs
Pros / Cons
https://www.erlang-solutions.com/
https://synrc.com/
https://github.com/tapsters
https://github.com/erlangbureau
Low level thinking!
Functional
Fast
Robust
Expressive syntax
Endless running apps
Update code on a fly
Own Scheduler
Processes based architecture
Supervisor tree
No shared memory
Pros / Cons
Hey, did you heard about FP?
High order functions
Lambda functions
Separation data and functions
Immutable
Lazy
Tail recursion
Algebraic data types
Pattern matching
Functional
https://twitter.com/nikitonsky
http://tonsky.me/talks/2015-frontendconf/
http://tonsky.me/talks/2015-codefest/
Performance
http://slides.com/maximsokhatsky/n2o
Scheduler
http://habrahabr.ru/post/128772/
http://habrahabr.ru/post/260065/
Basics
Integer 42
Float 4.2 aka double
Atom ok
Binary <<"Erlang-powa">>
Reference #Ref<0.0.0.29>
Pid <0.0.42>
Port #Port<0.42>
Fun #Fun<erl_eval.6.82930912>
Basics2
List [<<42,1,0,90>>, 1, ok]
Tuple {<0.0.16>, 107, 42, ["madness", true]}
we can force lists type and typify turples
named tuples =:= records
Example
-module(fib).
-export([fib/1]).
fib(0) -> 0;
fib(1) -> 1;
fib(N) -> fib(N - 1) + fib(N - 2).
Example
-module(fib).
-export([fib/1]).
fib(N) when N > 0 -> fib(N, 1, 0, 1).
fib(1, _, _, _) -> 1;
fib(2, _, _, _) -> 1;
fib(N, N, _, Prev) -> Prev;
fib(N, C, Prev2, Prev) -> fib(N, C+1, Prev, Prev2+Prev).
Example QuickSort
qsort([]) -> [];
qsort([X|Xs]) ->
qsort([Y || Y<-Xs, Y <= X]) ++ [X] ++ qsort([Y || Y<-Xs, Y > X]).
Application Examples
Web Sites
Rest Services
Video Streaming
Chats
RabbitMQ
Riak, CouchDB, Hibari, KAI, LeoFS, Mnesia
ejabberd
Cowboy
Wings 3D
PrivatBank
Github Pages / Gist
Companies
Future
Cherkassy –> fprog
https://www.facebook.com/groups/Cherkassy.fprog/
Erlang (GeekTalks)

More Related Content

PDF
Hacking the Python AST
PDF
Static analysis for perl
PPTX
Logging with Monolog
PDF
Avoiding API Library Antipatterns
PDF
Puppet Camp Portland 2014: Masterless Puppet in AWS
PPTX
Gdg dev fest 2107 to kotlin, with love
PPTX
News In The Net40
PPS
I can has API? A Love Story
Hacking the Python AST
Static analysis for perl
Logging with Monolog
Avoiding API Library Antipatterns
Puppet Camp Portland 2014: Masterless Puppet in AWS
Gdg dev fest 2107 to kotlin, with love
News In The Net40
I can has API? A Love Story

What's hot (7)

PDF
Code Nomads meetup June 2018 - Angular for Java developers
PDF
OpenValue meetup July 2018 - Angular for Java developers
PDF
J-Spring 2018 - Angular for Java developers
PPT
Symfony Components in the wild
PPT
Building Big on the Web
PDF
Tweakers Developers Summit 2019 - Angular for backend developers
Code Nomads meetup June 2018 - Angular for Java developers
OpenValue meetup July 2018 - Angular for Java developers
J-Spring 2018 - Angular for Java developers
Symfony Components in the wild
Building Big on the Web
Tweakers Developers Summit 2019 - Angular for backend developers
Ad

Viewers also liked (6)

PDF
Welcome to Erlang
PDF
PHP. Trends, implementations, frameworks and solutions
PDF
Keep It Simple Security (Symfony cafe 28-01-2016)
PDF
Oro meetup #4
PDF
Yii2 restful 基礎教學
PDF
PHP Indonesia Meetup - What's New in Yii2 and PHP5.5
Welcome to Erlang
PHP. Trends, implementations, frameworks and solutions
Keep It Simple Security (Symfony cafe 28-01-2016)
Oro meetup #4
Yii2 restful 基礎教學
PHP Indonesia Meetup - What's New in Yii2 and PHP5.5
Ad

Similar to Erlang (GeekTalks) (20)

KEY
Osdc 2011 michael_neale
PDF
Erlang Developments: The Good, The Bad and The Ugly
PDF
You shall not get excited
PDF
Erlang from behing the trenches by Francesco Cesarini
PPTX
Erlang real time
PDF
SE2016 Exotic Valerii Vasylkov "Erlang. Measurements and benefits"
PDF
Valerii Vasylkov Erlang. measurements and benefits.
KEY
Erlang Workshop at Dyncon 2011
ODP
erlang at hover.in , Devcamp Blr 09
PDF
4Developers 2015: Lessons for Erlang VM - Michał Ślaski
PDF
Erlang, the big switch in social games
PDF
Erlang factory SF 2011 "Erlang and the big switch in social games"
PDF
Using Erlang on the RaspberryPi to interact with the physical world
PPTX
Erlang kickstart
PDF
Let it crash! The Erlang Approach to Building Reliable Services
PDF
Erlang, random numbers, and the security: London Erlang User Group Talk Slide...
PDF
Erlang Lightning Talk
PDF
Erlang session1
PDF
Максим Харченко. Erlang lincx
PDF
0.5mln packets per second with Erlang
Osdc 2011 michael_neale
Erlang Developments: The Good, The Bad and The Ugly
You shall not get excited
Erlang from behing the trenches by Francesco Cesarini
Erlang real time
SE2016 Exotic Valerii Vasylkov "Erlang. Measurements and benefits"
Valerii Vasylkov Erlang. measurements and benefits.
Erlang Workshop at Dyncon 2011
erlang at hover.in , Devcamp Blr 09
4Developers 2015: Lessons for Erlang VM - Michał Ślaski
Erlang, the big switch in social games
Erlang factory SF 2011 "Erlang and the big switch in social games"
Using Erlang on the RaspberryPi to interact with the physical world
Erlang kickstart
Let it crash! The Erlang Approach to Building Reliable Services
Erlang, random numbers, and the security: London Erlang User Group Talk Slide...
Erlang Lightning Talk
Erlang session1
Максим Харченко. Erlang lincx
0.5mln packets per second with Erlang

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Electronic commerce courselecture one. Pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Cloud computing and distributed systems.
PPTX
sap open course for s4hana steps from ECC to s4
PDF
KodekX | Application Modernization Development
PDF
Empathic Computing: Creating Shared Understanding
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
MYSQL Presentation for SQL database connectivity
NewMind AI Weekly Chronicles - August'25 Week I
“AI and Expert System Decision Support & Business Intelligence Systems”
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Electronic commerce courselecture one. Pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Cloud computing and distributed systems.
sap open course for s4hana steps from ECC to s4
KodekX | Application Modernization Development
Empathic Computing: Creating Shared Understanding
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
MYSQL Presentation for SQL database connectivity

Erlang (GeekTalks)