Posts by thephd@pony.social
(DIR) Post #B5xMpMy12IWSir2ptY by thephd@pony.social
0 likes, 0 repeats
@eniko @shana honored I'm among these folks but most of my stuff is ranting and being openly wrong on the internet, alas
(DIR) Post #B5xw6ZvHcGdwDthx6e by thephd@pony.social
0 likes, 1 repeats
GCC allows non-FSF contributions as long as you have signoff. I still have to separate the thing out into 3 patches but, hopefully soon, GCC will also be on the C and C++ (thephd.dev) compilers. Maybe.I sure hope I did it right / it works.https://github.com/compiler-explorer/compiler-explorer/pull/8670
(DIR) Post #B5xwHUjJGSKLIoJRw0 by thephd@pony.social
0 likes, 0 repeats
@CursedSilicon No, they don't. I'm working off of a mirror on GitHub (gcc-mirror).
(DIR) Post #B5y7KVTA4Pw1xcOkiW by thephd@pony.social
0 likes, 0 repeats
@pinskia @CursedSilicon this might make splitting up a PR for libstdc++ versus gcc/libcpp a lot more manageable...but I don't think I qualify, lol.
(DIR) Post #B5yHg20jHBniVc0B3Q by thephd@pony.social
0 likes, 0 repeats
@pinskia @CursedSilicon Well, I'm all registered up. Now I just gotta shoot an e-mail off to somebody.
(DIR) Post #B6A8qJtJ5KXTAWsdZQ by thephd@pony.social
0 likes, 0 repeats
@simontatham Yeah, that was a weirdly C++-ish error message; thanks for reporting. Seems like something got crossed in the parsing bit; I pushed a fix to the thephd.dev branch and it'll eventually reflect there. (Probably gotta wait until Monday midday to test again on Godbolt.)On the bright side, on my local branch it worked out just fine when I tested your code against the modified patch so that was nice.
(DIR) Post #B6BkJFkdRlHWBnRZXU by thephd@pony.social
0 likes, 0 repeats
@simontatham Following up, it's indeed fixed! https://godbolt.org/z/4Wv31bej8Thanks for poking at it, should be more (or less?) okay now.
(DIR) Post #B6Bljipa3FKPrUwTFw by thephd@pony.social
0 likes, 0 repeats
@simontatham It was more of an implementation peculiarity than anything else, really. Internally, we check if what is coming in is a modifiable lvalue and -- if it is -- take a reference to it. Unfortunately the way we were doing it before took a reference to the stripped-down type if certain kinds of pointers got involved, and this wrecked parsing a little bit.But that part's been fixed and the modifiable lvalue bit is only taken later.
(DIR) Post #B6C5ImwSenIXsOawkK by thephd@pony.social
0 likes, 0 repeats
@simontatham I have no good solution for multi match generics other than the function pointer arguments trick. I have sat down to try and figure out a non-amviguous syntax for this but it has not worked out at all. It's similar to the problem of trying to initialize multiple different types in for loop init expressions: very little syntactic space to maneuver.That being said, maybe we need to grow a little beyond Generic if we want this kind of power.
(DIR) Post #B6C5PPFn7yNKR4nAnY by thephd@pony.social
0 likes, 0 repeats
@simontatham nesting generics is a little less.problematic but nested macro and expansion can get compile-time expensive.
(DIR) Post #B6C9PYYsv8977X3A24 by thephd@pony.social
0 likes, 0 repeats
@simontatham I believe @erisceleste has some opinions on this and has done stuff like this before, so she can chime in about it.
(DIR) Post #B6CmR0It9sI5f9FV9U by thephd@pony.social
0 likes, 0 repeats
@nabijaczleweli real
(DIR) Post #B6GJht2XIWXU1F8cee by thephd@pony.social
0 likes, 0 repeats
@pinskia If I'm inside of a place like tree.cc or builtins.cc in the gcc/ dir for the GCC project, do you know how I access things like options or preprocessor bits? I've got to convert from a Wide Character String to some usable internal representation and it's a little Beyond My Paygrade at the moment trying to figure out what specific static magic I need to access to get there.
(DIR) Post #B6QY7gif4N84H9ddXk by thephd@pony.social
0 likes, 0 repeats
@typeswitch @atax1a the duality of engineers,
(DIR) Post #B6SZ87OCOqUnGGkw1A by thephd@pony.social
0 likes, 0 repeats
Whoa. I had put it on the backburner but apparently someone was so excited by the _Record types proposal that they implemented it in a compiler and sent it to me.Damn, I gotta pick that one up for C29, it seems...!
(DIR) Post #B6SZCAvBD517NF7Jlw by thephd@pony.social
0 likes, 0 repeats
I do need to fix up the proposal: there's some scoping issues (the annotation is too viral and needs a non-viral form) but I'm happy someone implemented and proved out the base form. Exciting!!
(DIR) Post #B6SeykmLh9ooFryBaC by thephd@pony.social
0 likes, 0 repeats
@SRAZKVT this one: https://thephd.dev/_vendor/future_cxx/papers/C%20-%20_Record%20types.html
(DIR) Post #B6bb0cO3DS6JPfsT4K by thephd@pony.social
0 likes, 0 repeats
I gotta work on my _Array(T, N) paper before C29 closes out so I can make sure Javier's paper on vectorization has a better chance. (_Span(T, ...) will probably take a bit more time...)
(DIR) Post #B6vuJAoaDOnN3VnXwe by thephd@pony.social
0 likes, 0 repeats
Weird to submit for a conference after having not been doing them for quite some time. Here's hoping.(Can only really go because it's in-country, haha. Leaving is still a Big No No, unfortunately.)
(DIR) Post #B6zUTvHqDIEns3aZai by thephd@pony.social
0 likes, 1 repeats
How long into living with black mold does it have to be until it starts to mess with you?