I’ve worked on multiple compilers (optimizations expert) at MSFT on VS and CUDA and gave developed a DSL and worked on Database Compilers. I can’t hire compiler people with right skills. We’re building an IDE and those parsers are written differently, and we use Scala packrat parser combinators. These courses teach very little judgement or industry relevant stuff. When do you use packrat parser vs LALR vs LL? Good lu…
Advanced Compilers: Self-Guided Online Course
141–150 of 241 posts
Re: Advanced Compilers: Self-Guided Online Course
#142Domain-specific compilers are a bigger field, where there's more opportunity to do something interesting Take C (or some other language) and its mature optimizing compilers as a foundation, and write a program that compiles a high-level description of a domain-specific program into C For example, NN-512 ( https://NN-512.com ) is a compiler that takes as input a simple text description of a convolutional neural net in…
Actually the whole family of embedded code generation products from MathWorks https://www.mathworks.com/solutions/embedded-code-generation...
Re: Advanced Compilers: Self-Guided Online Course
#143Producing Wrong Data Without Doing Anything Obviously Wrong! Todd Mytkowicz, Amer Diwan, Matthias Hauswirth, and Peter F. Sweeney. ASPLOS 2009.
https://dl.acm.org/doi/10.1145/2528521.1508275
I happened to be at that ASPLOS and I thought it was fascinating. Good to see it recognized as one of the most important papers in compilers.
Re: Advanced Compilers: Self-Guided Online Course
#144Earlier quoted context omitted.
> Do you think it is the responsibility of academia to teach "industry relevant stuff"? I don't think that was what ibains was going for, though i don't fault you for seeing this in that comment. (Especially that i don't think this course suffers from that problem and generally i think things are rapidly improving on this front.) That problem to me and i think to him too is that quite a lot of things that such course…
Most languages are context sensitive. Most language tools are context free. How did we go so wrong?
Re: Advanced Compilers: Self-Guided Online Course
#145I’ve worked on multiple compilers (optimizations expert) at MSFT on VS and CUDA and gave developed a DSL and worked on Database Compilers. I can’t hire compiler people with right skills. We’re building an IDE and those parsers are written differently, and we use Scala packrat parser combinators. These courses teach very little judgement or industry relevant stuff. When do you use packrat parser vs LALR vs LL? Good lu…
Hiring for exact skills is what you do when you need the skills ASAP and the actual supply of engineers is there. The time you waste looking for someone with the exact knowledge you need could have been spent getting a good compiler engineer and just teaching them what you know. And magically that good engineer will get better, it's pretty amazing stuff. I've was told multiple times, University/School teaches you how…
Re: Advanced Compilers: Self-Guided Online Course
#146Earlier quoted context omitted.
> Good luck hiring an engineer with advanced compiler courses knowing any of this. Have you tried raising the level of compensation you offer? There are engineers elsewhere doing this at other companies you could presumably get if you put your hands in your pockets?
“We can’t hire for x” almost always means “we can’t hire for x for what we’re willing to pay”
Re: Advanced Compilers: Self-Guided Online Course
#147Earlier quoted context omitted.
I understand the problem. I teach compilers at a big university. And I would love to hire graduates with compiler skills for my startup, but find it difficult. There are several structural problems that conspire to keep students from acquiring knowledge in low-level programming domain like compilation: a course needs to fit with the rest of the curriculum, and with student interest. I cannot get students interested i…
Thanks. I'm actually very interested in lexing and parsing, because that's probably 99% of the stuff a layman-programmer gets to do with compiler theory in job. I mean not everyone gets chance to write the backend part, but parsing skill is almost used universally.
Re: Advanced Compilers: Self-Guided Online Course
#148Earlier quoted context omitted.
Is that such a critical hiring criteria? That seems like something I could learn in a week.
> That seems like something I could learn in a week. So why not learn it in a week then apply for the job? I would suggest the reason is... because you cannot learn it in a week.
This is an example of know-how, not theory. Different problems require different things.
Re: Advanced Compilers: Self-Guided Online Course
#149Earlier quoted context omitted.
Most languages are context sensitive. Most language tools are context free. How did we go so wrong?
Languages being context sensitive results from hacking in new language features. It's a constant struggle to keep D context free :-/
Many language tools don't need a full blown language parser and can get by with a context-free parser for the language's superset. Things like autocompletion, spell checking, documentation/highlighting can all be implemented using context-free parsers.
Re: Advanced Compilers: Self-Guided Online Course
#150This course is asynchronously delivered. Question for students: how do you find synchronous courses with some discussions during class, vs asynchronous courses where discussions are limited to an online written forum or office hours?