Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		
- 
				
				 mngr9018yHOW MANY TIMES HAVE THAT SHIT OPTIMIZED OUT A PIECE A CODE THAT HAD TO JUST READ A VALUE!!!! mngr9018yHOW MANY TIMES HAVE THAT SHIT OPTIMIZED OUT A PIECE A CODE THAT HAD TO JUST READ A VALUE!!!!
 I want just see if it reads the right value, so I will not use that value afterward.... BAM, OPTIMIZED OUT!!!!
- 
				
				 mngr9018yWorking in embedded development, i put the read function in a loop... Bam, the loop is now empty! mngr9018yWorking in embedded development, i put the read function in a loop... Bam, the loop is now empty!
- 
				
				urzq348yNice one :D I guess I'm blessed to work with visual studio, which handle correctly its debug configuration !
- 
				
				Think of all the people who don't have a girlfriend and neither the compiler optimisation is fucking them
Related Rants
- 
						
							 xjose97x20Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop. xjose97x20Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
- 
						
							 Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ... Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
- 
						
							 sam966911 sam966911 Hats off to this lady .... I would have just flipped the machine Hats off to this lady .... I would have just flipped the machine






Ah, C++. Where the compiler optimisation is fucking you so hard that you don't need a girlfriend anymore 😒
rant
c++
compiler optimisation