3 ms·
The concept of lifetime management is relatively novel and uncharted territory, if I understand correctly. There's only some prior art. So implementing that mus
by kevinmgranger 7y ago
The concept of lifetime management is relatively novel and uncharted territory, if I understand correctly. There's only some prior art. So implementing that must have been an adventure and a half.
And while I'm sure the folks who work on these languages are wonderfully intelligent people, let's dispel this notion that you need to be a super genius to implement a compiler or something like that!
It seems magical, like one of the hardest things you could program-- but take a look through crafting interpreters, if you will: http://craftinginterpreters.com/ http://craftinginterpreters.com/
"Nothing is particularly hard if you break it down into small jobs." - Henry Ford
- Waterluvian 7y agoI walked through the Java portion of Crafting Interpreters and indeed, they can be much simpler than you might imagine in your early years. I was more just paying a compliment than suggesting that maintainers are superhuman. Everyone who ships productive code is a wizard and you can be too! I modified my original question to avoid a potential distraction from what I want to talk about. Thanks!
- xscott 7y agoDo you have any links for the prior art? I'm sincerely interested, thank you if you do. I'd also be interested in any articles (or even blog posts) that describe Rust's process for that from a compiler writer's point of view.