TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Birth and Death of JavaScript [video]

635 pointsby gary_bernhardtabout 11 years ago

34 comments

jliechti1about 11 years ago
For those unfamiliar, Gary Bernhardt is the same guy who did the famous &quot;Wat&quot; talk on JavaScript:<p><a href="https://www.destroyallsoftware.com/talks/wat" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;wat</a>
评论 #7607986 未加载
评论 #7606900 未加载
评论 #7606738 未加载
评论 #7608180 未加载
评论 #7606287 未加载
评论 #7607058 未加载
评论 #7608332 未加载
lelandbateyabout 11 years ago
First, I very much love the material of the talk, and the idea of Metal. It&#x27;s fascinating, really makes me think about the future.<p>However, I also want to rave a bit about his presentation in general! That was <i>very</i> nicely delivered, for many reasons. His commitment to the story, of programming from the perspective in 2035, was excellent and in many cases subtle. His deadpan delivery really added to the humor; the fact that he didn&#x27;t even smile during any of the moments when the audience was laughing just made it all the more engaging.<p>Fantastic talk, I totally loved it!
评论 #7608211 未加载
评论 #7618897 未加载
评论 #7613427 未加载
tincoabout 11 years ago
The reason why metal doesn&#x27;t exist now is because you can&#x27;t turn the memory protection stuff off in modern CPU&#x27;s.<p>For some weird reason (I&#x27;m not an OS&#x2F;CPU developer) switching to long mode on an x86 cpu also turns on the mmu stuff. You just can&#x27;t have one without the other.<p>There&#x27;s a whole bunch of research done on VM software managed operating systems, back when the VM&#x27;s started becoming really good. Microsoft&#x27;s Singularity OS was the hippest I think.[0]<p>Perhaps that ARM cpu&#x27;s don&#x27;t have this restriction, and we will benefit from ARM&#x27;s upmarch sometime?<p>[0] <a href="http://research.microsoft.com/en-us/projects/singularity/" rel="nofollow">http:&#x2F;&#x2F;research.microsoft.com&#x2F;en-us&#x2F;projects&#x2F;singularity&#x2F;</a>
评论 #7607271 未加载
评论 #7610318 未加载
spyderabout 11 years ago
Looks like Erlang is already getting one step closer to the metal:<p><a href="http://erlangonxen.org/" rel="nofollow">http:&#x2F;&#x2F;erlangonxen.org&#x2F;</a> <a href="http://kerlnel.org/" rel="nofollow">http:&#x2F;&#x2F;kerlnel.org&#x2F;</a><p>Also there is another project that can be related to that goal:<p>&quot;Our aim is to remove the bloated layer that sits between hardware and the running application, such as CouchDB or Node.js&quot;<p><a href="http://www.returninfinity.com/" rel="nofollow">http:&#x2F;&#x2F;www.returninfinity.com&#x2F;</a>
vanderZwanabout 11 years ago
I guess this is in a way a response to Bret Victor&#x27;s &quot;The Future of Programming&quot;?<p><a href="https://vimeo.com/71278954" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;71278954</a>
评论 #7607241 未加载
评论 #7608055 未加载
jerfabout 11 years ago
It&#x27;s not far off my predictions: <a href="https://news.ycombinator.com/item?id=6923758" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6923758</a><p>Though I&#x27;m far less funny about it.
jongalloway2about 11 years ago
Coincidentally, I just released a podcast interview with Gary right after he gave this talk at NDC London in December 2013: <a href="http://herdingcode.com/herding-code-189-gary-bernhardt-on-the-birth-and-death-of-javascript/" rel="nofollow">http:&#x2F;&#x2F;herdingcode.com&#x2F;herding-code-189-gary-bernhardt-on-th...</a><p>It&#x27;s an 18 minute interview, and the show notes are detailed and timestamped. I especially liked the references to the Singularity project.
mgr86about 11 years ago
I&#x27;m missing some obvious joke...but why is he pronouncing it yava-script.
评论 #7606270 未加载
评论 #7606273 未加载
评论 #7606007 未加载
评论 #7606562 未加载
评论 #7605936 未加载
评论 #7608581 未加载
评论 #7611800 未加载
评论 #7608503 未加载
cjbprimeabout 11 years ago
For context, this was one of the most enjoyed talks at PyCon this year.
评论 #7606115 未加载
评论 #7607051 未加载
granttimmermanabout 11 years ago
&gt; xs = [&#x27;10&#x27;, &#x27;10&#x27;, &#x27;10&#x27;]<p>&gt; xs.map(parseInt)<p>[10, NaN, 2]<p>Javascript is beautiful.
评论 #7606386 未加载
评论 #7606333 未加载
评论 #7606457 未加载
评论 #7606974 未加载
评论 #7608494 未加载
评论 #7607239 未加载
评论 #7608171 未加载
评论 #7608718 未加载
评论 #7606359 未加载
vorgabout 11 years ago
I suspect Nashorn, the just released edition of JavaScript for the JVM, will be heavily promoted by Oracle and become heavily used for quick and dirties manipulating and testing Java classes, putting a dent into use of Groovy and Xtend in Java shops. After all, people who learn and work in Java will want to learn JavaScript for the same sort of reasons.
dsparryabout 11 years ago
Very impressive to have been recorded &quot;April 2014&quot; and released &quot;April 2013.&quot; Seriously, though, great presentation.
评论 #7607412 未加载
joelangewayabout 11 years ago
He says several times that JavaScript succeeded in spite of being a bad language because it was the only choice. How come we&#x27;re not all writing Java applets or Flash apps?
评论 #7607048 未加载
评论 #7607083 未加载
评论 #7607693 未加载
评论 #7617929 未加载
评论 #7608178 未加载
steveklabnikabout 11 years ago
Consider the relationship between Chromebooks and METAL.<p>(I&#x27;m typing this from my Pixel...)
评论 #7607062 未加载
igraviousabout 11 years ago
Stellar stuff. Hugely enjoyable. Very interesting thought experiment. I won&#x27;t spoil it for any of you, just go and watch! Mr. Bernhardt, you have outdone yourself sir :)
nkozyraabout 11 years ago
Extraordinarily entertaining and well presented.
Sivart13about 11 years ago
Where did you get the footage of Epic Citadel used in the talk?<p><a href="http://unrealengine.com/html5" rel="nofollow">http:&#x2F;&#x2F;unrealengine.com&#x2F;html5</a> seems to have been purged from the internet (possibly due to this year&#x27;s UE4 announcements?) and I can&#x27;t find any mirrors anywhere.<p>Which is a shame, because that demo was how I used to prove to people that asm.js and the like were a Real Thing.
评论 #7608206 未加载
atmosxabout 11 years ago
I have a question, because this video confused me. I don&#x27;t have background to follow through all the assertions Gary Bernhardt did, but I&#x27;ll try to watch it again, since it was fun.<p>I want to become a full stack developer. I can program and write tests in ruby, I can write applications using Sinatra and now I am learning rails. I bought a book to start learning JavaScript because it&#x27;s the most popular language and basically will allow me to write <i>modern</i> applications. After I&#x27;m done with JS I&#x27;ll probably jump into something else (rust, go, C, C++, Java, whatever helps do the staff I want).<p>But watching this video, I&#x27;m confused: I avoided CoffeScript because I read in their documentation that in order to debug the code you have to actually know JavaScript so I figured that the best thing to do is learn JS and then use an abstraction (i.e. Coffescript) and tools like AngularJS and Node.js... Is my approach wrong? :-&#x2F;
评论 #7613124 未加载
alexandercrohdeabout 11 years ago
I guess I don&#x27;t really get the point here. This video walks a line between comedy and fact where I&#x27;m not really satisfied in either.<p>I can&#x27;t always tell what&#x27;s a joke, does he actually believe people would write software to compile to ASM instead of javascript because there are a few WTFs on js&#x27;s &quot;hashmaps.&quot; Much likely a newer version will come out before 2035? Or was that a joke?<p>I also feel like poking fun at &quot;yavascript&quot; at a python conference is cheap and plays to an audience&#x27;s basest desires.<p>Really I see a mixture of the following: - Predictions about the future, some of which are just cleary jokes (e.g. 5 year war) - Insulting javascript preferring clojure - Talking about weird shit you could, but never would do with ASM js - Talking about a library that allegedly runs native code 4% faster in some benchmarks, with a simplistic explanation about overhead from ring0 to ring3 overhead.
pookiepookieabout 11 years ago
I&#x27;m not sure I understand the claims toward the end of the talk about there no longer being binaries and debuggers and linkers, etc. with METAL.<p>I mean, instead of machine code &quot;binaries&quot;, don&#x27;t we now have asm blobs instead? What happens when I need to debug some opaque asm blob that I don&#x27;t have the source to? Wouldn&#x27;t I use something not so unlike gdb?<p>Or what happens when one asm blob wants to reuse code from another asm blob -- won&#x27;t there have to be something fairly analogous to a linker to match them up and put names from both into the VM&#x27;s namespace?
评论 #7608026 未加载
camus2about 11 years ago
nice nice,ultimatly languages dont die,unless they are closed source and used for a single purpose ( AS3 ). In 2035,people will still be writing Javascript. I wonder what the language will look like though. Will it get type hinting like PHP? or type coercion? will it enforce strict encapsulation and message passing like Ruby ? will I be able to create adhoc functions just by implementing call&#x2F;apply on an object? or subclass Array? Anyway , i guess we&#x27;ll still be writing a lot of ES5 in the 5 years to come.
评论 #7606119 未加载
评论 #7614220 未加载
评论 #7607170 未加载
leichtgewichtabout 11 years ago
I like that he mentions &quot;integer&quot;. It is still very incredible how JavaScript can work well without a integer construct. Or threads and shared memory. Or bells and whistles.
评论 #7614312 未加载
评论 #7613552 未加载
评论 #7616090 未加载
评论 #7616593 未加载
base698about 11 years ago
I wish some of those talks were available for purchase on their own and not in the season packets. Definitely a few I&#x27;d buy since I liked this talk and the demo on the site.<p>Guy has good vim skills for sure.
评论 #7607481 未加载
Kiroabout 11 years ago
A bit OT but what is the problem with omitting function arguments?
评论 #7614270 未加载
评论 #7614055 未加载
yoamroabout 11 years ago
I absolutely loved this.
ikaabout 11 years ago
I always enjoy Gary&#x27;s tasks
jokoonabout 11 years ago
I want a C interpreter
评论 #7608453 未加载
评论 #7613180 未加载
slashnullabout 11 years ago
ha-zum yavascript
jr06about 11 years ago
Video tl;dw:<p>Gary Bernhardt (rightly) says that JavaScript is shit (with some other insights).<p>HN comments tl;dr:<p>50%: &quot;Waahhh, JavaScript is awesome and Node.js is wonderful, shut up Gary Bernhardt.&quot;<p>25%: Smug twats talking about how they&#x27;re too busy changing the world with JavaScript to even bother to comment.<p>25%: Pedants and know-it-alls having sub-debates within sub-debates.<p>Pretty standard turnout. See you tomorrow.
评论 #7616096 未加载
angersockabout 11 years ago
It&#x27;s been kind of fun watching JS developers reinventing good chunks of computer science and operating systems research while developing node.<p>This talk has convinced me that their next step will be attempting to reinvent computer engineering itself.<p>It&#x27;s a pretty cool time to be alive.
Fasebookabout 11 years ago
&quot;I get back to the DOM&quot;
h1karuabout 11 years ago
somebody tell this to the node.js crowd
评论 #7614205 未加载
inglorabout 11 years ago
This is actually not a bad lecture. Very interesting, a nice idea and surprising.
adammanabout 11 years ago
&quot;It&#x27;s not pro- or anti-JavaScript;&quot;<p>OK
评论 #7606256 未加载