-
Content Count
3499 -
Joined
-
Last visited
-
Days Won
174
Posts posted by David Heffernan
-
-
31 minutes ago, Tommi Prami said:How much this will add overhead at runtime?
It's presumably a small overhead at process creation
- 1
-
5 hours ago, ŁukaszDe said:@PaulM117 If size of exe file is important for you, try Upx https://upx.github.io. For my project, Upx made 12MB exe file from 42 MB.
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.
- 8
-
4 minutes ago, Anders Melander said:Personally, I care a lot about performance but I also care about code readability, ease of UI design, and TBH, the amount of fun I have writing the code.
I'm pretty sure that you can have all of those things in the same language
-
38 minutes ago, JohnLM said:@Vandrovnik - thanks, I was wondering if there was a resource like this one.., and the rest (for previous versions) for that matter.
You could find the answer for this quote readily by doing some research. Have you looked?
-
6 minutes ago, PaulM117 said:User perception and optimization of robust tactical deployment of application to Win64 targets (minimal bandwidth/file IO usage).
I don't understand this sentence.
6 minutes ago, PaulM117 said:It's necessary though that I at least know what is occupying the size.
Read the map file.
6 minutes ago, PaulM117 said:I need to be able to reason about the contents of the binary file and ensure there is no major waste or unknowns
This hasn't bothered you before, why do you suddenly need to reason about this now.
6 minutes ago, PaulM117 said:Instruction cache effects could also theoretically impact performance negatively with larger EXE sizes, could they not?
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 do you care about these tiny differences in these tiny executables? If you care use Delphi 5.
- 2
-
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.
- 7
-
16 hours ago, JohnLM said:I am looking forward to finding out what features have been added/enhanced/etc
There's a what's new that you can read, and there's not much there in my opinion.
-
2 hours ago, RTollison said:reason for this is cloud server and multiple clients. we give them a specific folder that is theirs but if we allow them to navigate to other clients folders it presents a security problem. we have permissions in place but not fullproof just yet.
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
-
23 hours ago, Juan C.Cilleruelo said:Really not enticing me to click on this link by posting in a huge font with no summary or commentary.
-
36 minutes ago, DJSox said:In statistics and/or data analysis to calculate the median you have to sort the data, at least I always have.
This sounds like a really interesting numerical problem! I suspect that in practical terms, sorting is going to be the winner though.
-
-
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!!
-
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.
- 1
-
3 hours ago, Sherlock said:Noice! And which breaking changes happened this time? Python is sweet when you need short scripts but a pain for large projects. I would like to see any one of our colleagues here with their million LOC projects using Python.
Python is very good at managing change in my experience.
-
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
-
I've seen other reports similar to this. It smells like an emulator bug.
- 1
-
22 hours ago, William23668 said:You dont know my exact needs
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.
- 1
-
1 hour ago, William23668 said:get results faster
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?!!
- 1
- 2
-
10 hours ago, William23668 said:Looping through very long list of arrays for read and write
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?
-
Depends what the threads are doing
- 1
-
On 10/21/2023 at 8:35 AM, Kas Ob. said:I would suggest logarithmic graph for such data, give them a chance or at least research them.
You can't suggest that without knowing what the numbers represent.
-
3 hours ago, Remy Lebeau said:TNT isn't even around anymore. Not to mention it is largely unnecessarily anyway, as the core Delphi classes are now Unicode capable since 2009.
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??
Delphi 12 is available
in Delphi IDE and APIs
Posted
It does indeed. But I do find it a little hard to get excited by festures that other tools have had for years.