Email or username:

Password:

Forgot your password?
Devil Lu Linvega

Is there just the one rust implementation? I thought Rust was a sort of spec that people implemented for their system, but I can't seem to find implementations aside from the one. Am I looking it up wrong?

11 comments
the bouncing paw πŸŽƒ

@neauoire there is only one mature implementation and no spec. Other implementations (the GCC one, and the other one (forgot the name)) are catching up.

Akshay

@neauoire there is no official spec (yet), and there is only one complete implementation at the moment, which is the reference for alternative implementations.

as for alternatives, there is the gcc frontend and mrustc which i know of, that are coming up. neither of those have a borrow checker so far.

musicmatze :rust: :nixos:

@neauoire There's a project to build a GCC frontend for Rust, but besides that there is nothing (to my knowledge).

Josh Simmons

@neauoire There's only one implementation. It's not a spec.

[DATA EXPUNGED]
ArnoWI πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡¦πŸ‡΅πŸ‡Έ

@neauoire

Aren't all languages just specs that anyone can develop a compiler for and then we end up with just the one compiler? Except for C, everyone has there own C compiler.

Henri

@neauoire

There is no Rust spec, only the reference implementation.

Let’s rewrite everything with it /s

William D. Jones

@neauoire There's one mature Rust port. There's a GCC port in progress. There _might_ be a third port in progress but I don't have any other info other than existence.

A lot of ppl are against the GCC port and would rather see a GCC _backend_ targeting GENERIC (also in progress).

There's also mrustc. mrustc is a bootstrap compiler written in (unfortunately) C++14. It's know to be able to get a working Rust 1.5x compiler and catching up (currently on Rust 1.69).

William

@neauoire the implementation is the specification :( and officially so: they assert that any code that works on the current reference implementation can be made to work under future versions.

Go Up