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
Golo, petit mais costaud (Tours JUG)
Search
Philippe CHARRIERE
January 16, 2015
Programming
92
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Golo, petit mais costaud (Tours JUG)
Philippe CHARRIERE
January 16, 2015
Transcript
41 slides
#gololang #toursjug Golo PETIT MAIS COSTAUD
#gololang #toursjug Merci + Vous
#gololang #toursjug Responsable Marketing (Golo Dancer & Committer) @Typeunsafe Philippe
Charrière | @k33g_org
#gololang #toursjug Responsable Marketing (Golo Dancer & Committer) @Typeunsafe Directeur
Technique - Philippe Charrière | @k33g_org Lyon
#gololang #toursjug Golo, quoi, qui, pourquoi, … (au fait, c’est
un langage) Golo in action, particularités, Java (du code, du code, du code) Hacking Golo (le langage dont vous êtes le héros) … Nous parlerons de …
#gololang #toursjug Golo? Quoi, Qui, Pourquoi, …
#gololang #toursjug 1 langage dynamique pour la JVM à base
d’Invokedynamic facile à utiliser facile à modifier Golo? Golo, quoi, qui, pourquoi, …
#gololang #toursjug Golo? Golo, quoi, qui, pourquoi, … module hello
function hello = |who| { println("Hello " + who) } function main = |args| { let salut = |qui| -> println("Salut " + qui) salut("John") hello("Bob") }
#gololang #toursjug Créé par @jponge (aka “le doc”) Boss de
TypeUnsafe Golo? Golo, quoi, qui, pourquoi, …
#gololang #toursjug Dynamid Middlewares Dynamiques Expertise Invokedynamic Golo? Golo, quoi,
qui, pourquoi, …
#gololang #toursjug Middlewares Dynamiques? Golo? Golo, quoi, qui, pourquoi, …
#gololang #toursjug Léger 530 kb Golo <3 Java Golo est
rapide dans un contexte dynamique #notroll Golo? … à savoir Golo, quoi, qui, pourquoi, …
#gololang #toursjug Benchs ceci n’est pas un #troll Golo? Golo,
quoi, qui, pourquoi, …
#gololang #toursjug Golo, quoi, qui, pourquoi, … GoloBox
#gololang #toursjug Golo, quoi, qui, pourquoi, … Temps de démarrage
- plateforme : RPI B+ / Java 8 Un programme simple: afficher “Hello”
#gololang #toursjug Golo, quoi, qui, pourquoi, … Approche de PI
- plateforme : RPI B+ / Java 8 Durée totale du traitement (lancement + calcul) et temps de calcul (compris dans la durée de traitement)
#gololang #toursjug Golo, quoi, qui, pourquoi, … Java + dynamique
+ délais courts + mémoire (IOT) -> Golo Conclusion
#gololang #toursjug pour le fun pour apprendre (pas que Golo)
pour expérimenter & prototyper pour “partager” & participer pour de l’embarqué pour avoir son propre langage … Pourquoi faire du Golo? Golo, quoi, qui, pourquoi, …
#gololang #toursjug Un langage développé sur le temps libre, la
bonne volonté et la passion … et en peu de temps Golo? … à savoir Golo, quoi, qui, pourquoi, …
#gololang #toursjug Golo in action Particularités, Java
#gololang #toursjug Générer un projet Golo Simple: golo new hello
Maven: golo new hellomvn --type maven Gradle: golo new hellogrd --type gradle Préambule Particularités, Java
#gololang #toursjug Démos bouts de code Particularités, Java
#gololang #toursjug Perfs web
#gololang #toursjug à prendre avec des pincettes Applications
#gololang #toursjug Applications 1 mac avec le “serveur d’app°” 1
pc avec MongoDb
#gololang #toursjug Applications class BasicSimulation extends Simulation { val
httpConf = http .baseURL("http://localhost:9000") val scn = scenario("Add Humans").repeat(10) { exec( http("add human") .post("/humans") .body(StringBody("{\"_id\":\"@john_doe\",\"firstName\":\"John\",\"lastName\":\"Doe\"}")) .asJSON .check(status.is(201)) ) .exec( http("add human") .post("/humans") .body(StringBody("{\"_id\":\"@jane_doe\",\"firstName\":\"Jane\",\"lastName\":\"Doe\"}")) .asJSON .check(status.is(201)) ) .exec( http("add human") .post("/humans") .body(StringBody("{\"_id\":\"@bob_morane\",\"firstName\":\"Bob\",\"lastName\":\"Morane\"}")) .asJSON .check(status.is(201)) ) } setUp(scn .inject(rampUsers(1000) over (60)).protocols(httpConf)) }
#gololang #toursjug Applications Play 2 (Java) Kiss (Golo)
#gololang #toursjug Applications class BasicSimulationGetAll extends Simulation { val httpConf
= http .baseURL("http://localhost:9000") val scn = scenario("Get All Humans").repeat(100) { exec( http("get humans") .get("/humans") .check(status.is(200)) ) } setUp(scn .inject(rampUsers(5000) over (300)).protocols(httpConf)) }
#gololang #toursjug Applications Play 2 (Java) Kiss (Golo)
#gololang #toursjug Applications Play 2 (Java) Kiss (Golo)
#gololang #toursjug Golo in action Particularités, Java, DSL, IOT
#gololang #toursjug Démos bouts de code Particularités, Java
#gololang #toursjug Il y a aussi … tout ce dont
je n’ai pas eu le temps de parler http://golo-lang.org/documentation/next/ Particularités, Java
#gololang #toursjug Hacking Golo Facile!
#gololang #toursjug “Augmenter” Golo en Java … et en Golo
Hacking Golo
#gololang #toursjug Univers Golo Vers l’infini & au-delà
#gololang #toursjug Communauté Univers Golo
#gololang #toursjug @NinjaSquad @SerliFr @HGomez Et tous les autres: testeurs,
conférences, JUG, … https://github.com/golo-lang/golo-lang#contributing Mention spéciale Univers Golo
#gololang #toursjug The End Merci à vous, Questions?, …
#gololang #toursjug Golo: http://golo-lang.org/ https://github.com/golo-lang/golo-lang @golo_lang Dynamid: http://dynamid.citi-lab.fr/ Citi-Lab: http://www.citi-lab.fr/
Liens
#gololang #toursjug Boss: @jponge Marketing: @k33g_org |
[email protected]
Contacts
More Decks by Philippe CHARRIERE
See All by Philippe CHARRIERE
The Plan v3 pour BDX.io
k33g
1
210
Le Plan
k33g
0
220
Prog Fonctionnelle 🐑
k33g
1
410
Apéro fonctionnel
k33g
0
140
Scala Facile
k33g
0
300
Golo, the Tiny Language that gives super powers
k33g
0
160
Golo, the Tiny Language that gives super powers
k33g
0
320
Apéro Fonctionnel
k33g
0
290
Programmation fonctionnelle 🐑 en JS
k33g
2
300
Other Decks in Programming
See All in Programming
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
110
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
440
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
700
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
150
Distance field of Julia set
kinakomoti321
0
330
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
3
680
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
AppFunctionsの内部実装を紐解く
hiroaki404
1
120
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
180
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Being A Developer After 40
akosma
PRO
92
590k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
620
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
Optimising Largest Contentful Paint
csswizardry
37
4k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Exploring anti-patterns in Rails
aemeredith
4
580
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
310
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
450
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k