Doing this today is actually way, way easier than it would have been back then. Today we have a wealth of information and much better tooling (QEMU alone makes the process of writing an OS so much easier). Writing a simple OS and compiler are both common school projects, so many programmers today have done it.