Click here to Skip to main content
15,896,557 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
honey the codewitch18-Sep-19 13:26
mvahoney the codewitch18-Sep-19 13:26 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. PinPopular
Richard Andrew x6418-Sep-19 14:25
professionalRichard Andrew x6418-Sep-19 14:25 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Steven121819-Sep-19 7:33
professionalSteven121819-Sep-19 7:33 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Gerardo Orozco19-Sep-19 4:48
Gerardo Orozco19-Sep-19 4:48 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
#realJSOP18-Sep-19 5:24
professional#realJSOP18-Sep-19 5:24 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 5:25
mvahoney the codewitch18-Sep-19 5:25 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
#realJSOP18-Sep-19 5:34
professional#realJSOP18-Sep-19 5:34 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 5:36
mvahoney the codewitch18-Sep-19 5:36 
Yes, though it was added to .NET after my initial attempt at using mem mapped files from C#.

Besides all that is is a wrapper like the one i had written years ago.

It doesn't change the basic problem which is:

var foo = new int[1000000]; //backed by disk, paged automatically, in C/C++

it's mainly because you can't use pointers in C#, and even if you use unsafe, you cannot pin objects to specific addresses in memory
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
Rajesh R Subramanian18-Sep-19 20:18
professionalRajesh R Subramanian18-Sep-19 20:18 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch18-Sep-19 21:25
mvahoney the codewitch18-Sep-19 21:25 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Rajesh R Subramanian18-Sep-19 22:21
professionalRajesh R Subramanian18-Sep-19 22:21 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:04
mvahoney the codewitch19-Sep-19 3:04 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Rajesh R Subramanian19-Sep-19 3:20
professionalRajesh R Subramanian19-Sep-19 3:20 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:31
mvahoney the codewitch19-Sep-19 3:31 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Rajesh R Subramanian19-Sep-19 3:33
professionalRajesh R Subramanian19-Sep-19 3:33 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 4:23
TheGreatAndPowerfulOz20-Sep-19 4:23 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Rajesh R Subramanian20-Sep-19 5:55
professionalRajesh R Subramanian20-Sep-19 5:55 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 6:01
TheGreatAndPowerfulOz20-Sep-19 6:01 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Rajesh R Subramanian20-Sep-19 6:10
professionalRajesh R Subramanian20-Sep-19 6:10 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 7:11
TheGreatAndPowerfulOz20-Sep-19 7:11 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Rajesh R Subramanian20-Sep-19 7:22
professionalRajesh R Subramanian20-Sep-19 7:22 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 7:34
TheGreatAndPowerfulOz20-Sep-19 7:34 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
Rajesh R Subramanian20-Sep-19 8:28
professionalRajesh R Subramanian20-Sep-19 8:28 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
johannesnestler19-Sep-19 2:41
johannesnestler19-Sep-19 2:41 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 3:02
mvahoney the codewitch19-Sep-19 3:02 

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.