Tweets
- Tweets, current page.
- Tweets & replies
- Media
You blocked @shafikyaghmour
Are you sure you want to view these Tweets? Viewing Tweets won't unblock @shafikyaghmour
-
Pinned Tweet
I added a new answer to the "What is the strict aliasing rule?" Stackoverflow question since I felt like the existing ones left a lot of be desired: https://stackoverflow.com/a/51228315/1708801 … It is based on my Strict Aliasing write-up: https://twitter.com/shafikyaghmour/status/979720927008051200 …
#cplusplus#programming
Thanks. Twitter will use this to make your timeline better. UndoUndo -
Shafik Yaghmour Retweeted
Jag tror jag håller mig till C, thank you very much.https://twitter.com/shafikyaghmour/status/1128790426519871496 …
Thanks. Twitter will use this to make your timeline better. UndoUndo -
Shafik Yaghmour Retweeted
If you’re in America and scared about the Wuhan coronavirus, but you haven’t gotten a flu shot and don’t know if your MMR vaccine is up to date, you might just be taking part in a racist social panic. Also go get your shots.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Shafik Yaghmour Retweeted
Vaccines are particularly important for measles. Contracting measles weakens immunity to other viruses for years. (This is not common knowledge.) Also, measles really sucks. Had them twice. Do not recommend. 0 out of 10 stars.
Thanks. Twitter will use this to make your timeline better. UndoUndo -
Shafik Yaghmour Retweeted
Hey
#cplusplus twitter: anyone have good experiences with a more modern TUI library than ncurses?Thanks. Twitter will use this to make your timeline better. UndoUndo -
Shafik Yaghmour Retweeted
Time for a new WAT?! Talk, this opens new possibilities ;)https://twitter.com/shafikyaghmour/status/1128790426519871496 …
Thanks. Twitter will use this to make your timeline better. UndoUndo -
Shafik Yaghmour RetweetedThanks. Twitter will use this to make your timeline better. UndoUndo
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Shafik Yaghmour Retweeted
First of all big h/t to
@Myriachan whom I learned this devious example from
The answer is D, this is undefined behavior but how you might protest, unsigned number don’t have undefined behavior on overflow, do they?Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Okay enough cursed knowledge for the day.
Thanks. Twitter will use this to make your timeline better. UndoUndo -
I know
@olafurw I am still wearing my Santa hat *sigh* What’s next ...
pic.twitter.com/yQ6gDwjcfmShow this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Who would have thought there were over three thousand tweeps who want: - Cursed programming tweets - awful^H^H^H^H^H truthfu^H^H^H^H^H^Hawful programming memes -
#CppPolls and more, much more
pic.twitter.com/g9ZwZK3eYb
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Shafik Yaghmour Retweeted
tfw it is the orange site ... but their talking about your paper *sigh*: https://news.ycombinator.com/item?id=22177579 …pic.twitter.com/iBiSqhZM98
Thanks. Twitter will use this to make your timeline better. UndoUndo -
I provided the C++ specific answer here: https://twitter.com/shafikyaghmour/status/1223122542413537286 … The answer here is C the result is int and the the multiplication invokes undefined behavior. The major difference in the answer will be the standard being referred to but the conversions and promotions are close.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Also see “Why must a short be converted to an int before arithmetic operations in C and C++” https://stackoverflow.com/a/24372323/1708801 …pic.twitter.com/hfcr9IBcN1
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
If we used constexpr in a context that required a constant expression this would have generated a compile-time diagnostic: https://godbolt.org/z/WCi4BA Also see “Exploring undefined behavior via constexpr”:https://twitter.com/shafikyaghmour/status/1127219879457636353 …
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo -
We could have caught this using a couple of methods. First if we were using UBSan this would have generated a runtime failure:https://godbolt.org/z/d2CBrk
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.