I’m always amused when people say they don’t see a difference. The difference to me is significant.
I own phones with both connectors and I've hit issues with two lightning cables over the last ~6 years where dropping the cable onto something metallic shorts out a couple of the connectors rendering the cable useless. Thus far I've not managed to do similar with USB-C.
Both cables ultimately wind up being replaced after fatiguing to failure in roughly comparable time IME.
Both adapters are pleasant to use compared to predecessors, but USB-C I can share between devices, so the 100W laptop charger will happily charge my phone etc which I find quite convenient.
I'm curious what you find preferable about the lightning adapter?
Would be nice to see a nix flake etc for tinkerers as well...
Cool ideas!
The documentation is massively verbose but doesn’t really say anything helpful. There’s basically no “Modern CMake” examples that anyone can agree upon. (I do see that there’s some GitHub repos these days that maybe do show some of it). There’s very little information on “The CMake way of doing things”. You really need to learn by examination, and your assumptions in the end will very likely be wrong.
Even just adding a package fetch in CMake is infuriating. What is the currently accepted way to do this? (I admit that I haven’t used CMake in a while, but as of a year ago, the internet and CMake docs did not agree on the correct way, even internally)
That being said, Cmake is a far cry from the ease of use of cargo (albeit with potentially much more flexibility).
If you need complex logic, use a programming language and generate the YAML/JSON/whatever with it. There you go. Fixed it for you.
Ruby, Python, or any other language really (I only favor scripting ones because they're generally easier to run), will give you all of that without some weird pseudo-language like Jsonnet or Go templates.
Write the freaking code already and you'll get bitten way less by obscure weird issues that these template engines have.
Seriously, use any real programing language and it'll be WAY better.