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.

Confessions of a Used Programming Language Salesman (2007)

49 pointsby alokraiabout 5 years ago

5 comments

clarryabout 5 years ago
Speaking of Haskell and laziness.. I found myself wondering last night, what was the issue with laziness again? I think it was that it&#x27;s making it difficult to parallelize things. Why would that be? Is it just an implementation artefact, or are the rules of lazy evaluation actually disallowing the compiler&#x2F;runtime from batching things appropriately for parallel computation?<p>EDIT: Guess I was thinking of this: <a href="http:&#x2F;&#x2F;citeseerx.ist.psu.edu&#x2F;viewdoc&#x2F;summary?doi=10.1.1.36.3806" rel="nofollow">http:&#x2F;&#x2F;citeseerx.ist.psu.edu&#x2F;viewdoc&#x2F;summary?doi=10.1.1.36.3...</a><p>&gt; we have shown that lazy languages, even when implemented using a framework well-suited for parallelism, can generate only small amount of parallelism. [..] this result, when combined with the result concerning the low parallelism for really lazy programs, can also be interpreted as saying that there is not much hope for lazy languages as far as parallelism is concerned: in effect, they are saying that we can hope to obtain parallelism from programs written in a lazy language only when the programs <i>do not need</i> to be written in a lazy language!<p>That&#x27;s a really old paper though (1995), if there are more recent relevant studies or results, I&#x27;d be interested..
评论 #22854435 未加载
tannhaeuserabout 5 years ago
&gt; <i>To appreciate the difficulties of XML, let’s make a short excursion to the world of XML schema [...], which must be one of the most complex artifacts invented by mankind. The complexity of XSD is especially baffling since the existing solution, DTDs, is already a perfectly fine solution.</i><p>Ah, the period where it was attempted to integrate XML as first-class type&#x2F;literal into programming languages. I guess the conclusion can only be that what SGML&#x2F;XML is designed to represent (namely, semistructured text documents with regular content models) was fundamentally misunderstood by folks wanting to represent (relatively benign) business records-like structures for service-oriented apps. The complexity results for statically type-checking programming languages having XML as literals were disappointing, and the whole thing got out of fashion. Then, shortly after Mozilla dropped E4X (XML literals in JavaScript), JSX and React happened. I honestly don&#x27;t know what conclusion should be drawn here :)
评论 #22854294 未加载
评论 #22854288 未加载
评论 #22855147 未加载
okareamanabout 5 years ago
Orthogonal to the topic but Erik Meijer is hilarious
Rochusabout 5 years ago
The author compares himself with the prophet and apparently believes that the acceptance of functional programming languages requires intensive missionary work - just like with an ideology or religion. However, the history of science shows that the right knowledge always prevails in the end. If it is so difficult to get functional programming languages to market, either the time is not yet ripe, or there are better solutions.
评论 #22854606 未加载
评论 #22854895 未加载
评论 #22854559 未加载
评论 #22855946 未加载
评论 #22855727 未加载
评论 #22854682 未加载
Bellamyabout 5 years ago
That is a one misleading title.