Click here to Skip to main content
14,356,576 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 916705718-Sep-19 22:27
memberMember 916705718-Sep-19 22:27 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 22:29
memberhoney the codewitch18-Sep-19 22:29 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 22:34
memberMember 916705718-Sep-19 22:34 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 22:36
memberhoney the codewitch18-Sep-19 22:36 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 22:38
memberMember 916705718-Sep-19 22:38 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 22:39
memberhoney the codewitch18-Sep-19 22:39 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705718-Sep-19 22:40
memberMember 916705718-Sep-19 22:40 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 22:45
memberhoney the codewitch18-Sep-19 22:45 
Because it's impossible to map a file to process address space in C#.

You can only marshal calls to the vmem system which makes it exactly like reading and writing a file instead of reading and writing a pointer. Defeating the primary reason I'd use it.

what I want (and can't have)

var foo = new int[100000]; // backed by disk automatically


and i don't want an unmanaged binary. I'm speaking in the hypothetical. I will not use vmem in this project because of .NET limitations.
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
Member 916705718-Sep-19 23:03
memberMember 916705718-Sep-19 23:03 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 4:06
memberhoney the codewitch19-Sep-19 4:06 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 4:09
memberMember 916705719-Sep-19 4:09 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 4:10
memberhoney the codewitch19-Sep-19 4:10 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 4:19
memberMember 916705719-Sep-19 4:19 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 4:20
memberhoney the codewitch19-Sep-19 4:20 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 4:21
memberMember 916705719-Sep-19 4:21 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 4:35
memberhoney the codewitch19-Sep-19 4:35 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Member 916705719-Sep-19 4:40
memberMember 916705719-Sep-19 4:40 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 4:42
memberhoney the codewitch19-Sep-19 4:42 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 5:41
memberTheGreatAndPowerfulOz20-Sep-19 5:41 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Stuart Dootson19-Sep-19 4:36
professionalStuart Dootson19-Sep-19 4:36 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 4:37
memberhoney the codewitch19-Sep-19 4:37 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Stuart Dootson19-Sep-19 4:47
professionalStuart Dootson19-Sep-19 4:47 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 4:50
memberhoney the codewitch19-Sep-19 4:50 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Steve Naidamast19-Sep-19 6:11
professionalSteve Naidamast19-Sep-19 6:11 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 6:28
memberhoney the codewitch19-Sep-19 6: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.