2 ms·
C++ vs assembler produced results within one or two orders of magnitude difference, in terms of LoC. It's gotten fairly close now too, at least if both are well
by sk0g 7y ago
C++ vs assembler produced results within one or two orders of magnitude difference, in terms of LoC. It's gotten fairly close now too, at least if both are well optimised.
React vs HTML/CSS/JS is a stupendous difference, and the barrier to entry, IMO, has gone up rather than down. At the start you basically have to be told what to do, and eventually you have some control over the output, if the tools you are trusting continue doing their job. Most people will never learn how the tools they are using actually work, and the massive surface area required to cover for this understanding is a big deterrent.
- stickfigure 7y agoone or two orders of magnitude difference, in terms of LoC LoC is the wrong benchmark. In C++ you link against a large set of libraries that have already been compiled to binary, hiding the LoC. glibc source alone is 10k files. Javascript libraries are source instead of binary. What's the problem?
- sk0g 7y agoYeah but lower lines of code from being able to rely on things just being there/ callable speeds things up so much! The React CD takes a minute and a half longer than the backend one, and the back end one has testing and libraries of its own to pull as well. Some of this comes down to SCSS, Babel etc, but most of it is built into CRA anyway