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.

John Carmack: Thoughts on Haskell [video]

217 pointsby trevorhartmanover 11 years ago

8 comments

pohlover 11 years ago
I like this quotation:<p><i>Languages talk about being multi-paradigm as if it&#x27;s a good thing, but multi-paradigm means you can always do the bad thing if you feel you really need to, and programmers are extremely bad at doing sort of the the time-scale integration of the cost of doing something that they know is negative. I mean everyone will know...it&#x27;s like &quot;this global flag: this is not a good thing, this a bad thing - but it&#x27;s only a little bad thing&quot; and they don&#x27;t think about how, you know, the next five years how many times that little bad thing is going to effect things. So brutal purity: you have no choice.</i><p>In particular, I like the bit about integrating your technical debt function with respect to time, over the time you have to live with the debt, and how bad programmers are at thinking in those terms. We tend to think about how much technical debt we have at a given fixed point in time, but the area under the curve is what bites you.
评论 #6279620 未加载
评论 #6280775 未加载
kybernetykover 11 years ago
I&#x27;m still waiting for his in depth article about his experiences while porting Wolfenstein to Haskell - mainly to see if it&#x27;s worth learning Haskell. Beacause as he said in the video: Most examples in books (I guess that counts for evangelization blogs too) are toy examples. And I&#x27;d like to know how viable the language is for bigger systems.
评论 #6278588 未加载
评论 #6278599 未加载
评论 #6279967 未加载
评论 #6278580 未加载
评论 #6279871 未加载
ExpiredLinkover 11 years ago
&gt; <i>Error establishing a database connection</i><p>Diabolic, stateful database connections blocking a Haskell treatise! They should have copied the database on each request instead.
评论 #6278657 未加载
评论 #6278646 未加载
agentultraover 11 years ago
AFAICT he doesn&#x27;t reach any particularly satisfying conclusions and just speculates that Haskell is an interesting avenue of research that may bear fruit for game development.<p>It doesn&#x27;t seem like he has put the same amount of effort in experimenting with Lisp. He doesn&#x27;t mention any attempt to port Wolfenstein over to Common Lisp. Instead he seems content speculating from the same position many Lisp doubters have after reading a few books and working on some exercises (which is ironic considering his impetus for the Haskell project). I hope he gave Lisp the same treatment as Haskell before he drew any conclusions but it doesn&#x27;t seem like he has from this speech.<p>Lisp for game development could be an interesting avenue (and has precedent in AAA console development). The dynamic vs. static argument isn&#x27;t the interesting feature. Personally I think the symbolic model of computation is far more compelling. I&#x27;ve read posts by programmers who&#x27;ve written a high-level language for writing financial trading algorithms in Common Lisp that compile down to optimized VHDL for running on FPGAs. Sure you don&#x27;t have a static analyzer to tell you you&#x27;ve done something wrong before you run your programs but I&#x27;ve rarely seen that becoming an issue in practice at that level. There are plenty of Common Lisp libraries that have been around for a long time that don&#x27;t require much maintenance which makes me wonder where this belief that dynamic languages don&#x27;t produce solid, maintainable code comes from.<p>In my rather limited experience I find the over-specification required by statically typed language to be a impedance to writing robust, compose-able software (at least it&#x27;s much more difficult and tends to lead to Greenspunning if you try to go that route).<p>Either way... a very interesting talk and it&#x27;s cool to hear that he&#x27;s experimenting with this stuff. Carmack is in a rare position to have such a breadth of experience and deep technical knowledge that even just messing around with this stuff might make waves throughout the industry.
评论 #6279610 未加载
评论 #6280064 未加载
评论 #6279862 未加载
telover 11 years ago
Very worth noting that Carmack here is talking much about &quot;pure functional programming&quot; above just functional programming.
srlover 11 years ago
Here&#x27;s the video: <a href="http://youtu.be/1PhArSujR_A" rel="nofollow">http:&#x2F;&#x2F;youtu.be&#x2F;1PhArSujR_A</a> (the text on the page just introduces Carmack)
评论 #6278936 未加载
Strilancover 11 years ago
Google cache: <a href="http://www.google.ca/search?q=cache:functionaltalks.org/2013/08/26/john-carmack-thoughts-on-haskell/" rel="nofollow">http:&#x2F;&#x2F;www.google.ca&#x2F;search?q=cache:functionaltalks.org&#x2F;2013...</a><p>The article is essentially just a link to the fourth part of his keynote at Quakecon ( <a href="http://www.youtube.com/watch?v=1PhArSujR_A" rel="nofollow">http:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1PhArSujR_A</a> )
sircluelessover 11 years ago
&gt; Database Error: Error establishing a database connection<p>Looks like we brought down another one. I was looking forwards to reading this too.