Click here to Skip to main content
15,901,283 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: Skottelbraai PinPopular
OriginalGriff1-Jun-19 20:41
mveOriginalGriff1-Jun-19 20:41 
GeneralRe: Skottelbraai Pin
RickZeeland1-Jun-19 20:49
mveRickZeeland1-Jun-19 20:49 
GeneralRe: Skottelbraai Pin
Mark_Wallace1-Jun-19 20:48
Mark_Wallace1-Jun-19 20:48 
GeneralRe: Skottelbraai Pin
RickZeeland1-Jun-19 20:51
mveRickZeeland1-Jun-19 20:51 
GeneralHigh performance c# PinPopular
Rob Philpott31-May-19 22:50
Rob Philpott31-May-19 22:50 
GeneralRe: High performance c# Pin
OriginalGriff31-May-19 23:02
mveOriginalGriff31-May-19 23:02 
GeneralRe: High performance c# Pin
Munchies_Matt31-May-19 23:10
Munchies_Matt31-May-19 23:10 
GeneralRe: High performance c# Pin
OriginalGriff31-May-19 23:24
mveOriginalGriff31-May-19 23:24 
Yes, and I wrote a lot of embedded C, often with assembler for the time critical bits.

But you have to pay attention, and it's far too easy to create nasty bugs if you don't know what you are doing:
C++
int* GetMemory(int n)
   {
   int arr[n];
   return arr;
   }
Things get nasty real quick with that ... Laugh | :laugh:
Even if you do it right:
int* GetMemory(int n)
   {
   int* arr = (int*) malloc(n * sizeof(int));
   return arr;
   }
It's still far to easy to leave a memory leak because the caller is responsible for freeing the memory and unless he looks at the function he may not be aware of that.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: High performance c# Pin
Rob Philpott31-May-19 23:32
Rob Philpott31-May-19 23:32 
GeneralRe: High performance c# Pin
Munchies_Matt31-May-19 23:50
Munchies_Matt31-May-19 23:50 
GeneralRe: High performance c# Pin
OriginalGriff1-Jun-19 0:00
mveOriginalGriff1-Jun-19 0:00 
GeneralRe: High performance c# Pin
jschell2-Jun-19 9:55
jschell2-Jun-19 9:55 
GeneralRe: High performance c# Pin
Kirk 103898213-Jun-19 15:25
Kirk 103898213-Jun-19 15:25 
GeneralRe: High performance c# Pin
Rob Philpott31-May-19 23:27
Rob Philpott31-May-19 23:27 
GeneralRe: High performance c# Pin
Gerardo Orozco3-Jun-19 4:37
Gerardo Orozco3-Jun-19 4:37 
GeneralRe: High performance c# Pin
lopatir1-Jun-19 4:33
lopatir1-Jun-19 4:33 
GeneralRe: High performance c# Pin
jschell2-Jun-19 9:58
jschell2-Jun-19 9:58 
GeneralRe: High performance c# Pin
dandy721-Jun-19 5:03
dandy721-Jun-19 5:03 
GeneralRe: High performance c# Pin
Munchies_Matt31-May-19 23:09
Munchies_Matt31-May-19 23:09 
GeneralRe: High performance c# Pin
Rob Philpott31-May-19 23:17
Rob Philpott31-May-19 23:17 
GeneralRe: High performance c# Pin
Munchies_Matt31-May-19 23:46
Munchies_Matt31-May-19 23:46 
GeneralRe: Totally unrelated to C# but... Pin
Member 143310761-Jun-19 2:39
Member 143310761-Jun-19 2:39 
GeneralRe: Totally unrelated to C# but... Pin
Richard MacCutchan1-Jun-19 4:19
mveRichard MacCutchan1-Jun-19 4:19 
GeneralRe: Totally unrelated to C# but... Pin
OriginalGriff1-Jun-19 4:29
mveOriginalGriff1-Jun-19 4:29 
GeneralRe: Totally unrelated to C# but... Pin
RickZeeland1-Jun-19 9:26
mveRickZeeland1-Jun-19 9:26 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   504 votes