← Back to context

Comment by linkdd

5 years ago

> Rust has a planned keyword for this exact feature, namely 'become'. So the author would be able to use it in Rust just as well, as soon as support for it lands in an upstream LLVM release.

The author is demonstrating a new Clang feature. Then, again, what is the point of mentioning Rust?

> writing raw C as the article suggests in order to parse a quasi-standard high-level format is cowboy coding.

So what? Cowboy coding lets you appreciate even more languages where you don't need to do it, AND gives you a better understanding of how they might work.

> it's not the kind of code that should be anywhere close to a real production workload.

Again, not a single time in the article the author suggests that.