News for hackers. Stuff that matters.
Re:AMD May Get Across the CUDA Moat by mgaunard on Saturday October 07, 2023 @05:51AM (#37800397)
Semver is a joke and doesn't work. Languages like C and C++ can easily have problems if you link code built with different versions together (even if you aim for them to be compatible, or even if they are indeed the same source version but with subtly different flags), and there are no good solutions for this, except not doing it.

A docker container is not really any different from any other process; the main difference is that it runs in a chroot pretty much.

Re:AMD May Get Across the CUDA Moat by Dylan16807 on Monday October 09, 2023 @02:49AM (#37817663)
> problems if you link code built with different versions

But that has nothing to do with semver.

Semver gives you information about when when you can replace one version with another version. It doesn't promise that you can mix multiple versions together.

Re:AMD May Get Across the CUDA Moat by mgaunard on Monday October 09, 2023 @04:29PM (#37825094)
It gives you information about intent, not reality.

And you are mixing multiple versions if you are building against version x.y and linking against version x.(y+z).

Re:AMD May Get Across the CUDA Moat by Dylan16807 on Monday October 09, 2023 @04:45PM (#37825281)
Maybe I misunderstood "built with", because I thought you were talking about the compiler version there. I know semver is just intent, but the intent doesn't even touch mixing internal data from multiple versions.

If linking against a different version of the code breaks like that, that sounds like someone did semver wrong. If that happens a lot to you, then oh, I'm sorry about that happening.

Re:AMD May Get Across the CUDA Moat by kiitos on Thursday October 12, 2023 @03:15AM (#37854350)
Every versioning scheme necessarily describes intent, not reality.