-
Content Count
3493 -
Joined
-
Last visited
-
Days Won
172
Everything posted by David Heffernan
-
Why does Delphi 12 marginally bloat EXE file size compared to 11.1?
David Heffernan replied to PaulM117's topic in RTL and Delphi Object Pascal
Why do you care about these tiny differences in these tiny executables? If you care use Delphi 5. -
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.
-
There's a what's new that you can read, and there's not much there in my opinion.
-
The fix the actual problem. Otherwise your security is broken.
-
I don't think this is possible because there's no good use for such a feature
-
Windows Arm is still not ready. It is still in the cook.
David Heffernan replied to Juan C.Cilleruelo's topic in Windows API
Really not enticing me to click on this link by posting in a huge font with no summary or commentary. -
Intel Simd-sort library
David Heffernan replied to Tommi Prami's topic in Algorithms, Data Structures and Class Design
This sounds like a really interesting numerical problem! I suspect that in practical terms, sorting is going to be the winner though. -
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Declared_Constants It's all in here
-
True thread parallelism with P4D and Python 12
David Heffernan replied to pyscripter's topic in Python4Delphi
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!! -
Running python code in Delphi threads
David Heffernan replied to pyscripter's topic in Python4Delphi
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. -
True thread parallelism with P4D and Python 12
David Heffernan replied to pyscripter's topic in Python4Delphi
Python is very good at managing change in my experience. -
Unable to Cast UInt64 to Double on 32bit Compile in Windows 11 ARM: Has Anyone Experienced This?
David Heffernan replied to gomsun2's topic in RTL and Delphi Object Pascal
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 -
Unable to Cast UInt64 to Double on 32bit Compile in Windows 11 ARM: Has Anyone Experienced This?
David Heffernan replied to gomsun2's topic in RTL and Delphi Object Pascal
I've seen other reports similar to this. It smells like an emulator bug. -
Is it a problem if I create more threads than host CPU has ?
David Heffernan replied to William23668's topic in General Help
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. -
Is it a problem if I create more threads than host CPU has ?
David Heffernan replied to William23668's topic in General Help
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?!! -
Is it a problem if I create more threads than host CPU has ?
David Heffernan replied to William23668's topic in General Help
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? -
Is it a problem if I create more threads than host CPU has ?
David Heffernan replied to William23668's topic in General Help
Depends what the threads are doing -
You can't suggest that without knowing what the numbers represent.
-
I need advice on converting a 500k lines 32bit Delphi 7 application to 64bit
David Heffernan replied to Yaron's topic in General Help
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?? -
I need advice on converting a 500k lines 32bit Delphi 7 application to 64bit
David Heffernan replied to Yaron's topic in General Help
Most of the tnt components map cleanly to standard vcl components iirc -
I need advice on converting a 500k lines 32bit Delphi 7 application to 64bit
David Heffernan replied to Yaron's topic in General Help
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. -
That blows my mind!!
-
Sounds a little implausible
-
Obviously Microsoft's header files handle struct alignment correctly
-
Delphi compiled EXE are flagged as malware by anti virus software
David Heffernan replied to Jaska's topic in General Help
Signing would help