News for hackers. Stuff that matters.
Re:Announcing Dart 2 Stable and the Dart Web Platform by hota_mazi on Tuesday August 07, 2018 @04:23PM (#17710376)
> A language by itself is almost never useful, every language needs a killer app,

I don't understand why this myth is still around.

C++ never had a killer app to start its momentum.

Neither did Javascript. Nor Java really (or maybe applets, back in the days?).

Languages can succeed on technical merits alone if they come out at the right time and fix real problems that programmers experience on current mainstream languages.

Re:Announcing Dart 2 Stable and the Dart Web Platform by munificent on Tuesday August 07, 2018 @04:41PM (#17710578)
I think you need at least one of three things to get a new language off the ground:

1. Extreme compatibility with the current entrenched language so you can incrementally migrate. C++ from C. CoffeeScript and TypeScript from JavaScript. Kotlin from Java.

2. A killer app (well, framework). Rails for Ruby. WinForms for C#. Applets and J2EE for Java (later Android).

3. A new platform where you must use the language to target it. C for UNIX. Objective-C for iOS. JavaScript for the browser.

There are a few exceptions here and there, but the above are the typical well-trod paths to success for a language.

Re:Announcing Dart 2 Stable and the Dart Web Platform by hota_mazi on Tuesday August 07, 2018 @07:52PM (#17712010)
I listed two clear counter examples to claim #2, C++ and Javascript. I'm even tempted to put C in that list, because C was already popular before Linux.

What was Python's killer app?

What is Rust's killer app?

Go's?

Kotlin's?

Java is a counter example to your claim #3 since it not only does it run on all OS'es but you can also develop it on all OS'es.

Re:Announcing Dart 2 Stable and the Dart Web Platform by platinumrad on Tuesday August 07, 2018 @07:58PM (#17712048)
"at least one of three"
Re:Announcing Dart 2 Stable and the Dart Web Platform by realusername on Tuesday August 07, 2018 @10:56PM (#17712875)
> What was Python's killer app?

Not a killer app, but the fact you have so many ML frameworks

> What is Rust's killer app?

That's clearly Servo.

> Go?

It was docker which really made Go take off, it was their first big platform.

> Kotlin's?

Android compatibility, before that it was a niche language not being picked up much.

Re:Announcing Dart 2 Stable and the Dart Web Platform by jay_kyburz on Tuesday August 07, 2018 @11:33PM (#17713030)
Python already won before ML was a thing.
Re:Announcing Dart 2 Stable and the Dart Web Platform by realusername on Tuesday August 07, 2018 @11:48PM (#17713070)
In his early days, Python did not need anything, it was simply nicer to use than the other languages. Nowadays ML is a big plus.
Re:Announcing Dart 2 Stable and the Dart Web Platform by pjmlp on Wednesday August 08, 2018 @03:29AM (#17713868)
It was called Zope.
Re:Announcing Dart 2 Stable and the Dart Web Platform by wild_preference on Wednesday August 08, 2018 @12:28AM (#17713206)
Killer app is the wrong phrase. Rather every new language needs a competitive upside over existing languages to be successful. At which point your proposed questions have easy answers.
Re:Announcing Dart 2 Stable and the Dart Web Platform by pjmlp on Wednesday August 08, 2018 @03:29AM (#17713866)
C++ and Javascript are definitely not counter examples as I commented.
Re:Announcing Dart 2 Stable and the Dart Web Platform by flukus on Tuesday August 07, 2018 @11:13PM (#17712947)
Outside of the HN bubble python is the only one of those that got off the ground so far.
Re:Announcing Dart 2 Stable and the Dart Web Platform by pjmlp on Wednesday August 08, 2018 @03:28AM (#17713860)
> C++ never had a killer app to start its momentum.

C++ was immediately adopted by all major C compiler vendors as it came from AT&T as well.

Microsoft C/C++ 7.0 for MS-DOS was the very last one to adopt C++ on the toolchain.

It was the lingua franca of all major desktop OS GUI frameworks, leaving C just for their lower layers, MS-DOS (Turbo Vision), OS/2 (C/Set++), Windows (OWL, VCL, MFC), Mac OS (PowerPlant, MacApp), BeOS, Symbian.

If you were doing plain C GUI programming you were doing it wrong.

> Neither did Javascript.

JavaScript owns the browser, there is hardly any other alternative regarding "browser systems programming".

> or Java really (or maybe applets, back in the days?).

Java's portability was a gift compared with C compilers still in the middle of migrating from K&R C to ANSI C, C++ compilers which were silos with their GUI frameworks and a standard still a couple of years away to be fully defined.

Re:Announcing Dart 2 Stable and the Dart Web Platform by sbjs on Tuesday August 07, 2018 @04:30PM (#17710465)
These days it's mostly about apps, because apps are the main thing that facilitate the transfer of $$$. In the 80s and 90s, enterprises were full of $$$ and needed fast and safe languages for writing all their software. C++ came out to solve this need, and Java came out saying it could do it better. Today enterprises are moving many of their internal tools to the web. Enterprises don't need apps per se, but they do need the tech needed to build internal apps and apps to bridge between them and their partners. Consumers are using desktops less, and mobile or web more. Apps are basically the current de facto software "product". But a lot more goes into making apps today than 30 years ago. An example is how most apps need ML for spam protection and recommendation algorithms, or they are instantly going to be considered outdated and behind the times.
Re:Announcing Dart 2 Stable and the Dart Web Platform by coldtea on Tuesday August 07, 2018 @05:31PM (#17711024)
>In the 80s and 90s, enterprises were full of $$$

More than today?

Re:Announcing Dart 2 Stable and the Dart Web Platform by sbjs on Tuesday August 07, 2018 @05:50PM (#17711177)
I haven't had my caffeine yet today cut me some slack :)
Re:Announcing Dart 2 Stable and the Dart Web Platform by coldtea on Tuesday August 07, 2018 @05:31PM (#17711015)
Golang and Rust also didn't have any killer app.
Re:Announcing Dart 2 Stable and the Dart Web Platform by nwienert on Tuesday August 07, 2018 @05:46PM (#17711141)
Rust definitely has Firefox
Re:Announcing Dart 2 Stable and the Dart Web Platform by cutler on Tuesday August 07, 2018 @09:05PM (#17712364)
Just thought I'd remind you that there are currently 0 Rust jobs on Indeed.co.uk by title for the whole of the UK. The HN bubble is not how the world at large operates.
Re:Announcing Dart 2 Stable and the Dart Web Platform by pjmlp on Wednesday August 08, 2018 @02:41PM (#17718298)
Re:Announcing Dart 2 Stable and the Dart Web Platform by coldtea on Thursday August 09, 2018 @01:58PM (#17726665)
Firefox is not the kind of app to drive adoption of the language (like Rails or Python scientific libs etc). It's just an app, people using it could not care less what it's written in.
Re:Announcing Dart 2 Stable and the Dart Web Platform by sbjs on Tuesday August 07, 2018 @08:30PM (#17712199)
Go has Docker
Re:Announcing Dart 2 Stable and the Dart Web Platform by coldtea on Thursday August 09, 2018 @01:59PM (#17726679)
Yes, but it didn't have anything before it, and yet it gained adoption like crazy.
Re:Announcing Dart 2 Stable and the Dart Web Platform by megaman22 on Wednesday August 08, 2018 @01:03AM (#17713313)
Go has a bit of a niche, and Rust is trying real hard, but they aren't Javascript or Java, or C#, or Python, or Rails, or PHP, or C++, or Objective-C or... Out in the wider world, they are very much playing catchup, and have a very far way to go.
Re:Announcing Dart 2 Stable and the Dart Web Platform by billchristian on Tuesday August 07, 2018 @10:05PM (#17712652)
Javascript had the web. And, Java had the JVM. A killer 'app' is not necessarily singular & discrete.