Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Golo @SoftShake
Search
Philippe CHARRIERE
October 25, 2013
Programming
0
240
Golo @SoftShake
Philippe CHARRIERE
October 25, 2013
Tweet
Share
More Decks by Philippe CHARRIERE
See All by Philippe CHARRIERE
The Plan v3 pour BDX.io
k33g
1
170
Le Plan
k33g
0
180
Prog Fonctionnelle 🐑
k33g
1
360
Apéro fonctionnel
k33g
0
120
Scala Facile
k33g
0
270
Golo, the Tiny Language that gives super powers
k33g
0
100
Golo, the Tiny Language that gives super powers
k33g
0
240
Apéro Fonctionnel
k33g
0
260
Programmation fonctionnelle 🐑 en JS
k33g
2
290
Other Decks in Programming
See All in Programming
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
190
(Extension DC 2025) Actor境界を越える技術
teamhimeh
1
250
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
1
1k
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
450
Catch Up: Go Style Guide Update
andpad
0
210
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.3k
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
200
階層構造を表現するデータ構造とリファクタリング 〜1年で10倍成長したプロダクトの変化と課題〜
yuhisatoxxx
3
980
スマホから Youtube Shortsを見られないようにする
lemolatoon
25
28k
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
0
210
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
230
CSC305 Lecture 02
javiergs
PRO
1
270
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
Making Projects Easy
brettharned
119
6.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Designing for Performance
lara
610
69k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Facilitating Awesome Meetings
lara
56
6.6k
Music & Morning Musume
bryan
46
6.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Transcript
Le petit langage qui donne des super-pouvoirs
Moi?
le jour Avant-Vendeur ?! Steria LYON
la nuit @k33g_org Golo Developer Advocate ;-)
nous allons voir ...
Golo Origins Golo Basics Golo Advanced
Golo Origins
Golo? Quoi ?
Nouveau langage pour la JVM
Nouveau langage Java 7, 8
Nouveau langage Java 7, 8 Invokedynamic
Doc Ponge @jponge
#gololang @golo_lang http://golo-lang. org
Sérieux ? Encore un langage pour la JVM !
Oui, mais ...
Simple
Simple à apprendre
Simple à apprendre Léger
Simple à apprendre Léger 360 ko
Simple à apprendre Léger 360 ko Evolutif
Simple à apprendre Léger 360 ko Evolutif très facilement
None
ça ressemble à quoi ?
#DEMO dsl, template, ...
Golo? Pourquoi ?
Dynamid Expertise Invokedynamic Middlewares dynamiques
Besoin de Faciliter les expérimentations de recherche
>> décision de créer
1 langage & 1 runtime
1 langage > dialectes & 1 runtime
1 langage > dialectes & 1 runtime > capacités
Golo est né
Golo est né construit pour Invokedynamic
Golo est né construit pour Invokedynamic prêt à conquérir le
monde
Golo est né construit pour Invokedynamic prêt à conquérir (tout)
le monde
Invokedynamic ?
en 15 secs max je n’y connais rien
>> à partir de Java 7 1 nouvelle instruction Invokedynamic
Profiter d’une meilleure compilation JIT
Profiter d’une meilleure compilation JIT Invocation + rapide # réflexion
Profiter d’une meilleure compilation JIT Invocation + rapide # réflexion
Invocation optimisable
Invokedynamic aide la JVM à comprendre ce que font les
langages dynamiques
Golo Basics
#DEMO petit cours “rapide” de Golo ou “Golo par l’exemple”
Golo Advanced
#DEMO modifier Golo!!!
Scripter Java en Golo
Golo Class Loader GoloClassLoader classLoader = new GoloClassLoader(); Class<?> moduleClass
= classLoader.load( "foo.golo", new FileInputStream("/path/to/foo.golo") ); Method bar = moduleClass.getMethod("bar", Object.class); bar.invoke(null, "golo golo");
www.sparkjava.com jackson Jedis
Google App Engine goloo-framework.appspot.com
Troll … Pas Troll
Comparons ce qui est comparable
Comparons ce qui est comparable static <> dynamic
Scala : static aussi (+?) rapide que Java DSL fonctionnel
gigantesque mais apprentissage très long
Groovy : dynamic (*) moins rapide que Java mais très
complet, >> : builders (html, json, …), ... apprentissage rapide (*) : mode statique possible
Golo : dynamic moins rapide que Java, plus rapide que
JRuby, “Sucrette syntaxique” pour Java & “goodies” apprentissage ultra rapide
Dynamiques(à relativiser)
Golo vs Statiques
Ecosystème Golo
Projets de recherche Congolo / Frédéric Le Mouël Hardengolo /
Nicolas Stouls IDE Eclipse / Jeff Maury Netbeans / David Festal Tools Intégration OSX (homebrew) / Romain Lespinasse Intégration Linux / Henri Gomez Web Intégration Vert.x / Julien Viet Futur évangéliste Daniel Petisme
Let us make sure history never forgets the name ...
Golo JL Picard
Je l’utilise pour ...
Apprendre Java Prototyper DSL Estimations DSL G° Exigences Webapps
Et après ?
Dynamic class adapters & Proxies Concurrency APIs ...
?