-
Content Count
3710 -
Joined
-
Last visited
-
Days Won
185
Everything posted by David Heffernan
-
If this isn't about security then there's no need for the feature you are trying to implement.
-
It does indeed. But I do find it a little hard to get excited by festures that other tools have had for years.
-
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
It's presumably a small overhead at process creation -
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
And makes your app a target for anti virus products. And what what gain? You end up with the same executable loaded in memory. I've never understood the point of this tool. -
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
I'm pretty sure that you can have all of those things in the same language -
You could find the answer for this quote readily by doing some research. Have you looked?
-
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
I don't understand this sentence. Read the map file. This hasn't bothered you before, why do you suddenly need to reason about this now. What are these effects you talk about? Anyway, you measured the size of your executables, but now you claim that performance is what concerns. If performance concerns you I recommend that you measure performance. Seems like you've measured the wrong thing. Anyway, if you really care about performance you'd surely not be using delphi, literally the worst compiler for performance. -
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.