Click here to Skip to main content
14,382,805 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 10:23
memberhoney the codewitch14-May-19 10:23 
JokeRe: Some thoughts on the .net CLR/CLI Pin
Sander Rossel14-May-19 11:51
professionalSander Rossel14-May-19 11:51 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 14:37
memberSuper Lloyd14-May-19 14:37 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 14:52
memberhoney the codewitch14-May-19 14:52 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 15:04
memberSuper Lloyd14-May-19 15:04 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 15:28
memberhoney the codewitch14-May-19 15:28 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 16:31
memberSuper Lloyd14-May-19 16:31 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 17:16
memberhoney the codewitch14-May-19 17:16 
Actually have given it a lot of thought, and in the end I decided not to use Finalizers.

Here's why, and I think it's justifiable: Win32 process segregation. You will clean all handles on proc exit RIGHT AFTER the GC cleans up it's Finalized objects. Win32 handles what .NET won't, usually at the same time.

There's one exception - remote COM objects. I will clear handles on those, but doing RPC is its own topic, and lifetime considerations are a huge one.

As far as your final sentence, that was rather my point. My audience isn't VB developers. If I was targeting them I'd make my code drool proof. =)
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 17:44
memberSuper Lloyd14-May-19 17:44 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 17:48
memberhoney the codewitch14-May-19 17:48 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 18:13
memberSuper Lloyd14-May-19 18:13 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 18:17
memberhoney the codewitch14-May-19 18:17 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 18:24
memberhoney the codewitch14-May-19 18:24 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 18:30
memberSuper Lloyd14-May-19 18:30 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 18:38
memberhoney the codewitch14-May-19 18:38 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 19:16
memberSuper Lloyd14-May-19 19:16 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 19:30
memberhoney the codewitch14-May-19 19:30 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 19:32
memberhoney the codewitch14-May-19 19:32 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 19:40
memberSuper Lloyd14-May-19 19:40 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 19:43
memberhoney the codewitch14-May-19 19:43 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 19:55
memberSuper Lloyd14-May-19 19:55 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 20:03
memberhoney the codewitch14-May-19 20:03 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 20:11
memberSuper Lloyd14-May-19 20:11 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 20:32
memberhoney the codewitch14-May-19 20:32 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 20:37
memberSuper Lloyd14-May-19 20:37 

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.