Jump to content

David Heffernan

Members
  • Content Count

    3659
  • Joined

  • Last visited

  • Days Won

    181

Everything posted by David Heffernan

  1. David Heffernan

    How do I return to the 'Constructor'??

    You very likely still shouldn't be showing user dialogs in a constructor. The fact that you made this design choice to meet a requirement does not mean that it was the right design choice.
  2. David Heffernan

    updated Delphi64RTL intel ipp onetbb

    I mean, come on, how could that test be relevant!
  3. David Heffernan

    updated Delphi64RTL intel ipp onetbb

    This point has been raised many times previously fwiw
  4. David Heffernan

    Dynamic array used as a queue. Memory fragmentation?

    Except aligned is now slower on modern cpus because of the less efficient cache usage when there is padding.
  5. David Heffernan

    Dynamic array used as a queue. Memory fragmentation?

    It is if you use a proper memory manager
  6. David Heffernan

    Dynamic array used as a queue. Memory fragmentation?

    This was true once upon a time but is not true for modern x86-64 architectures.
  7. David Heffernan

    Show executable size after successful build?

    You've spent more time posting here than you would ever save from this feature existing
  8. David Heffernan

    Show executable size after successful build?

    But it doesn't change from one build to the next. Or is your problem that on Monday you know that the executable is 25mb but come Tuesday you've forgotten. Maybe you should get some post it notes.
  9. David Heffernan

    Show executable size after successful build?

    So check the size in explorer. Not like you need to do this repeatedly. Are you having trouble using explorer?
  10. David Heffernan

    Avoid parameter evaluation

    Yeah, I couldn't believe that anon methods arrived way back in Delphi 2009. I thought they were a much younger feature!!
  11. David Heffernan

    Avoid parameter evaluation

    What specific feature are you talking about here?
  12. David Heffernan

    Show executable size after successful build?

    Doesn't seem very useful to me. I wouldn't prioritise this.
  13. David Heffernan

    C++ to Delphi conversion problem

    I don't know why you aren't facing up to the reality that you need to write some C++ code.
  14. David Heffernan

    C++ to Delphi conversion problem

    You can't declare this structure in Delphi because it uses the STL type std::vector.
  15. David Heffernan

    Stand alone EXE

    Why do you need a smaller exe?
  16. David Heffernan

    VCL - Canvas does not allow drawing

    Consider sharing a program that behaves this way
  17. David Heffernan

    "for i in" goes in reverse

    Code editors telling you stuff is great but the bigger problem is the missing functionality at the fundamental language level.
  18. David Heffernan

    "for i in" goes in reverse

    Classic delphi type ambiguity consequence
  19. David Heffernan

    DelphiVCL4Python

    The scenarios I'm thinking of are numerical programming where the bottlenecks are migrated to math libs like openblas
  20. David Heffernan

    DelphiVCL4Python

    For loads of scenarios the interpreter doesn't matter for performance.
  21. David Heffernan

    Scientific research

    Personally I compile openblas and other libraries into dlls and link to them. Not least because the performance is obviously much better than code compiled by delphi.
  22. David Heffernan

    Threadvar "per object"

    The naive answer to your question is that the object holds a dictionary whose key is the thread id. But it's far from clear that what you are planning will actually solve your problem.
  23. David Heffernan

    F1 context help to WinAPI ?

    It's far more effective just to paste the function name into Google surely
  24. David Heffernan

    CPas - C for Delphi

    This has always been possible. On win64 delphi compiler/linker has never respected the pdata exception tables so exceptions in the linked code have unpredictable results, for instance insta process terminate. Not sure if latest delphi fixes that.
×