Hacker News new | ask | show | jobs
by akiselev 1137 days ago
Random committee draft of the C spec from 2007 (552 pages): https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf

Intel 64 and IA-32 Architectures Software Developer’s Manual, Volume 2 Instruction Set Reference (2552 pages!!!): https://cdrdv2-public.intel.com/774492/325383-sdm-vol-2abcd....

The ECMAScript language spec is closer to the C spec than the C++ spec, by a large margin. I'm not sure how much you can deduce about relative complexity from these figures.

1 comments

I agree JS spec is like C, whereas some JS frameworks like Typescript are more like C++ where it's 100% using JS but w/ brevity to the end user. Think:

Note: I'm a moderate JS dev so correct me if I'm wrong.