How does the pervasiveness of JavaScript on the client change how we architect applications? We can create hundreds virtual machines in the cloud, but we are using the millions of visual machines that visit our sites every day? Suddenly we are scripting against thousands of Virtual Machines from the command line while creating things today with JavaScript in the browser that were impossible yesterday. LiveScript becomes JavaScript becomes ES6 and now we're compiling C++ to JavaScript. Join Scott Hanselman as he explores the relationship between the Cloud and the Browser, many Languages and one Language, how it might all fit together and what comes next.
15. “I think there is a world market for
maybe five computers.”
– Thomas J. Watson
16. “I think there is a world market for
maybe five computers.”
– Thomas J. Watson
17. “I think there is a world market for
maybe five computers.”
– Thomas J. Watson
18. “I think there is a world market for
maybe five computers.”
– Thomas J. Watson Pictures: Wikipedia Commons
http://en.wikipedia.org/wiki/File:Ibm704.gif
http://en.wikipedia.org/wiki/File:IBM_Electronic_Data_Processing_Machine_-_GPN-2000-001881.jpg
19. “I think there is a world market for
maybe five computers.”
– Thomas J. Watson Pictures: Wikipedia Commons
http://en.wikipedia.org/wiki/File:Ibm704.gif
http://en.wikipedia.org/wiki/File:IBM_Electronic_Data_Processing_Machine_-_GPN-2000-001881.jpg
75. The biggest mistake we made as a
company was betting too much on
HTML5 as opposed to native. It just
wasn’t ready.” - Mark Zuckerberg
Picture: Creative Commons
http://commons.wikimedia.org/wiki/File:Scoble-Zuckerberg-20080723.jpg
96. I said "JS is the x86 of the web" a
couple of years ago but I can't claim it's
original. - Brendan Eich
Brendan Fraser headshot
97. I said "JS is the x86 of the web" a
couple of years ago but I can't claim it's
original. - Brendan Eich
(He kind of invented JavaScript)
Brendan Eich
Wikimedia Commons: http://en.wikipedia.org/wiki/File:BEich.jpg
98. var Greeter = (function () {
function Greeter(greeting) {
this.greeting = greeting;
}
Greeter.prototype.greet = function () {
return "<h1>" + this.greeting + "</h1>";
};
return Greeter;
}
)();
var greeter = new Greeter("Hello, world!");
var str = greeter.greet();
document.body.innerHTML = str;
class Greeter
constructor: (@greeting) ->
@greet -> return "<h1>" +
this.greeting + "</h1>";
greeter = new Greeter("Hello, world!");
str = greeter.greet()
document.body.innerHTML = str
CoffeeScript
99. var Greeter = (function () {
function Greeter(greeting) {
this.greeting = greeting;
}
Greeter.prototype.greet = function () {
return "<h1>" + this.greeting + "</h1>";
};
return Greeter;
}
)();
var greeter = new Greeter("Hello, world!");
var str = greeter.greet();
document.body.innerHTML = str;
class Greeter {
greeting: string;
constructor(greeting: string) {
this.greeting = greeting;
}
greet() {
return "<h1>"+this.greeting+"</h1>";
}
}
var greeter = new Greeter("Hello, world!");
var str = greeter.greet();
document.body.innerHTML = str;
TypeScript
114. Artistic Photo Illustration by Gustaf Mantel
Used with Artist Permission
http://iwdrm.tumblr.com/post/3181676800
115.
116.
117. The Cloud
Massive scale and elasticity
Your choice of languages
The Browser
Deceptively powerful. Accelerated graphics
Rich style and integrated virtual machine
118. The Cloud
You have unlimited Virtual Machines
You can write in any language
The Browser
Your user has a powerful Virtual Machine
You can write JavaScript (or target it)
119. The user’s Virtual Machine is part of
the cloud also…put it to work.
Your cloud
doesn’t need to
work so hard.
120. Artistic Photo Illustration by Gustaf Mantel
Used with Artist Permission
http://iwdrm.tumblr.com/post/3901348750
121. Artistic Photo Illustration by Gustaf Mantel
Used with Artist Permission
http://iwdrm.tumblr.com/post/21381673042