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 Crack Programming Language

33 pointsby 0x1997over 12 years ago

8 comments

dietricheppover 12 years ago
This page doesn't sell it to me. Maybe it's a great language, who knows?<p>1. With Go, I understand the point. It makes advances in terms of how easy it is to write concurrent programs, without completely ditching the traditional imperative model.<p>2. Rust is a different take on the same point. We want concurrency and safety. Rust's difference from Go is that it is more safe, and makes it easier to give latency guarantees.<p>But I don't get what's "hard" about, say, Go, that Crack would make things easier for me. What does Crack offer that Go doesn't? Or Python? Why would I want to use Crack at all?<p>(I get that they want to say it's "addictive" so they'll call it "crack", but it's a terrible name. I worked for a company that wanted a product to go viral so they code-named it "Marburg", after a biological weapon. Maybe I should name my next product "Enola Gay" because it will level the competition?)
评论 #4831936 未加载
mitchiover 12 years ago
<p><pre><code> import crack.io cout; x := 'test'; cout `This is a $x\n`; # prints "this is a test" to standard output. </code></pre> Really weird strings... I don't even know how to type this character with my keyboard layout. Nice job for this language. It has a lot of things for so few versions. I couldn't build something like this. But who would use this? D is 10 times better and mature and almost no one uses it.
评论 #4831074 未加载
评论 #4831302 未加载
jacobolusover 12 years ago
<i>"Crack aims to provide the ease of development of a scripting language with the performance of a compiled language."</i><p>Where’s the speed comparison? Where’s a substantial enough code sample to show that development is “easy”?
评论 #4830929 未加载
blitzprogover 12 years ago
"Crack aims to provide the ease of development of a scripting language with the performance of a compiled language."<p>Have you looked at the Flua project yet? It's pretty much this and much more. <a href="http://flua-lang.org/" rel="nofollow">http://flua-lang.org/</a>
评论 #4831858 未加载
pikeover 12 years ago
Some more info here: <a href="http://www.mindhog.net/~mmuller/projects/crack/Manual-0.7.html" rel="nofollow">http://www.mindhog.net/~mmuller/projects/crack/Manual-0.7.ht...</a>
octo_tover 12 years ago
Start reading the spec, get to "For complex types (which we'll discuss later), a null pointer is used" under <i>default initialization</i><p>wonderful.
linker3000over 12 years ago
Once could make all sorts of comments about the fact that this article currently appears immediately above the one on 'hacking my vagina' - but that would be too easy.
评论 #4831848 未加载
perfunctoryover 12 years ago
I am inclined to dismiss the language for this:<p><pre><code> i++</code></pre>
评论 #4831881 未加载
评论 #4831170 未加载