Hacker News new | ask | show | jobs
by agnsaft 2836 days ago
Should be somewhat careful with using LOC as a decent metric for code
3 comments

But in real terms, AMD is migrating their proprietary user space drivers to run on fully open source kernel drivers. It'll be an awfully chilly day in hell when Nvidia decides to do something similar.
I'm running a Radeon RX560 (replaced an Nvidia card), using the open source AMDGPU kernel driver and Mesa. It's seamless and works at least equal to (probably better than) the proprietary Nvidia drivers.
I went with Radeon as well because their open source drivers. I am a very happy user. No more bad surprises when updating kernel, which has saved me more time than I'd like to admit, since I used Nvidia because of performance.
RX460 and the same, used it since June 2018 with not a single problem.
Well it's not perfect, but can you give some idea. Some times removing code and adding back a small chunk of code can be helpful. That would give only a negative LOC, so yes it has problems. However, it's definitely one those things that I don't think will ever have perfect generalize-able metric.
AFAIK AMD also goes out of their way to provide support. NVIDIA I'm not so sure e.g. EGLStream and Wayland, Optimus, G-SYNC