Click here to Skip to main content
14,325,629 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: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:09
memberMember 916705719-Sep-19 3:09 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:10
memberhoney the codewitch19-Sep-19 3:10 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:19
memberMember 916705719-Sep-19 3:19 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:20
memberhoney the codewitch19-Sep-19 3:20 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:21
memberMember 916705719-Sep-19 3:21 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:35
memberhoney the codewitch19-Sep-19 3:35 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 3:40
memberMember 916705719-Sep-19 3:40 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:42
memberhoney the codewitch19-Sep-19 3:42 
I said they don't work how they are supposed to.

How they were designed was to map files to a process address space so you could do pointer ops to read and write files.

That is not doable under .NET.

Sorry I've just explained this a lot. If you've used memory mapped files in unmanaged code then you know what i'm talking about. Otherwise you might never. I don't know.

You cannot do

var foo = new int[100000]; //backed by file.

That's how it's supposed to work. It can't under .NET
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: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 4:41
memberTheGreatAndPowerfulOz20-Sep-19 4:41 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Stuart Dootson19-Sep-19 3:36
professionalStuart Dootson19-Sep-19 3:36 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:37
memberhoney the codewitch19-Sep-19 3:37 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Stuart Dootson19-Sep-19 3:47
professionalStuart Dootson19-Sep-19 3:47 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:50
memberhoney the codewitch19-Sep-19 3:50 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Steve Naidamast19-Sep-19 5:11
professionalSteve Naidamast19-Sep-19 5:11 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 5:28
memberhoney the codewitch19-Sep-19 5:28 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 6:50
memberzezba900019-Sep-19 6:50 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 6:53
memberhoney the codewitch19-Sep-19 6:53 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:06
memberzezba900019-Sep-19 7:06 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:09
memberhoney the codewitch19-Sep-19 7:09 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:17
memberzezba900019-Sep-19 7:17 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:17
memberhoney the codewitch19-Sep-19 7:17 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:20
memberzezba900019-Sep-19 7:20 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:21
memberhoney the codewitch19-Sep-19 7:21 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 7:26
memberzezba900019-Sep-19 7:26 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 7:28
memberhoney the codewitch19-Sep-19 7:28 

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.