Ask HN: LLVM Book to Get Started
1–7 of 7 posts
I am familiar with compilers but I have never had a chance to learn LLVM beside making simple examples. What is the good get started.
Re: Ask HN: LLVM Book to Get Started
#2There are a couple of good ones at Packt.
Re: Ask HN: LLVM Book to Get Started
#3"Transformers for Natural Language Processing" by Denis Rothman on Packt is a good one.
Make sure to get the 2nd edition for the coverage of newer models, particularly the ones from Hugging Face.
Everything I've read from Denis is really good. He's great at explaining complex topics in ways that are straightforward and digestible.
Re: Ask HN: LLVM Book to Get Started
#4"Transformers for Natural Language Processing" by Denis Rothman on Packt is a good one. Make sure to get the 2nd edition for the coverage of newer models, particularly the ones from Hugging Face. Everything I've read from Denis is really good. He's great at explaining complex topics in ways that are straightforward and digestible.
I think OP was referring to the LLVM compiler tools, not the LLM (Large Language Model)
Re: Ask HN: LLVM Book to Get Started
#5You might already be advanced beyond high-level introductory material, but this short book chapter by Chris Lattner himself was a good read for me (a casual reader, not a compiler expert).
Re: Ask HN: LLVM Book to Get Started
#6At the expense of sounding crazy, I'd actually recommend ChatGPT to help you learn this. Ask it pointed questions and keep going down that path. Don't ask it for code but ask it to explain things to you. it's really useful that way and avoids the meme-worthy bad code.
Re: Ask HN: LLVM Book to Get Started
#7Not a book, but you might find it helpful https://mukulrathi.com/create-your-own-programming-language/...