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
golang at m.elcolombiano.com
Search
Juan Felipe Alvarez Saldarriaga
September 03, 2015
Programming
0
56
golang at m.elcolombiano.com
Juan Felipe Alvarez Saldarriaga
September 03, 2015
Tweet
Share
More Decks by Juan Felipe Alvarez Saldarriaga
See All by Juan Felipe Alvarez Saldarriaga
UI Tests con Espresso
nebiros
0
77
Aplicaciones Cocoa Touch con Swift 2
nebiros
1
62
Appcelerator's Titanium, native apps via JavaScript
nebiros
0
58
Apache Cordova or best called PhoneGap
nebiros
0
43
Other Decks in Programming
See All in Programming
複雑なドメインに挑む.pdf
yukisakai1225
5
980
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
18
9.8k
OSS開発者という働き方
andpad
5
1.7k
MCPでVibe Working。そして、結局はContext Eng(略)/ Working with Vibe on MCP And Context Eng
rkaga
5
1.9k
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
1
470
Claude Codeで実装以外の開発フロー、どこまで自動化できるか?失敗と成功
ndadayo
4
1.9k
Protocol Buffersの型を超えて拡張性を得る / Beyond Protocol Buffers Types Achieving Extensibility
linyows
0
110
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
540
【第4回】関東Kaggler会「Kaggleは執筆に役立つ」
mipypf
0
1k
時間軸から考えるTerraformを使う理由と留意点
fufuhu
14
4.3k
testingを眺める
matumoto
1
130
rage against annotate_predecessor
junk0612
0
160
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.8k
Practical Orchestrator
shlominoach
190
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Side Projects
sachag
455
43k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
How to Think Like a Performance Engineer
csswizardry
26
1.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Optimizing for Happiness
mojombo
379
70k
How GitHub (no longer) Works
holman
315
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Transcript
golang at m.elcolombiano.com Juan Felipe Alvarez Saldarriaga @nebiros
Software engineer at @ride I'm in the iOS Team, YAY!,
;-)
What is m.elcolombiano.com? A mobile website made in PHP. Reads
RSS feeds. Last month they had like 2.791.914 page views. elcolombiano.com
How it works? A background process run every X time.
This program get feeds from and process each one, also, it saves that information into a DB. The program is made in PHP. elcolombiano.com golang fits in here!
None
Rewriting a PHP program into golang… The PHP program is
OOP. All models and business logic is in PHP too. Project structure is totally different.
SHOW ME THA CODE!
And… voilà! sindyk-feeds-reader
Some stupid numbers…
PHP ✔ ~/Drive/Projects/elcolombiano-mobile-ng/bin [master|✚ 3…1] 08:14 $ APPLICATION_ENV=development time php
worker.php real 54.74 user 0.45 sys 0.19
golang ✘-1 ~/Drive/Projects/GoLang/src/github.com/nebiros/sindyk-feeds-reader [master|…2] 08:33 $ time go run main/sindyk-feeds-reader.go
-dbname elcolombiano-mobile_development real 0m8.783s user 0m2.597s sys 0m0.838s
Simple is better… Dig into other golang projects at github.
Start moving small chunks of code into golang. Stop thinking in OOP. Look first in the standard library. Avoid too much dependencies.
Thank you! Juan Felipe Alvarez Saldarriaga
[email protected]
@nebiros