Post AwSotT9o4aRcnKTAq8 by [email protected] | |
More posts by [email protected] | |
Post #AwSlLiVKCsv8gUkTFw by [email protected] | |
0 likes, 1 repeats | |
Obstacles I hit when trying to send a patch to a C++ project, as an experienced… | |
Post #AwSlLid7jt9v4gOhPc by [email protected] | |
0 likes, 0 repeats | |
@cliffle yeah; when i accept contributions to C++ codebases i do my best to be … | |
Post #AwSlsdwACy7E4m0Dx2 by [email protected] | |
0 likes, 1 repeats | |
@whitequark I think the fact that design decisions in the language have effecti… | |
Post #AwSlse2BqYw6NSp2LQ by [email protected] | |
0 likes, 0 repeats | |
@cliffle oh, i absolutely agree on this. in my PL design work i've tried qu… | |
Post #AwSlx7tclNGc9Ox7aa by [email protected] | |
0 likes, 0 repeats | |
@whitequark for this polybar PR I basically went through and identified each la… | |
Post #AwSlx80MMKeeUI6V5U by [email protected] | |
0 likes, 0 repeats | |
@cliffle I do this on instinct and now that you've laid it out this way I&#… | |
Post #AwSm2OHJHZuuPGXdlg by [email protected] | |
0 likes, 0 repeats | |
@cliffle (you might find it interesting that the only one I don't find obje… | |
Post #AwSmHiOwkOUzA3Q9Z2 by [email protected] | |
0 likes, 0 repeats | |
@whitequark yeah, I didn't used to think much of it either. Spending some t… | |
Post #AwSmHiUyNzJrSkExxQ by [email protected] | |
0 likes, 0 repeats | |
@cliffle I'm not sure I would characterize it that way, but it's defini… | |
Post #AwSmSzLw3wQKv8O7Ps by [email protected] | |
0 likes, 0 repeats | |
@whitequark I support that stance! But for drive-by or user-contributions speci… | |
Post #AwSmSzRxhXFDDpCvoG by [email protected] | |
0 likes, 0 repeats | |
@cliffle yes, this is true. when accepting contributions, I have a dual policy:… | |
Post #AwSmVwPTSczQf6S1q4 by [email protected] | |
0 likes, 0 repeats | |
@cliffle this is useful because it forces me to either formalize and write down… | |
Post #AwSmckveXrTV56kgaG by [email protected] | |
0 likes, 0 repeats | |
@cliffle here's the glasgow one https://glasgow-embedded.org/latest/contrib… | |
Post #AwSn0qNFx3fYv49JOC by [email protected] | |
0 likes, 0 repeats | |
@whitequark that's pretty good, my only personal pet peeve there is "i… | |
Post #AwSn0qTdZKm1Er8PKq by [email protected] | |
0 likes, 0 repeats | |
@cliffle I was thinking that I can probably remove it as I was re-reading it; t… | |
Post #AwSn6PCXtN5wNkn85o by [email protected] | |
0 likes, 0 repeats | |
@cliffle moreover the requests that did happen were me asking people to do two … | |
Post #AwSotT9o4aRcnKTAq8 by [email protected] | |
0 likes, 0 repeats | |
@whitequark @cliffle interesting re clang-format vs rustfmt, is that something … | |
Post #AwSwjrdwyiixTUV3Wi by [email protected] | |
0 likes, 1 repeats | |
@cliffle @whitequark It’s a problem in part from trying to be a multi-paradig… | |
Post #AwT0hfIGK6iWPTYvZ2 by [email protected] | |
0 likes, 0 repeats | |
@david_chisnall @whitequark I also think we're accumulating knowledge about… | |
Post #AwT0iFUviUEyhBlYJ6 by [email protected] | |
0 likes, 0 repeats | |
@cliffle ouch and yuck.Both items 2 & 3 feel like a policy that says, "… | |
Post #AwT0iFcNGoCB4HFUuW by [email protected] | |
0 likes, 0 repeats | |
@JamesWidman Unfortunately -fno-exceptions has a bunch of ripple effects on whi… | |
Post #AwT0iFikt5IdO4EarA by [email protected] | |
0 likes, 0 repeats | |
@cliffle > constructors [...] become ill-defined in the absence of exception… | |
Post #AwT0iFpqSiyFk3YFuK by [email protected] | |
0 likes, 0 repeats | |
@JamesWidman ...wait, why is memory allocation failure a non-issue on POSIX?(Al… | |
Post #AwT0iFwa3gMI4whdPE by [email protected] | |
0 likes, 0 repeats | |
@cliffle on (64-bit) POSIX, it's possible to write a program where malloc()… | |
Post #AwT0iG2bhHBANdWRnc by [email protected] | |
0 likes, 0 repeats | |
@JamesWidman I notice the assertion is getting narrower from POSIX to 64-bit PO… | |
Post #AwT0iG9LIEZCiWfpIW by [email protected] | |
0 likes, 0 repeats | |
@cliffle i added "64-bit" because i haven't had a chance to test … | |
Post #AwT0iGFiuVff2JevFA by [email protected] | |
0 likes, 0 repeats | |
@JamesWidman @cliffle it's very common to run out of memory in practice on … | |
Post #AwT0iGLkY6UXL0TjdY by [email protected] | |
0 likes, 0 repeats | |
@dotstdy @JamesWidman I think I might mostly work on specialty applications the… | |
Post #AwT0iGSU93sZftd78S by [email protected] | |
0 likes, 0 repeats | |
@cliffle @dotstdy @JamesWidman The standard Rust allocation API still does a ha… | |
Post #AwT0iGZDk1Gc0mmUdM by [email protected] | |
0 likes, 0 repeats | |
@matt @dotstdy @JamesWidman it does, and I don't love it, but all the alter… | |
Post #AwT0iGgJJewEMm69gW by [email protected] | |
0 likes, 0 repeats | |
@cliffle I'd say programs that don't do dynamic memory allocation are i… | |
Post #AwT0iGnOtIbqilPojg by [email protected] | |
0 likes, 0 repeats | |
@matt🎩🧐 🍵 | |
Post #AwT0iGuUSwHT4kjTmq by [email protected] | |
0 likes, 0 repeats | |
@cliffle I don't know what that sequence of emoji means. FWIW, I'm not … | |
Post #AwT0iH0s5DNvOXiZjU by [email protected] | |
0 likes, 0 repeats | |
@matt oh, that was me donning my top hat and monocle for my specialty applicati… | |
Post #AwT0jlxCX0hxe5iSQK by [email protected] | |
0 likes, 0 repeats | |
@cliffle @JamesWidman out of curiosity I wondered how solid mesa would be in pr… | |
Post #AwT0jm3w7y5zyyrpvE by [email protected] | |
0 likes, 0 repeats | |
@cliffle @JamesWidman (this one, fwiw, there's no guard on access if this a… | |
Post #AwT0jmC5decMOGgLdA by [email protected] | |
0 likes, 0 repeats | |
@dotstdy @JamesWidman ouch. Such an easy mistake to make too. | |
Post #AwT0k0gNlpARKGxjn6 by [email protected] | |
0 likes, 0 repeats | |
@cliffle @JamesWidman yeah, bits of the code obviously people have been careful… | |
Post #AwT0kZAhXbccI9PQlk by [email protected] | |
0 likes, 0 repeats | |
@cliffle @whitequark is there a language where this _hasn't_ happened? | |
Post #AwT0kZGjBCRUaqEFA8 by [email protected] | |
0 likes, 0 repeats | |
@r @whitequark It's a spectrum, but I think it's partially a question o… | |
Post #AwT0kZN6nTXwudDL6m by [email protected] | |
0 likes, 0 repeats | |
@r @whitequark ...ooooh, the Python case suggests a slightly different way of p… | |
Post #AwT0kg9tZ08Vxg5Nz6 by [email protected] | |
0 likes, 0 repeats | |
@cliffle @whitequark from what we keep hearing, Python seems to have this in th… | |
Post #AwT0khI5M2HXTMvROC by [email protected] | |
0 likes, 0 repeats | |
@JamesWidman ah, interesting, I have no idea whether Darwin has overcommit on b… | |
Post #AwT0kk5mwDECA6CA8e by [email protected] | |
0 likes, 0 repeats | |
@cliffle oh no, it’s true; we don’t have build systems, but build system fr… | |
Post #AwT0kkDEUXBOXBg6k4 by [email protected] | |
0 likes, 0 repeats | |
@c0dec0dec0de it's like a beautiful fractal of infighting | |
Post #AwT0kny8WbU4BWe6lc by [email protected] | |
0 likes, 0 repeats | |
@cliffle we’re so messy | |
Post #AwT0kpnZiqDxrLihaC by [email protected] | |
0 likes, 0 repeats | |
@scherzog @whitequark for me it's a difference in approach: rustfmt attempt… | |
Post #AwT0lQPlaKAFQDri6q by [email protected] | |
0 likes, 0 repeats | |
@JamesWidman constructors in C++ have no way to indicate failure except through… | |
Post #AwT0lSsuOwfD5BW0oK by [email protected] | |
0 likes, 0 repeats | |
@whitequark yeah! I like cases like that where you can easily use a computer to… | |
Post #AwT1fu7mJMbPmYNnGq by [email protected] | |
0 likes, 0 repeats | |
@cliffle @scherzog seconded. | |
Post #AwT1w0b216zqUHkFQO by [email protected] | |
0 likes, 0 repeats | |
@cliffle @r tbf the cost of py3 transition was significant; there are *still* m… | |
Post #AwT25HFHU8FkjKzUqu by [email protected] | |
0 likes, 0 repeats | |
@r @cliffle Python packaging is *annoying* but not siloed in the same way as e.… | |
Post #AwT2CUELbc6d1szYxM by [email protected] | |
0 likes, 0 repeats | |
@david_chisnall @cliffle will there ever be a Rust 2.0? I believe the current s… | |
Post #AwTnUGiNI6g6AZ1AlE by [email protected] | |
0 likes, 1 repeats | |
@cliffle @dotstdy @JamesWidman This could actually be caught via testing. Run … | |
Post #AwTnym2HP9CPztsGp6 by [email protected] | |
0 likes, 1 repeats | |
@cliffle Also: figuring out the types to pass to vararg functions, or (worse) t… | |
Post #AwTo08Ju2PCvOslWxE by [email protected] | |
0 likes, 1 repeats | |
@whitequark @cliffle do any of the rustfmt config options help? | |
Post #AwU5FWLofkE5UlaFxg by [email protected] | |
0 likes, 0 repeats | |
@alwayscurious @cliffle it's the whole normalization paradigm i have a prob… | |
Post #AwU6LEk59a0yZhDuc4 by [email protected] | |
0 likes, 0 repeats | |
@whitequark @cliffle Interesting! Why is that? | |
Post #AwU8H5lmlrkPUsAhRw by [email protected] | |
0 likes, 0 repeats | |
@alwayscurious @cliffle the shape of the code is just as meaningful to me as th… | |
Post #AwU8JY5uQq9zvIkuv2 by [email protected] | |
0 likes, 0 repeats | |
@whitequark @cliffle Interesting! Why is that? | |
Post #AwU8VHenN52KQ1fXjE by [email protected] | |
0 likes, 0 repeats | |
@alwayscurious @cliffle just is | |
Post #AwU8dOzPzbPHTeBcCu by [email protected] | |
0 likes, 0 repeats | |
@whitequark @cliffle What meaning do you include in it? I think a lot of the a… | |
Post #AwU91cEuNifJWLygF6 by [email protected] | |
0 likes, 0 repeats | |
@alwayscurious @cliffle i want people to pause and wonder how they can make wha… | |
Post #AwU98VadVElGvOQYtM by [email protected] | |
0 likes, 0 repeats | |
@whitequark @cliffle That's different than lots of nitpicks during code rev… | |
Post #AwU9gCyzBsUD3qt0N6 by [email protected] | |
0 likes, 0 repeats | |
@alwayscurious @cliffle i don't tend to do lots of style nitpicks during re… | |
Post #AwU9kQz34qDDduvkqO by [email protected] | |
0 likes, 0 repeats | |
@whitequark @cliffle which avoids the problems I have seen with manually enforc… | |
Post #AwXJtgLgtv9Av3Rveq by [email protected] | |
0 likes, 0 repeats | |
@alwayscurious @cliffle @JamesWidman it's possible to setup randomised test… | |
Post #AwXJtsEghmfvmoGVPM by [email protected] | |
0 likes, 0 repeats | |
@cliffle @JamesWidman Personally, I’m on favor of recovering gracefully from … | |
Post #AwXJuCeEoUzr5qNC0e by [email protected] | |
0 likes, 0 repeats | |
@dotstdy @cliffle @JamesWidman Would be interesting to include as a mutation in… | |
Post #AwrSPhLZ4YU0cXhZQm by [email protected] | |
0 likes, 0 repeats | |
@cliffle i have kept my word:- https://github.com/GlasgowEmbedded/glasgow/pull/… |