3 ms·
> source code portability is only a part of portability. I broadly agree, but in this particular case: 1. LAME compiles just fine using multiple different com
by lelanthran 3y ago
> source code portability is only a part of portability.
I broadly agree, but in this particular case:
1. LAME compiles just fine using multiple different compilers on Windows (including an older MSVC - newer ones will error out on the use of unsafe functions, fixed by passing a #define in a flag).
2. LAME has no dependencies to download.
3. LAME is successfully used from many other languages on Windows.
So, yeah, if it's not working for him but works for everyone else, you can't blame C for portability here.
OTOH, because LAME is written in C, you have even more options - don't compile it yourself. Download the compiled LAME .dll and just use it from Go.
Author didn't even try the easiest option, said easiest option being possible only because it was written in C.