News for hackers. Stuff that matters.
Re:Why I often implement things from scratch (2006) by crispyambulance on Sunday March 08, 2020 @03:43PM (#22520079)
Sure, if you're solving a 2x2 in ONE place in a piece of software, it makes sense to just perform the computation directly without using a library.

Realistically speaking, though, if you're doing one 2x2 computation, you're probably going to end up doing a bunch of other linear algebra as well. If you don't do linear algebra in your everyday work, the threshold from rolling-your-own solution to grabbing a library is going to come up very quickly.

The Armstrong example is perhaps a bit mis-titled. He's talking about "implementing from scratch" only insofar as he can use the facilities of his platform to perform exactly the task he needs to do rather than bringing in a huge dependency, in this case, an FTP server that does a lot more than the one task at hand.

Re:Why I often implement things from scratch (2006) by NohatCoder on Sunday March 08, 2020 @04:56PM (#22520563)
If you don't know how to do linear algebra, a library is unlikely to help you. Rote stuff like matrix inversion is the easy part, figuring that that is what you need is where things tend to get hairy.
Re:Why I often implement things from scratch (2006) by crispyambulance on Monday March 09, 2020 @08:55AM (#22524961)
I think also that people can "know" linear algebra but not be skilled it's practical implementation and usage in software. That's partly why computation libraries are among the longest-lived pieces of software in existence.