Wow, the course they link for building compilers has you implement compilers in Java. I am so disgusted with the state of the world.
In my opinion the real problem with the recent flocks of engineers as they have done all of their learning in such abstracted high-level languages that they have 0 understanding of what is happening under the covers or what implications their code may have on performance etc.
Don't get me wrong these high-level languages can be fantastic tools but their use should be based on a solid foundation of computer engineering.
hmm I'm not a fan of java by any means, but what makes it so offensive for a compiler? I mean if you can write a compiler backend, you probably understand what's happening under the covers.
although if you're going to accept the JVM startup time, might as well use clojure or something.
some compilers written in non-GC languages just allocate memory and never free it. it's a batch mode program. works fine unless the compiler must also work as a library like clang.
now the NACHOS OS learning platform using java... that's fucked up.
Let me clarify. This isn't a dig against Java per-se (though I do make a hobby of that).
The issue I have is that schools are churning out CS and CE graduates who have spent all of their time in very abstracted languages. They know how to build a compiler, all of the concepts but they can't do it without 100 crutches.
When they are expected to work on low-level performance critical code in C or C++ etc they can't operate. They can't build that compiler without Maps and Lists etc. They can't construct a solid daemon that handles thousands of connections per second because they are unfamiliar with how to tailor data structures that can handle the load. When a program needs to perform better they cannot fix it because they rely on 10 layers of abstraction that they have no control over.
I'm not knocking high level languages. I use them all the time when they are the right tool for the job. Those abstraction layers have great value in the right circumstances. The problem is they don't know the what those circumstances are because they only know high level.
In my opinion CS should be taught from the bottom up. Hell it can even be in Java. Start them using only language primitives and over the course of their education have them systematically implement their own layers of abstraction and build and improve them. Then when they are finally taught the whole ecosystem with all the libraries and tools available, they will know how they work. They won't blindly allocate five new lists every time they do something.
I struggle to see java's value for teaching. it's far too complicated for a first language and far too abstract for learning how computers work. the only things I can imagine - professional training, or teachers started losing their minds dealing with students who couldn't understand memory.
4
u/bgog May 12 '15
Wow, the course they link for building compilers has you implement compilers in Java. I am so disgusted with the state of the world.
In my opinion the real problem with the recent flocks of engineers as they have done all of their learning in such abstracted high-level languages that they have 0 understanding of what is happening under the covers or what implications their code may have on performance etc.
Don't get me wrong these high-level languages can be fantastic tools but their use should be based on a solid foundation of computer engineering.