Show more

Um um um um ummmmm... is this what it sounds like? Google is blocking browsers it doesn't "approve" of... apparently just letting in Firefox and Chrome? developers.googleblog.com/2020

The web as an open standards platform is rapidly falling apart. :\

@sir
Yeah, trivial to add means that everybody will do it differently and the only way to know will be comments in the schema file (like in the example). This will make communicating this fundamental physical and human concept incompatible and only agreeable on with documentation. Anyway, this is good for what it is. Thanks for the link.

@sir
Very nice. Looks like it should be able to encode primitive Rust types, has tagged unions, optionals, binary. How does this compare with CBOR? What about native date/time encoding (e.g. TAI64N)?

@kravietz
"The gas-fired power plant is expected to be commissioned in October 2022."

"The project falls under efforts to help Germany meet its energy decarbonisation goal of decommissioning all its remaining nuclear power plants by the end of 2022."

WAT?

@velartrill
Sorry. I did not run rustc on other archs than x86_64 and aarch64 but I see no reason why they would be providing false information in the official documentation.

@velartrill
I guess having X written in X helps with development as you only need to know one language very well to develop it (less cognitive load?). And any advancement in your language reinforces your ability to further develop it. Rust was created to address problems with C++. Also first compiler was created in ML for a reason.

For what I know portability issues are mostly to do with LLVM missing support... if you have any links, I would like to learn more.

@velartrill
I get that there are theoretical concerns. The fact that "\n" value is nowhere to be found in rustc source is concerning. But as you noted, rustc is generating LLVM IR and not binary directly so you can inspect it there. Also you just need one other capable impl in already portable language to break the chain (even if you don't call it bootstrapping any more).

So Rust compiler was originally written in ML and later self-hosted. This is no different than many other mainstream languages. So why picking at Rust in particular?

@velartrill
"In some of these cases, the initial implementation was not self-hosted, but rather, written in another language (or even in machine language); in other cases, the initial implementation was developed using bootstrapping."

@velartrill
"Many programming languages have self-hosted implementations: compilers that are both in and for the same language. Such languages include Ada, BASIC, C, C++[5], C#[6], ClojureScript[7], CoffeeScript, Crystal, D, Dylan, F#, FASM, Forth, Gambas, Go, Haskell, HolyC, Java, Lisp, Modula-2, OCaml, Oberon, Pascal, Python, Rust, Scala, Smalltalk, TypeScript, Vala, and Visual Basic."

@velartrill
So perfect bootstrapping would be: punch cards -> ASM -> C -> C++ -> Rust? :D

@velartrill
Why are most languages self hosted then? C compilers are also self hosted. What are the downsides apart from secure bootstrapping needing another impl?

Show more
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!