A poster asks about C# support in Linux, so he can work on his C# school assignments, and as usual (when the topic can be construed, or often misconstrued, by "linux fanboys" into being all about...
Type: Posts; User: j_g; Keyword(s):
A poster asks about C# support in Linux, so he can work on his C# school assignments, and as usual (when the topic can be construed, or often misconstrued, by "linux fanboys" into being all about...
If you want to try C/C++ programming, using the native MIDI API of Linux (ie, ALSA), then read my article "Linux MIDI and digital audio programming" at:
...
There is a property that can be set to modify that behavior.
Including ones who "haven't used C in over 10 years", but will happily give you advice about it in nearly every thread (although the advice is usually "use Python instead").
Just to let you know, CodeGuru (and Code Project) are very much Windows programming resources.
Do you have a newsgroup reader (ie, Pan)? If so, check out groups like comp.os.linux.development or...
Damn you, aks44. You rushed in here and told him everything I was going to say (without needing the OP to be more coherent too!).
I second every bit of this advice. I've personally used IDA to...
Nope. calloc() simply serves the purpose of initializing the memory to 0. It doesn't try to ask the OS if the pages can actually be committed, and then gracefully return a 0 (to the app) if not. It...
Wait. Are you saying that his test failed because of memory fragmentation (ie, no "contiguous" address space) or the fact that he's using a 32-bit edition of Ubuntu (and therefore is limited to about...
Yep.
Wy, this may have to do with the differences between the size of your swap file and total RAM, and his. You're probably running under a more constrained system, so you really are hitting the...
There's an old saying "You can have it quick. Or you can have it good.".
If you want to write an MP3 player that does that, fine. (But I'd still prefer one that doesn't). But if you're writing...
You got it.
Here's how to improve it (as I noted in a different thread that a particular moderator chose to lock, making it hard to discuss such pertinent, important programming topics here, and...
But Linux over-commits (by default). So you don't know how much memory is enough to cause a 0 return value. All you know for sure is that a 0 return value is possible, and if you "handle" it by...
That's disputable. But what isn't disputable is that a discussion of MS' business history is not a discussion about programming. And the OP didn't ask about MS at all. Why are moderators locking...
There is no other discussion about how Linux's OOM Killer works, and how to avoid triggering it.
What "scenario"? Your post fails to identify what "scenario" to which you're referring. I can't...
There are advantages and disadvantages. It's so hard to say without looking at a specific application.
I used the "private memory pool" thing in an interpreter, because it really sped up the...
Don't worry. Linux has an "OOM Killer".
This thread is about Why Linux has an "OOM killer" and what programmers can do to help get rid of it. If someone thinks it's about something else, he's wrong.
I'm going to try to explain this for...
Much too "dynamic"... when a post in this forum isn't even about programming, and is just an MS bashing "advocacy post".
Um.... where??? I don't see any convincing posts detailing why there should be exit()'s in shared libs.
All we know for sure is that malloc can indeed return a 0 on Linux (I've had it happen to me...
That URL above was already posted, and debunked.
...none of it having to do with the OP's question, nor even programming in general.
Is there something wrong with advocacy newsgroups such that people must instead have those conversations here?
How many developers have you "figuratively shot" to test your theory? Or is this yet another attempt to derail a legitimate programming thread with more off-topic posts, just to "bury" others' Linux...
I've seen this allegation made numerous times. But it isn't true. We've already seen actual examples of malloc returning a zero, running on actual computers. If your allegation were true, that...
In my preceding example, I did a #define to set OUTPUTBUFSIZE to the maximum size I expected my buffer ever needed to be. And that buffer was allocated as so.
By "manual" adjustment, I assume you...
And you thought correctly. You've already gotten a head start upon certain people who have written shared libs, because you'll be doing it correctly from the beginning.