Click here to Skip to main content
14,356,475 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 codewitch19-Sep-19 8:51
memberhoney the codewitch19-Sep-19 8:51 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 9:01
memberzezba900019-Sep-19 9:01 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 9:28
memberhoney the codewitch19-Sep-19 9:28 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 9:37
memberzezba900019-Sep-19 9:37 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 9:41
memberhoney the codewitch19-Sep-19 9:41 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 10:05
memberzezba900019-Sep-19 10:05 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 10:13
memberhoney the codewitch19-Sep-19 10:13 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 10:18
memberhoney the codewitch19-Sep-19 10:18 
you do understand that paged memory allows you to do pointer ops directly to a file, i assume?

and that normally what you'd do is just create your data structures at that memory mapped address and then use them like normal classes and structure, which are automatically written to disk as they are accessed.

struct foo {
   int bar;
};

foo* pfoo = VirtualAlloc(..., sizeof(foo));
pfoo->bar=1; // writes to disk
printf("%d",pfoo->bar); // reads from disk.


there is simply no way to do that in .NET

if you're saying there is show me how. Your method call technique does not enable this.
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
zezba900019-Sep-19 10:43
memberzezba900019-Sep-19 10:43 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
honey the codewitch19-Sep-19 10:45
memberhoney the codewitch19-Sep-19 10:45 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
zezba900019-Sep-19 10:47
memberzezba900019-Sep-19 10:47 
GeneralRe: I thought .NET was supposed to make things easier, if anything, than unmanaged code. Pin
TheGreatAndPowerfulOz20-Sep-19 6:02
memberTheGreatAndPowerfulOz20-Sep-19 6:02 
GeneralThought of the Day Pin
OriginalGriff18-Sep-19 5:45
protectorOriginalGriff18-Sep-19 5:45 
GeneralRe: Thought of the Day Pin
W Balboos18-Sep-19 5:58
mveW Balboos18-Sep-19 5:58 
GeneralRe: Thought of the Day Pin
PeejayAdams18-Sep-19 6:16
memberPeejayAdams18-Sep-19 6:16 
GeneralRe: Thought of the Day Pin
honey the codewitch18-Sep-19 6:19
memberhoney the codewitch18-Sep-19 6:19 
GeneralRe: Thought of the Day Pin
lopatir18-Sep-19 6:26
memberlopatir18-Sep-19 6:26 
GeneralRe: Thought of the Day Pin
honey the codewitch18-Sep-19 6:27
memberhoney the codewitch18-Sep-19 6:27 
GeneralRe: Thought of the Day Pin
DRHuff18-Sep-19 7:22
memberDRHuff18-Sep-19 7:22 
PraiseRe: Thought of the Day Pin
honey the codewitch18-Sep-19 7:23
memberhoney the codewitch18-Sep-19 7:23 
GeneralRe: Thought of the Day Pin
PeejayAdams18-Sep-19 6:29
memberPeejayAdams18-Sep-19 6:29 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer18-Sep-19 8:14
professionalDaniel Pfeffer18-Sep-19 8:14 
AdminTo those wishing to push the boundaries Pin
Chris Maunder18-Sep-19 5:10
adminChris Maunder18-Sep-19 5:10 
GeneralRe: To those wishing to push the boundaries Pin
honey the codewitch18-Sep-19 5:14
memberhoney the codewitch18-Sep-19 5:14 
GeneralRe: To those wishing to push the boundaries Pin
Chris Maunder18-Sep-19 5:17
adminChris Maunder18-Sep-19 5:17 

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.