Click here to Skip to main content

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrasing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Can't people read the form description anymore? PinmemberBrainiacV21-May-13 3:32 
GeneralRe: Can't people read the form description anymore? PinmemberBobJanova16-May-13 4:43 
GeneralRe: Can't people read the form description anymore? PinmemberDave Calkins16-May-13 7:41 
JokeRe: Can't people read the form description anymore? PinprofessionalRhys Gravell17-May-13 4:02 
GeneralRe: Can't people read the form description anymore? PinmemberRob Grainger20-May-13 22:33 
GeneralRe: Can't people read the form description anymore? PinmemberBrainiacV21-May-13 3:33 
JokeRe: Can't people read the form description anymore? Pinmemberryanb3121-May-13 4:06 
GeneralCode Safety and The .Net CLR & Java Runtime [modified] Pinmemberdusty_dex9-May-13 12:36 
Apologies if this subject has already been discussed before.
 
After stumbling upon last September's Best C# Article NET-CLR-Injection-Modify-IL-Code-during-Run-time and learning about endless security issues with the Java Runtime.
 
Are these platforms actually safer than conventional compiled executables?
 
Isn't the whole point of Data Execution Prevention (DEP) meant to stop run-time modification of running code? The CLR/JAVA Runtime engines have the only *native* code that DEP has any direct control of, but they are allowed to run without question, because of some dubious assumption that code for a virtual cpu/machine can do no real damage.
 
Maybe I'm wrong, but I can't help thinking that code under direct control of the 'real' cpu is safer than these virtualized runtime environments. Suspicious | :suss:
 
I'm not fully versed in .NET or Java coding. Anyone care to shed more light on the subject.



modified 9-May-13 20:02pm.

GeneralRe: Code Safety and The .Net CLR & Java Runtime PinmemberLloyd Atkinson9-May-13 13:31 
GeneralRe: Code Safety and The .Net CLR & Java Runtime Pinmemberdusty_dex9-May-13 13:57 
GeneralRe: Code Safety and The .Net CLR & Java Runtime PinprofessionalPIEBALDconsult9-May-13 16:09 
GeneralRe: Code Safety and The .Net CLR & Java Runtime Pinmemberdusty_dex9-May-13 23:55 
GeneralLife of Software Developer PinmemberJuhi Paunikar6-May-13 2:32 
GeneralRe: Life of Software Developer Pinmemberradioman.lt6-May-13 3:41 
GeneralRe: Life of Software Developer PinmemberJuhi Paunikar6-May-13 20:18 
GeneralRe: Life of Software Developer Pinmemberradioman.lt6-May-13 20:41 
GeneralRe: Life of Software Developer PinmemberJuhi Paunikar6-May-13 21:01 
GeneralRe: Life of Software Developer Pinmemberradioman.lt6-May-13 21:06 
GeneralRe: Life of Software Developer PinmemberJuhi Paunikar6-May-13 21:14 
GeneralRe: Life of Software Developer Pinmemberradioman.lt6-May-13 21:19 
GeneralRe: Life of Software Developer PinmemberJuhi Paunikar6-May-13 22:32 
GeneralRe: Life of Software Developer Pinmemberradioman.lt6-May-13 22:40 
GeneralRe: Life of Software Developer PinmemberJuhi Paunikar6-May-13 23:07 
GeneralRe: Life of Software Developer PinprofessionalSuvabrata Roy6-May-13 4:22 
GeneralRe: Life of Software Developer PinmemberDennis E White6-May-13 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 26 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid