Craig Scott

857 posts

Craig Scott banner
Craig Scott

Craig Scott

@crascit

Consultant, C++ developer, CMake co-maintainer and book author. Consulting services available through my company, Crascit Pty Ltd.

Katılım Mart 2016
277 Takip Edilen2.2K Takipçiler
Sabitlenmiş Tweet
Craig Scott
Craig Scott@crascit·
Very pleased to make the public announcement that I'm now offering consulting services through my new company, Crascit Pty Ltd. Interested in having me work with you on your CMake, C++ or build/release issues? Then get in touch! crascit.com/2019/09/06/cma…
English
5
12
68
0
Craig Scott
Craig Scott@crascit·
Hot take: Pull requests that state "I vibe-coded this..." or "I put this together with AI tool XYZ..." seem to align with "I don't understand this change as well as I should", and especially with "I didn't check this change as carefully as if I wrote it myself." 🤔 I'm curious why authors feel the need to state that at all. It's used almost like an "I don't take responsibility for this change" escape hatch, as though that somehow absolves them from having to put the time in to make sure the change is correct. There are few stronger signals to a reviewer that the author isn't meeting the bar for due diligence.
English
2
0
6
363
Craig Scott
Craig Scott@crascit·
I just mistyped "whitespace" as "shitespace" in a git commit message and now I'm wondering if that would have actually been a more accurate term.
English
1
0
8
354
Craig Scott
Craig Scott@crascit·
The 22nd Edition of Professional CMake: A Practical Guide is now available. It has been updated for CMake 4.1 and 4.2, mostly with minor updates and incremental additions. Get it from the usual place: crascit.com/professional-c…
English
3
8
34
2.3K
Craig Scott
Craig Scott@crascit·
The last line effect is real: "The probability of making a mistake in the last pasted block of code is 4 times higher than in any other block." Quoted from the following article, if you want more background: @Code_Analysis/the-last-line-effect-7b1cb7f0d2a1" target="_blank" rel="nofollow noopener">medium.com/@Code_Analysis
English
0
0
1
280
Craig Scott
Craig Scott@crascit·
@kobi_ca @bretbrownjr No problems with conferences in Canada (you're the second to ask that though). It's only the USA with growing concerns for foreigners entering the country.
English
0
0
1
38
Craig Scott
Craig Scott@crascit·
Given the growing concerns non-US folks may have about conditions entering the US, attending conferences in the US is nearing "non-starter" status. As much as I love CppCon, what would y'all consider the premier C++ conference these days outside the US? @bretbrownjr @kobi_ca @supahvee1234 @timur_audio
English
3
0
3
696
Craig Scott
Craig Scott@crascit·
Want some git fun? Create a branch in your repository called "prototype" or "constructor". See if your git GUI tool treats it the same as your other branches. At least one popular tool pretty much won't let you do anything with it, not even check out that branch. 🤨
English
0
0
1
310
Craig Scott
Craig Scott@crascit·
@lefticus One of the down sides to using LTO is you lose a big chunk of build performance. =Things like ccache can no longer delivering such staggeringly big reductions in build time (orders of magnitude are common). LTO does much more work at link time, which doesn't get cached.
English
0
0
4
151
Jason Turner
Jason Turner@lefticus·
Check out my C++ On Sea 2025 talk - The Power and Pain of Hidden Symbols! This talk is very important for performance and binary size, and double important if you do crossplatform development! youtu.be/-hNv1-FmAec
YouTube video
YouTube
English
2
4
29
6.7K
Craig Scott
Craig Scott@crascit·
@lefticus Around the 34:30 mark, you asked if anyone knows how symbol visibility interacts with modules. I did a writeup about that a while back, which you can find here: crascit.com/2024/04/04/cxx… You'll probably find the "Consequences Of BMI Implementation Details" especially relevant.
English
1
0
3
124
Craig Scott
Craig Scott@crascit·
@levelsio Steelcase Leap was super comfy, but I had to send back 4 under warranty due to what we eventually worked out was a design flaw (the back twists as you lean back in them). Ended up with the Steelcase Gesture instead, and we're happy with those.
English
0
0
2
432
@levelsio
@levelsio@levelsio·
Mentions for now: herman miller embody11 steelcase leap10 ikea markus7 steelcase gesture4 herman miller mirra4 herman miller sayl4 hag4 secret labs3 steelcase2 steelcase amia2 herman miller cosm2 corsair gaming chair2 haworth2 I'm leaning towards Steelcase Leap, as I said I had bad experiences with Herman Miller's with the Aeron and feel they're overrated
@levelsio tweet media
@levelsio@levelsio

What chairs to get for the coworking in my house? I'd need about 8 of them, 3 on each side, then 1 on each of the ends I hate Aeron chairs btw they cut off my leg blood flow

English
390
32
1.2K
997.8K
Craig Scott
Craig Scott@crascit·
The 21st Edition of Professional CMake: A Practical Guide is now available. It has been updated for CMake 4.0. There's a new chapter on debugging in IDEs, and important updates related to CMake 4.0 removing OLD behaviors. Get it from the usual place: crascit.com/professional-c…
English
2
4
34
1.8K
Craig Scott
Craig Scott@crascit·
I should also add I'm looking for something that works with C++17, maybe even C++11. That rules out the # embed work from C23.
English
0
0
3
307
Craig Scott
Craig Scott@crascit·
Anyone know of a successor to CMakeRC? github.com/vector-of-bool… It seems no longer maintained (no commits in more than 2 years, no response to issues and PRs). I'm looking for active alternatives that have some consensus or strong community support.
English
2
3
11
754
Craig Scott
Craig Scott@crascit·
To be clear, I have no problem with the CMakeRC maintainer choosing to go quiet. If you're not paying for support, you have no right to expect any response. My question is focused on what alternatives may be gaining traction.
English
0
0
4
183
Craig Scott
Craig Scott@crascit·
The 20th Edition of the book Professional CMake: A Practical Guide is now available. It has been updated for the CMake 3.31 release. This is a relatively minor update, focusing primarily on correcting errata. crascit.com/professional-c…
English
0
1
24
667
Craig Scott
Craig Scott@crascit·
GCC bug: "pragma once" fails due to interaction with precompiled headers and BOM interpretation (locale settings involved). Reported: 2013 Cause explained and patch provided: 2020 Still not fixed in 2025. Anyone able to push it over the line? gcc.gnu.org/bugzilla/show_…
English
0
1
8
322