Hacker News new | ask | show | jobs
by anonymous908213 41 days ago
It's evidence of no such thing. It categorically does not take 12 years to write a language from scratch, or anything remotely close to that, so the only thing that Blow taking 12 years to write a language is evidence of is that Blow chose not to prioritise language development very highly over doing anything else with his time for 12 years. Javascript was famously developed by one person in 10 days. Writing a language and compiler is a common semester project for students, ie. people who have no idea what they're doing.
1 comments

Famously, as with many other things in computer science, writing a toy programming language that can compute Fibonacci is doable in a couple of hours, but writing a usable programming language that needs to stand up to real programs for users is typically somewhere between a decade and a lifetime of work.

If he'd announced the language twelve years ago and then not touched it again until a few months ago I'd believe you. But there's plenty of documented evidence that he's been spending a bunch of time on it, and (allegedly) even using it in his commercial projects.

Not to say that he's been working on it full-time for 12 years, of course, but even allowing for part-time work that's far beyond the initial ‘easier than The Witness’ premise.

> usable programming language that needs to stand up to real programs for users is typically somewhere between a decade and a lifetime of work.

Still no. Wildly incorrect. There are many, many languages that were developed and deployed in production in significantly less time, including C, C#, JS, Python, Perl, PHP, Ruby, Lua, basically any real-world language other than Rust was being used seriously in 1~2 years of development. C was written in 1972 and by 1973 an operating system was rewritten in it already.

Maybe you mean it takes a decade to develop a language where literally everything is provided for the user already and all they have to do is copypaste and smush together 1000 dependencies? If your metric is a child-friendly language like Javascript-with-npm, sure, it will take a decade to complete a full ecosystem. But getting a language to a point where it's seriously usable for people who are actually willing to write their own code, is really, truly not that hard.

I think that used to be true when systems were simpler and expectations were lower. But the expected standard of modern languages has come a long way. And I'm not just talking about libraries: performance, safety (strong static type systems are one can of worms, GC and other runtime checks are another), and even syntax design are things that state-of-the-art languages spend years iterating on before they're considered ‘usable’.

Some other more recent data points:

Go was designed at Google (one of the biggest software development entities of our times, with input from existing PL luminaries) in 2007, released in 2009, and officially considered 1.0 in 2012, five years later;

Clojure was started in 2005 (there were two other attempts to build similar languages dating back to 2003, but let's charitably omit them) and hit 1.0 in 2009;

Zig has been going for about 11 years and hasn't hit 1.0 yet.

Rust's nine-year record (2006–2015) is on the longer side, but not a huge outlier.

Of course, this is just the time to 1.0; I think in practice languages tending to iterate a lot before becoming mainstream (which is a weak proxy for general usability, but at least should work in one direction). Rust today has come a long way from 1.0, for example, as has Go. Definitely the ecosystems at 1.0 releases tend to remain noticeably underpowered, and even if you want to ignore libraries for a language it's harder to justify excluding other tools that make it easier to work with the language on your own or with other people to build real-world software, like editor support, debuggers, documentation, or package managers.