Hacker News new | ask | show | jobs
by dosshell 1713 days ago
To answer the first paragraph (as I understand it, i'm no expert here):

Parsing! it is faster to parse and probably uses less memory too. This is not only important for compile time but also for editors with code suggestions.

C has a relative long compile time. If you look at golang, which has a goal of a fast compile time, you will see similar syntax.

PS.

Note that Ken is one of the fathers of both C and golang.

1 comments

> Parsing speed

Parsing is ridiculously fast nowadays. Compilers spend far more time in phases after AST construction (like register allocation, SSA transforms, various vectorizaton passes) than they do constructing their ASTs. Parsing speed is a nonsense argument these days. It's the same level of rigor as painting a car red to go faster.

> If you look at golang, which has a goal of a fast compile time, you will see similar syntax.

Rust critics: "Some of Rust's language choices are clearly inspired by Go and may not have been good ideas"

Rust people: "We didn't copy Go! We independently through a rigorous analysis arrived at our syntax!"

Also Rust people: "If you look at golang, which has a goal of a fast compile time, you will see similar syntax."

> Note that Ken is one of the fathers of both C and golang.

Creating one of these things makes Ken made imperfect. Creating both of these things makes Ken a menace.