Click here to Skip to main content
12,622,291 members (35,473 online)

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, embarrassing 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? Pin
BrainiacV21-May-13 4:32
memberBrainiacV21-May-13 4:32 
GeneralRe: Can't people read the form description anymore? Pin
BobJanova16-May-13 5:43
memberBobJanova16-May-13 5:43 
GeneralRe: Can't people read the form description anymore? Pin
Dave Calkins16-May-13 8:41
memberDave Calkins16-May-13 8:41 
JokeRe: Can't people read the form description anymore? Pin
Rhys Gravell17-May-13 5:02
professionalRhys Gravell17-May-13 5:02 
GeneralRe: Can't people read the form description anymore? Pin
Rob Grainger20-May-13 23:33
memberRob Grainger20-May-13 23:33 
GeneralRe: Can't people read the form description anymore? Pin
BrainiacV21-May-13 4:33
memberBrainiacV21-May-13 4:33 
JokeRe: Can't people read the form description anymore? Pin
ryanb3121-May-13 5:06
memberryanb3121-May-13 5:06 
GeneralCode Safety and The .Net CLR & Java Runtime Pin
dusty_dex9-May-13 13:36
memberdusty_dex9-May-13 13: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 Pin
Lloyd Atkinson9-May-13 14:31
memberLloyd Atkinson9-May-13 14:31 
GeneralRe: Code Safety and The .Net CLR & Java Runtime Pin
dusty_dex9-May-13 14:57
memberdusty_dex9-May-13 14:57 
GeneralRe: Code Safety and The .Net CLR & Java Runtime Pin
PIEBALDconsult9-May-13 17:09
professionalPIEBALDconsult9-May-13 17:09 
GeneralRe: Code Safety and The .Net CLR & Java Runtime Pin
dusty_dex10-May-13 0:55
memberdusty_dex10-May-13 0:55 
GeneralLife of Software Developer Pin
Juhi Paunikar6-May-13 3:32
memberJuhi Paunikar6-May-13 3:32 
GeneralRe: Life of Software Developer Pin
radioman.lt6-May-13 4:41
memberradioman.lt6-May-13 4:41 
GeneralRe: Life of Software Developer Pin
Juhi Paunikar6-May-13 21:18
memberJuhi Paunikar6-May-13 21:18 
GeneralRe: Life of Software Developer Pin
radioman.lt6-May-13 21:41
memberradioman.lt6-May-13 21:41 
GeneralRe: Life of Software Developer Pin
Juhi Paunikar6-May-13 22:01
memberJuhi Paunikar6-May-13 22:01 
GeneralRe: Life of Software Developer Pin
radioman.lt6-May-13 22:06
memberradioman.lt6-May-13 22:06 
GeneralRe: Life of Software Developer Pin
Juhi Paunikar6-May-13 22:14
memberJuhi Paunikar6-May-13 22:14 
GeneralRe: Life of Software Developer Pin
radioman.lt6-May-13 22:19
memberradioman.lt6-May-13 22:19 
GeneralRe: Life of Software Developer Pin
Juhi Paunikar6-May-13 23:32
memberJuhi Paunikar6-May-13 23:32 
GeneralRe: Life of Software Developer Pin
radioman.lt6-May-13 23:40
memberradioman.lt6-May-13 23:40 
GeneralRe: Life of Software Developer Pin
Juhi Paunikar7-May-13 0:07
memberJuhi Paunikar7-May-13 0:07 
GeneralRe: Life of Software Developer Pin
Suvabrata Roy6-May-13 5:22
professionalSuvabrata Roy6-May-13 5:22 
GeneralRe: Life of Software Developer Pin
Dennis E White6-May-13 5:35
memberDennis E White6-May-13 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web02 | 2.8.161128.1 | Last Updated 3 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid