-
Content Count
3711 -
Joined
-
Last visited
-
Days Won
185
Everything posted by David Heffernan
-
You shouldn't be compiling that unit. Should find the dcu shipped with the product.
-
What is the error? Can you give a minimal reproduction?
-
Is possible to examine the library-> search path when IDE not start?
David Heffernan replied to alogrep's topic in Delphi IDE and APIs
What use is knowing that if your IDE won't start? Isn't the IDE not starting something of a bigger problem? -
Delphi 64bit compiler RTL speedup
David Heffernan replied to RDP1974's topic in RTL and Delphi Object Pascal
Last time I checked that project was dormant. Once upon a time I used Andre's map2dbg to make dbg files that could be used by some tools, but I never had any success with that for 64 bit executables. -
Delphi 64bit compiler RTL speedup
David Heffernan replied to RDP1974's topic in RTL and Delphi Object Pascal
OMG, if somebody could make a tool to convert detailed map files into PDB files that would be incredibly useful. -
Delphi 64bit compiler RTL speedup
David Heffernan replied to RDP1974's topic in RTL and Delphi Object Pascal
Stefan is talking about licensing, not about whether tools exist to build the library. He's talking about distributing not building. -
TimSort for Delphi without Generics
David Heffernan replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
This is perfectly reasonable. Sometimes. User should be able to choose how to compare. UPDATE: Apparently I misunderstood. Please ignore. -
Addendum to Martin Fowler quote
David Heffernan replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
@emailx45 I have literally no idea what you are talking about. Sorry. -
I know. I'm linking it here because it was cross-posted. If you do cross-post it's always worth mentioning that, and providing links, so that somebody doesn't spend time solving your problem, when it has already been solved in a different place.
-
Addendum to Martin Fowler quote
David Heffernan replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
@emailx45 Perhaps there's a language barrier, but in this topic we are talking about the efficiency of the code generated by the compiler. Because for me there has been nothing added since XE7 that would bring enough benefit to justify the time cost of migrating. -
Addendum to Martin Fowler quote
David Heffernan replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
No. Whilst for some applications, performance is not important, there are many many fields where we desperately want computers to do their work faster. And better compilers would make a huge difference. As Delphi users were are handicapped by our compiler being much worse than compilers for almost all other languages. -
Addendum to Martin Fowler quote
David Heffernan replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
Imagine if somebody could invent such a compiler. Er, no, wait, ... -
Addendum to Martin Fowler quote
David Heffernan replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
You OK hun? -
delphi - ibtogo64.dll not found in the path - Stack Overflow
-
When sorting a “StringList” is very costly
David Heffernan replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
What do you think the article linked in the original post says? -
Is it really that bad to Use boolean parameters to make your functions do two things?
David Heffernan replied to Mike Torrettinni's topic in General Help
Probably another bad idea in this topic which seems to be collecting a huge number of bad ideas. Do this for do different unrelated functions, and now you can pass the consts intended for function1 to function2, and vice versa. -
Is it really that bad to Use boolean parameters to make your functions do two things?
David Heffernan replied to Mike Torrettinni's topic in General Help
This is of course the holy grail, available in many other languages. -
Why aren't you debugging? That's what I would do if faced with this problem.
-
Is it really that bad to Use boolean parameters to make your functions do two things?
David Heffernan replied to Mike Torrettinni's topic in General Help
You've had my suggestion. Use a boolean and give your function a good name. Where you can't do that, use an enumerated type. You seem to be looking for problems where none exist. These kind of problems don't need to be fixed! -
Is it really that bad to Use boolean parameters to make your functions do two things?
David Heffernan replied to Mike Torrettinni's topic in General Help
A truly shockingly bad one at that! -
Are there any general DUnitX tests available, to check Delphi classes ?
David Heffernan replied to Rollo62's topic in RTL and Delphi Object Pascal
Should have been titled "In Which I Argue that Embarcadero Should Write Their Unit Tests". -
Then you'll need to do some debugging. Only you can do that.
-
Use the debugger to trace through. Also look in the revision control system to see what has changed.
-
Is it really that bad to Use boolean parameters to make your functions do two things?
David Heffernan replied to Mike Torrettinni's topic in General Help
You really think that an enumerated by, with a meaningful name, carries more information than: FindFiles('c:\', True); I think you are in a large minority if that is your view. -
Security - How freaky can you get!
David Heffernan replied to Clément's topic in Algorithms, Data Structures and Class Design
That's not what I am saying. I'm saying that if an attacker gets as far as running code on your machine, then things like reading another process's memory are moot. Once the attacker is executing their code on your system, it's over.