2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions
comment 4y ago · link · parent
When you are done, use this as your “life strategy”. Ask what you need to change in life to better follow your life strategy. When anything brings you down, ask if it in anyway impact your life strategy. If not then realise that it isn’t important and carry on.
I did this myself years ago and it was a life changer. It gave me clear guidance and clarity to make decisions in life and to properly filter out things that aren’t important to me.
comment 4y ago · link · parent
You can use the same idea to invert transforms by simply imagining the transform as a 3D coordinate system in space and calculating the inverse relative to the origin and axis vectors of that coordinate system. No need to first generate the inverse transform matrix.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
It will take a very long time for Rust to get even close to the huge amount of C++ code out there. There are more than 5 million professional C++ developers employed around the world today. And that number is increasing. Don’t get me wrong: I like Rust and other attempts to move beyond C++. But don’t underestimate how much C++ code has been written the last 30+ years. And new C++ projects are started every single day. There are probably more C++ projects started every day than Rust projects. So anything that makes it possible to move beyond C++ while being 100% interoperable is good news.
comment 4y ago · link · parent
comment 4y ago · link · parent
1393.
The Programming Languages Zoo(github.com ↗)
3 points · by mbrodersen · 4y ago · discuss
1394.
A Special Issue on Formal Proof (2008)(ams.org ↗)
38 points · by deterministic · 4y ago · 2 comments
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
1400.
Why the Soviet Computer Failed(youtube.com ↗)
3 points · by mbrodersen · 4y ago · discuss
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Not my experience at all. It is easy and fun. And I can actually debug the parser instead of staring at generated noise/tables. And the performance is usually x2 or more, making it worth it for compiling large projects. Background: I am the maintainer of a high performance JIT optimising compiler for a Haskell like rules language used in production by commercial companies around the world.
And yes tests are absolutely necessary to maintain a commercial optimising compiler. I use a test suite of more than 9000 tests. The result is zero bugs in production the last 5+ years. The upfront cost is absolutely worth it because I can make massive changes to the internals of the compiler and still confidently release the result into production.
As for type checking: you typically won’t find any useful stuff in compiler books. However there is a massive amount of information available on type checking and type systems online. It is a huge research area and kinda the foundation of computer science. There are whole books dedicated to type checking and type systems alone.