News for hackers. Stuff that matters.
Re:First steps with Rust by seoaeu on Sunday April 18, 2021 @09:28AM (#26852248)
As best I can tell, C and C++ are the only languages where people are actually happy that there are multiple implementations.
Re:First steps with Rust by blacktriangle on Sunday April 18, 2021 @03:52PM (#26855734)
Multiple implementations are great when there's a standard to compare them to, ideally where that standard is backed by a set of tests.

The problem is when you have multiple implementations of languages that are effectively defined by their reference implementation, then the alternatives are usually an exercise in frustration.

Re:First steps with Rust by anp on Sunday April 18, 2021 @11:47AM (#26853443)
I think Javascript has many user who think they benefit from competing implementations. I’m not sure the sentiment there seems as strong as in the C++ community, but it definitely exists.
Re:First steps with Rust by jokethrowaway on Monday April 19, 2021 @06:01AM (#26860929)
I'm more annoyed by the inconsistent implementations than anything else (Mostly browsers as server side still sees node being the winner).

Not to mention the terrible tooling to make multiple deployment targets possible (webpack, polyfills and whatnot)

Re:First steps with Rust by pjmlp on Sunday April 18, 2021 @11:49AM (#26853462)
Count Ada, D, Java and .NET as well.
Re:First steps with Rust by e3bc54b2 on Sunday April 18, 2021 @12:23PM (#26853800)
What about Java? As far as I know, everyone was very happy OpenJDK existed and Oracle eventually relented too. Now we have even more interesting stuff like Graal.

Disclaimer : I'm still new and learning Java.

Re:First steps with Rust by iudqnolq on Sunday April 18, 2021 @01:08PM (#26854247)
OpenJDK is the original version of Java with a few features stripped out, not a reimplementation.

See the History section of https://en.wikipedia.org/wiki/OpenJDK?wprov=sfla1

Re:First steps with Rust by e3bc54b2 on Sunday April 18, 2021 @01:47PM (#26854655)
Thank you for the link. I stand corrected and better learned.
Re:First steps with Rust by iudqnolq on Sunday April 18, 2021 @01:50PM (#26854685)
Glad it was interesting. I was surprised to learn the same thing a few months ago
Re:First steps with Rust by lenkite on Monday April 19, 2021 @01:17AM (#26859304)
Java also has multiple implementations. Great to have a documented language standard!
Re:First steps with Rust by dsfbjornjaja on Sunday April 18, 2021 @10:24AM (#26852721)
Hmmm what about CPython and PyPy?
Re:First steps with Rust by tonyarkles on Sunday April 18, 2021 @11:03AM (#26853075)
As a single data point, I’ve been using Python since 2005 and have never played with PyPy any beyond a quick peek after seeing a conference talk.

On the other hand, I use gcc, clang, and MSVC++ on a regular basis. But... I think the reason I care about multiple C++ compilers is mostly because there’s no “one compiler that is ergonomic to use everywhere” and I end up writing better code because of it (eg gcc warning about something clang doesn’t care about).

For Python, I mostly just care that it Just Works everywhere (modulo compiler setup for building C modules)

Re:First steps with Rust by wongarsu on Sunday April 18, 2021 @11:12AM (#26853145)
Almost all Python code is written for CPython, and if you run into performance issues you tweak it until it runs on pypy.

I'm glad that pypy exists because it forces cpython to do something about performance, but for python overall it's a pretty niche tool.