3 ms·
I think you might be referring to this: https://gist.github.com/brendanzab/d41c3ae485d66c07178749eaeeb9e5f7 https://gist.github.com/brendanzab/d41c3ae485d66c07
by rascul 4y ago
I think you might be referring to this:
https://gist.github.com/brendanzab/d41c3ae485d66c07178749eaeeb9e5f7 https://gist.github.com/brendanzab/d41c3ae485d66c07178749eae...
In which there is:
>Many sub-languages to learn, many with different syntaxes and semantics. For example:
> the expression language
> unsafe runtime language
> safe runtime language
> compile time language
> the type language
> the trait language
> the macro language
> the attribute language
And was discussed (122 comments):
https://news.ycombinator.com/item?id=32819444 https://news.ycombinator.com/item?id=32819444
- kibwen 4y agoWorth noting that bjz is a compiler hacker, and this is a list of "languages" from a language implementor's perspective. From the perspective of a user of the language, nearly all of these are just "Rust, the language"; to a user there's no such thing as e.g. a "trait language" or an "attribute language", there's just Rust, which has traits and attributes in the same way that JavaScript has objects and closures without having an "object language" or "closure language". Of the things that can be described as actual languages there, Unsafe Rust is just a minimal superset of Safe Rust, whereas Const Rust is just a subset of Safe Rust; it's not three languages to learn, it's one language where a handful of things are either available or not in certain contexts. The one thing that legitimately is its own language is the macro-rules language, which is a DSL for syntax manipulation.