News for hackers. Stuff that matters.
Re:Why did we choose Rust to develop TiKV? by rf15 on Wednesday September 27, 2017 @05:29AM (#15346139)
while I think that that would be a good thing (I like what happened with C#), I see the languages specified and controlled by Microsoft, Google and Apple as second-class languages, since they are often lacking in community input and are usually designed with certain platform-specific goals in mind instead of being cross-platform. (or company-strategic goals when it comes to Google)
Re:Why did we choose Rust to develop TiKV? by hnlmorg on Wednesday September 27, 2017 @06:43AM (#15346454)
I can understand conservative choices when it comes to picking a language but what you describe is a potential risk for plenty other existing languages as well as any new language too. Rust wouldn't be where it is today if it wasn't sponsored by Mozilla. Java was Sun Microsystems baby and I remember all the concerns at the time with the Sun vs Microsoft fighting over control of the ecosystem. Plus even many of the non-corporate languages are still heavily dependant on a small subset of maintainers.

At the end of the day if a language proves popular enough in other domains outside of the area which is directly controlled by the language maintainers, then the community will usually find a way of taking over maintenance of it.

We've seen this with Pascal, various BASIC dialects (including Visual Basic), and to an extent Java too. The problem with Objective-C was that - as far as I'm aware at least - it wasn't widely used outside of Apple / NeXT's ecosystem so if Apple deprecate support for Objective-C on their own platforms then there's little incentive for the community to keep using language (much like the problems with Visual Basic - which is why few know about it's open source forks). But languages like C# and Go are used massively across a multitude of domains so even if MS/Google were to kill them tomorrow, the community would almost certainly find a way to keep language alive. Heck, Go might even become more popular if that happened since many of the complaints against it are down to the highly opinionated approach of the current leadership.

Let's also not forget that Go and C# tooling are open source so the community wouldn't have to reinvent the wheel like they did with Delphi / Object Pascal and Visual Basic.

Re:Why did we choose Rust to develop TiKV? by blub on Wednesday September 27, 2017 @05:37AM (#15346170)
Yes, there's something not quite right with these company languages.

Whoever is smart will take note of what happened to VisualBasic and is happening to Objective-C.

Re:Why did we choose Rust to develop TiKV? by pjmlp on Wednesday September 27, 2017 @07:03AM (#15346556)
You mean like C and C++ being developed at AT&T, nowadays designed at ANSI, with people on ARM, Google, Apple, Blommberg, Sony, IBM, Microsoft's payroll?
Re:Why did we choose Rust to develop TiKV? by bryanlarsen on Wednesday September 27, 2017 @08:48AM (#15347217)
Actually, C was a lot worse. For the first 9 years C was basically whatever AT&T wanted. In 78 K&R published The C Programming Language, creating a specification. In the next decade C was very much tied to Unix and non-Unix usages often had some oddities and interoperability issues. The last 3 decades have been good though.
Re:Why did we choose Rust to develop TiKV? by maelkum on Wednesday September 27, 2017 @08:34AM (#15347109)
You know... there's a difference between "(...) with people on ARM, Google, Apple, Blommberg, Sony, IBM, Microsoft's payroll?" and "people on Google payroll". In one case you have many companies cooperating, in the other - just one company.
Re:Why did we choose Rust to develop TiKV? by blub on Wednesday September 27, 2017 @07:39AM (#15346753)
Looking into the past can have some predictive value, but looking that far back and at a different company is of very limited value.

If one evaluates C# they should obviously look at what MS are doing. Same thing for Swift and Apple.

Re:Why did we choose Rust to develop TiKV? by pdimitar on Wednesday September 27, 2017 @08:08AM (#15346938)
I think what <pjmlp> is saying is that (1) these languages are too widely adopted to fail -- somebody is bound to take the ball and continue dribbling it even if the worst happens (company abandons language) and (2) to have a widely adopted language means you have to be a member of a number of committees -- because without standards you wouldn't become a widely adopted language in the first place.

In short, we're quite safe in terms of if C#, Swift and Go will live on. They will.

Re:Why did we choose Rust to develop TiKV? by blub on Wednesday September 27, 2017 @10:22AM (#15348026)
The issue with C# and Swift is that the Apple and MS dev communities enjoy having a ready made solution that they can pick up and work with immediately. Official support is very important.

C# and to some extent Swift are also two huge platforms, there are very few organisations out there that would be able to steer their development.

Finally, they are not standardised in any way. MS tried something with 2.0 and then gave up.

My impression is that these two live and die by the will of their corporate masters. I'm not saying they will kill them or anything, that would be pretty stupid of them to do.

Re:Why did we choose Rust to develop TiKV? by pjmlp on Wednesday September 27, 2017 @10:46AM (#15348278)
> Finally, they are not standardised in any way. MS tried something with 2.0 and then gave up.

They are standardized, you just need to look at the right place.

https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

https://docs.microsoft.com/en-us/dotnet/visual-basic/referen...

http://fsharp.org/specs/language-spec/

https://swift.org/documentation/

Re:Why did we choose Rust to develop TiKV? by blub on Wednesday September 27, 2017 @02:12PM (#15350609)
Documentation & specs is not standardisation, not in the C or C++ sense. But you already know that, so why are we having this conversation?
Re:Why did we choose Rust to develop TiKV? by pjmlp on Wednesday September 27, 2017 @02:19PM (#15350684)
I assume you know what a de facto standard is all about.
Re:Why did we choose Rust to develop TiKV? by pjmlp on Wednesday September 27, 2017 @07:51AM (#15346826)
If Google, Apple or Microsoft take their employees out of ANSI or from GCC/LLVM contributions, I can assure you they won't move much beyond the current state.
Re:Why did we choose Rust to develop TiKV? by blub on Wednesday September 27, 2017 @10:25AM (#15348053)
What are the odds that all big players would remove support for something that their platforms are built on? At the same time?

C++ is one of the healthiest languages in existance. It hits all the important checkboxes of standardisation, wide industry and platform support and large community.

Re:Why did we choose Rust to develop TiKV? by pjmlp on Wednesday September 27, 2017 @10:48AM (#15348313)
I imagine you never lived through the days when each C++ compiler had a different understanding what it meant to compile C++ code.

It is just like trying to compile the Linux kernel with clang instead of gcc, with the source code full of gcc extensions.

Re:Why did we choose Rust to develop TiKV? by pdimitar on Wednesday September 27, 2017 @08:04AM (#15346906)
Would you please give an example on how are Google's company-strategic goals making Go platform-specific, or hampered in any way?

Please note that I am not demeaning your statement. It's a legitimate curiosity on my side.

Re:Why did we choose Rust to develop TiKV? by sanxiyn on Wednesday September 27, 2017 @09:04AM (#15347350)
One example that comes to mind is Go dependency management. For a long time (and still?) Go had no way to do versioned dependency. Obviously this is no problem for Google which reportedly build from HEAD, but this shows Google-bias in Go development.
Re:Why did we choose Rust to develop TiKV? by AYBABTME on Wednesday September 27, 2017 @11:13AM (#15348563)
It does not show a strategic agenda that influences the language's governance, it only shows that Google was blind in that area.
Re:Why did we choose Rust to develop TiKV? by pjmlp on Wednesday September 27, 2017 @07:01AM (#15346543)
So I guess you also see C and C++ as second-class languages, given the employers of the people meeting at ANSI.