Top Tweets for #EmbeddedDecoded
@EmbeddedDecoded This is actually the best way to go! All my future products will be like this. I mean facebook and twitter weren’t first in social media game
@EmbeddedDecoded Thank you 3 times, please say it loudly
@EmbeddedDecoded Why don't you delete Windows and install Linux?
What do you use what you hate? This doesn't make sense.
PS: this is off-topic
@EmbeddedDecoded Totally agree. It's like everyone's chasing quick fixes without thinking about the long-term mess it leaves behind.
@EmbeddedDecoded Whether we like it or not, need to flow with the tide..
@EmbeddedDecoded Nice man! I think you should for sure have some runway before.
@EmbeddedDecoded Yeah memory mapped hardware loves to use bitfields.
Lots of old systems used to take input this way by registering button presses in a particular memory location
@EmbeddedDecoded What kind of monster wrote this lol
@EmbeddedDecoded Sometimes there are settings that allow the compiler to define what happens when UB happens.
Systemd’s codebase does this by turning off strict aliasing because the codebase is full of type punning
@EmbeddedDecoded Compiler assumes UB can’t happen. So you are at the whim of the compiler optimization passes
@EmbeddedDecoded That's great jade
@EmbeddedDecoded This is type punning. Bad for many reasons especially when technically int and float aren’t guaranteed to be the same size on all platforms
@EmbeddedDecoded It all boils down to: this is type punning and breaks strict aliasing rules. Which I guess you can turn off in your compiler but still.
@EmbeddedDecoded Wow
How ?
@EmbeddedDecoded Wow!
Hi Jade, let’s connect.
@EmbeddedDecoded I believe it's legal but not portable. The size of int and float types are architecture dependant.
@EmbeddedDecoded No output. Two things could happen: either trying to print causes a segmentation fault, or you get lucky and can access that address — but since there’s no \n, nothing will be printed.
@EmbeddedDecoded In theory (as per the C spec) it should be UB. But in practice, it builds, runs, and outputs 100. GCC 15.2 on Windows. C is just a horrible language... 😲

@EmbeddedDecoded @reckvinci @Pavlov_H2SO4 The rule that mandates such parameter-type adjustments:
https://t.co/xTL6fSze02
IOW:
int f(int []);
int f(int [42]);
int f(int [10]);
int f(int *);
are *fully* compatible declarations. You can redeclare f like that and no compliant compiler can complain.
https://t.co/EdG5obRbdR
@pskocik @EmbeddedDecoded I’d expect a decent compiler to issue a warning at compile time but likely go ahead and generate the executable.
@pskocik @EmbeddedDecoded @reckvinci That is what I thought, that it was just a convention thing when used in parameters syntax.
@EmbeddedDecoded @reckvinci @Pavlov_H2SO4 You try it. He's right. Arrays are distinct from pointers (even though they readily convert to them), except arrays IN PARAMETERS are (just syntactic sugar for) pointers. There's no such thing as array parameters. Same for functions vs function pointers.
@EmbeddedDecoded At first sight 5 6 6 but not sure there is a ub
Last Seen Hashtags on Sotwe
,eksib
Seen from Indonesia
torreoriaclasicos
Seen from Peru
monkeyapp
Seen from Mexico
nsfwtaehyung
Seen from India
Entreprneur
Seen from United States
sissy
Seen from Netherlands
PuppyComedy
Seen from United States
تانجو_برايفت
Seen from Italy
立ちション
Seen from Japan
williamsonwelding
Seen from France
Most Popular Users

Elon Musk 
@elonmusk
239.6M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers

















