-
I actually just tried to play around with what seems to be a "modern c++" boilerplate project.
It uses CMake, conan for packaging, clang-tidy and cpp-check, and has templates for fuzz and unit testing[1].
I found it because qtcreator and kdevelop were weirdly clunky and created partly broken qt projects and I figured I wanted to add a package manager and qt to the mix.
The template looks really fancy, but it's so incredibly slow, to the point of being unusable.
It's a ramble yes. But the point is modern C++ tools seem to have added some niceties to the language, but they also brought more of the main C++ issues, i.e. slow compile times and nasty boilerplate in the build process. Yes, I realize CMake isn't modern and there are a bunch of new build tools.
[1] https://github.com/cpp-best-practices/gui_starter_template
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
project_options
A general-purpose CMake library that provides functions that improve the CMake experience following the best practices.
- flags like "-fsanitize=address,leak,undefined -fanalyzer -Wthread-safety -D_FORTIFY_SOURCE=" should be baked in to a default "dev"/"debug" mode newbies shouldn't need to know/think about
Did you try project_options[0]? I recommend it to all newbies like me. Just set the "enable_developer_mode=true" and you get all that stuff for free.
> - I have to Google what headers cstd/std stuff comes from half the time
In Clion you can cmd+click on the symbol and it leads to the header.
Another recommended resource is https://github.com/cpp-best-practices/
[0]: https://github.com/aminya/project_options
-
void_switch
3D printable magnetic separation contactless key switch and stabilizers (OpenSCAD files)
Haha... So I can use my awesome contactless magnetic separation+levitation 3D printable Void Switch design of course:
https://github.com/riskable/void_switch
...and so I can do this:
https://gfycat.com/costlyglaringhyracotherium
..and this:
https://gfycat.com/unconsciousvigilantkinglet
You can clean it in the sink with soap and water because there's no electrical contacts or components in the switches.
... But that's really just scratching the surface of what it can do.
Related posts
-
Svalboard Alpha #4 -- headed to Chicago today!
-
Show HN: An analog keyboard with 3D printed switches
-
I'd like to create a 3d printed switch, mainly to see what UV resin sounds and feels like. I've searched high and low for files of such a thing, but no joy. Can anyone help?
-
Has anyone tried making a tiny, ergonomic piano "keyboard"?
-
Two state switch?