Hacker News new | ask | show | jobs
by selfmodruntime 32 days ago
Can you write your own standard library, browser and operating system?

Let me put it this way: Chrome, the Linux Kernel and Ubuntu combined are about 600-700 million lines of code. React core has 70k (150kb). You‘re using 0.0017% less library and framework code than the rest of us.

1 comments

There are also implementation differences due to using the framework, so the actual difference is really quite a bit larger than 70k LOC depending upon the given application. There are also all the plugins, build tools, and all their dependencies as well.

My personal preference is to ship less code because it means less to maintain over time, less tech debt.

> There are also implementation differences due to using the framework, so the actual difference is really quite a bit larger than 70k LOC depending upon the given application

Not really.