Either stick to the real Scala or switch to Java or Kotlin, but writing your own language is a failure waiting to happen.
I give this project a few more months before it gets canceled.
Either stick to the real Scala or switch to Java or Kotlin, but writing your own language is a failure waiting to happen.
I give this project a few more months before it gets canceled.
I'm of the opinion that developing new, purpose-built languages (or extending existing ones) is a strategy that isn't given as much consideration as it should.
JetBrains is in the business of IDEs and similar programmer tools. Kotlin fits right in with the rest of their business.
Imagine if JetBrains produced a chatting program, because their engineers were not satisfied with the existing options.
:)
2) If they can speed up Scala compile times by 5 minutes a day (extremely conservative -- compilation times tend towards 1s per file), across even 1,000 developers (Twitter had around 2000 when I was there) that immediately funds a 5+ person development team. This isn't the sort of thing you throw a huge team at, anyway.
3) It helps with recruiting talent who is looking to work in environments that have strong type safety, or who just want to work for companies willing to invest time in making their software engineers more productive.
Hack/HHVM was developed by Facebook to modernize PHP.
There are plenty of cases where organizations successfully developed their own languages/compilers that gave them advantages. It's insane only if you have no good reason to do it. This sounds like they have a need: compile times are slow.
One needn't extend the same consideration to, say, fogcreek...
Yes but why use PHP in the first place? It's not the right tool for something like Facebook.
ah yes rewriting in a new language, the classic not-insane approach
If the options are "Keep writing in Scala", "Port to Kotlin" and "Write a Scala compiler", the latter is clearly the worst and most costly of all.
The point is: developing your own language to ship your apps is crazy.
If you insist on them "creating a new language" then say that they created a new language to speed up development, not to ship their apps. They were already shopping their apps. This is an optimization that helps them speed up development on their existing codebase.
(Hint: no. http://asmjs.org/faq.html )
Also,
> The point is: developing your own language to ship your apps is crazy.
It's crazy until you get to Facebook (PHP -> Hack) / Google (Go/Dart) /Twitter scale, then it starts looking like a really good idea.
> We are planning to start small with a trivial subset of Scala and then gradually add features, carefully measuring their impact on compilation performance
It will be a while before they reach parity with Scala, and I'll bet the project will be canceled before they even come close.