Jump to content

David Heffernan

Members
  • Content Count

    3493
  • Joined

  • Last visited

  • Days Won

    172

Everything posted by David Heffernan

  1. Why do you care about these tiny differences in these tiny executables? If you care use Delphi 5.
  2. David Heffernan

    Delphi 12 is available

    All these marketing people trying to generate buzz around a name. How about fixing the bugs and making the product better? Then you can call it anything you like and it will sell.
  3. David Heffernan

    Delphi 12 is available

    There's a what's new that you can read, and there's not much there in my opinion.
  4. David Heffernan

    open dialog

    The fix the actual problem. Otherwise your security is broken.
  5. David Heffernan

    open dialog

    I don't think this is possible because there's no good use for such a feature
  6. David Heffernan

    Windows Arm is still not ready. It is still in the cook.

    Really not enticing me to click on this link by posting in a huge font with no summary or commentary.
  7. David Heffernan

    Intel Simd-sort library

    This sounds like a really interesting numerical problem! I suspect that in practical terms, sorting is going to be the winner though.
  8. David Heffernan

    constant records

    https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Declared_Constants It's all in here
  9. David Heffernan

    True thread parallelism with P4D and Python 12

    I'm quite excited about escaping GIL tyrrany but shared global state in the python extension module I develop is going to be tricky. I'm looking forward to seeing what you've done here and drawing some inspiration!!
  10. David Heffernan

    Running python code in Delphi threads

    My recollection of Lutz's work is that Learning Python is the book of his to read. As for the Python 2 vs 3 distinction, I'd be less worried about that. That's more about syntax details than concepts. A really good work written for Python 2 is better than an average work for Python 3. The differences between 2 and 3 aren't significant conceptually.
  11. David Heffernan

    True thread parallelism with P4D and Python 12

    Python is very good at managing change in my experience.
  12. Well I'd not want to use rtl code to convert float to string anyway because it doesn't get it right for all floats
  13. I've seen other reports similar to this. It smells like an emulator bug.
  14. David Heffernan

    Is it a problem if I create more threads than host CPU has ?

    Why would that be? Would it be because you asked a technical question without offering any details. Using more threads than processors can be effective when some of the tasks aren't CPU bound. A good example would be writing to or ready from disk. Accessing memory as the task I would not expect to be amenable to using more threads than processors. Usually computers have greater peak CPU throughput than memory throughout. So if the work is purely memory access then I'd expect CPUs to be idle. Because the memory access should be the bottleneck. You are quite right when you point out that nobody can advise you accurately without knowing your precise needs.
  15. David Heffernan

    Is it a problem if I create more threads than host CPU has ?

    Just use thousands of threads and get results yesterday, simples. No, if you use too many threads then your will get results slower. How do you even think computers work?!!
  16. David Heffernan

    Is it a problem if I create more threads than host CPU has ?

    There won't be a problem, but it just won't be efficient to use more threads than processors. My question for you is why you want to do that?
  17. David Heffernan

    Is it a problem if I create more threads than host CPU has ?

    Depends what the threads are doing
  18. David Heffernan

    %G equivalent in FormatFloat?

    You can't suggest that without knowing what the numbers represent.
  19. It's as necessary as it always was if you are using a pre Unicode Delphi. And yeah it's still around. Code doesn't vanish. Why would anyone develop it for compilers that aren't developed??
  20. Most of the tnt components map cleanly to standard vcl components iirc
  21. My take on this is that you want to start making changes in your Delphi 7 code base that don't change the meaning of the program there, but mean that it will compile and work as expected in both ANSI and Unicode Delphi. In an ideal world you'd be able to do all that work preparing for the switch and reach a point where you can compile with both ANSI and Unicode Delphi, and the program works the same. Then you can cut the chord to Delphi 7 and commit to Unicode Delphi. Then you do the second piece of work which is to get the code working on 64 bit.
  22. David Heffernan

    C++ / windows.h and data alignment

    That blows my mind!!
  23. David Heffernan

    C++ / windows.h and data alignment

    Sounds a little implausible
  24. David Heffernan

    C++ / windows.h and data alignment

    Obviously Microsoft's header files handle struct alignment correctly
×