Search:

Type: Posts; User: ccafe

Search: Search took 0.01 seconds.

  1. Thanks a lot, Salem. I've been searching for...

    Thanks a lot, Salem. I've been searching for thirdparty code that is thread-safe and that doesn't need thread-specific keywords/calls, and I found it, so my way for solving the problem has been to...
  2. Compatibility of C11 threads TLS and mutexes with other thread APIs

    My guess is that this question looks like a FAQ, but I've been searching for it and found only partial clues, rather than a definite source affirming how far can you expect C11 threads to be...
  3. Reputable atod/dtoa code for IEEE 754 half/float/double/80bitExt/quadfloat?

    Hi,

    I'm writing a C library that supports performing calculations in several IEEE 754 floating point types (half, float, double, Intel 80bit extended, and quad floats as in __float128).

    My...
  4. I found quite a complete thread on this topic in...

    I found quite a complete thread on this topic in this other forum: Making "new" out of "malloc" - C++ Forum and it includes examples about container classes in the fashion I was talking about. It...
  5. Container allocators based in malloc and realloc

    Hi,

    I've found several container classes out there that use malloc() internally as their allocator, and realloc() for growing/shrinking. Of course, they use placement new.

    They claim the only...
  6. Thanks a lot, Malcolm. Let me express it this...

    Thanks a lot, Malcolm. Let me express it this way: If N good programmers had to write in C a program where vertices and triangles that point to vertices could be created and deleted dynamically at...
  7. Good practices for managing references to dynamically allocated arrays

    Hi!

    I'd like to know what's considered today a good practice when you have dynamically allocated arrays, that can grow and shrink at run time, and the items in some arrays are references to the...
  8. Replies
    2
    Views
    5,479

    Oops! :rolleyes: Thanks!

    Oops! :rolleyes:

    Thanks!
  9. Replies
    2
    Views
    5,479

    Did the posts in this subforum get deleted?

    I wrote some posts in a thread in this subforum some months ago, and I cannot find them anymore. In fact, I see this subforum empty, with zero threads. Have all the threads been deleted in this...
  10. Would I volunteer into such a new Cfront-like...

    Would I volunteer into such a new Cfront-like project? I'd love to, and I don't discard doing it, but I'm into the usual chicken-and-egg problem: Some projects that would benefit from it need to be...
  11. Replies
    4
    Views
    7,756

    It's easy to follow the temptation of feeling...

    It's easy to follow the temptation of feeling angry at something, but life is too precious for that, so it's better to learn and to invest the time where it can be more fruitful. I won't use Android...
  12. Replies
    4
    Views
    7,756

    I share your thoughts, but don't forget that some...

    I share your thoughts, but don't forget that some people is working at having Linux on mobiles. Let's hope it becomes real someday. In the meantime, I consider Android just a deployment platform....
  13. Thanks a lot, Sir Galahad, don't worry. I'm also...

    Thanks a lot, Sir Galahad, don't worry. I'm also sorry if I wrote harshly. As you mention, not falling into the cold-hearted trend is a virtue that needs to be cultivated, it doesn't come for free,...
  14. No idea. I suppose you are not asking me, because...

    No idea. I suppose you are not asking me, because I'm not the one who said that "it's hardly surprising" that my post wasn't approved. What I said is "Why can’t I see my last message but however...
  15. Indeed, it's not easy to find a forum where you...

    Indeed, it's not easy to find a forum where you can talk about points that would be nice to see improved in a language: if you talk about C++ in a (Python,Java,Go,Swift,etc) forum, users will reply...
  16. The unfortunate thing here is that the C++...

    The unfortunate thing here is that the C++ standard doesn't provide a way for defining the mathematical properties of operators. Compilers can rearrange expressions, and change operators by faster...
  17. Why can’t I see my last message but however...

    Why can’t I see my last message but however @laserlight was able to quote it? Was my message deleted after @laserlight replied?
  18. Source-to-source speed optimization of C++ arithmetic expressions?

    Do you know of any tool that can transform the operations in a C++ arithmetic expression for optimizing it for speed?

    Most C++ compilers can optimize expressions automatically for builtins like...
  19. In the first page, he says he won't follow OOP...

    In the first page, he says he won't follow OOP mechanisms, but: "Instead, it is my intent to present implementations that utilizes the strengths of the abstraction mechanisms already included in the...
  20. Your timing example is very interesting....

    Your timing example is very interesting. Regarding your other comments, I could reply them, but then we would be in a C vs C++ war, and that wasn't the point, as I wrote at the top of my post. It's...
  21. ...which has even less threads (in fact my post...

    ...which has even less threads (in fact my post is the only thread) :frown:

    Maybe there was a change in policy then, because the C programming board has quite a few threads that discussed abstract...
  22. I'm afraid that by moving this to the General...

    I'm afraid that by moving this to the General Discussion board (non programming topics), it's not going to get much feedback from experienced C programmers (or at least it's going to be much...
  23. Do you ever feel you want OOP done with the C way of doing things?

    Disclaimer: Please don't take this as an anti-C++ rant. It is not. I also beg you read my words with this caution as well: this is not about saying what language is best, but about how to do...
Results 1 to 23 of 24