-
Content Count
3586 -
Joined
-
Last visited
-
Days Won
176
Everything posted by David Heffernan
-
The scenarios I'm thinking of are numerical programming where the bottlenecks are migrated to math libs like openblas
-
For loads of scenarios the interpreter doesn't matter for performance.
-
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.
-
Threadvar "per object"
David Heffernan replied to chkaufmann's topic in Algorithms, Data Structures and Class Design
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. -
It's far more effective just to paste the function name into Google surely
-
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.
-
C++ Builder 11.3 / RenameFile() not working?
David Heffernan replied to cbPlus's topic in General Help
What directory would you have expected the files to be relative to?- 10 replies
-
- c++ builder
- 11.3
-
(and 1 more)
Tagged with:
-
C++ Builder 11.3 / RenameFile() not working?
David Heffernan replied to cbPlus's topic in General Help
What I don't understand is why you didn't use the debugger or other debugging techniques to check what values were being passed in to the function. That's my idea for you.- 10 replies
-
- c++ builder
- 11.3
-
(and 1 more)
Tagged with:
-
Quality Portal going to be moved
David Heffernan replied to Uwe Raabe's topic in Community Management
Like when they asked us all to transfer our reports from QC to QP? -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
Your code might appear to work on D7 but that's by chance. What I'm surprised at is why anyone is still talking about this. Who cares. Why do people want to work out what happens whe calling conventions don't match. -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
This is wrong on D7 too. Don't believe everything you read. -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
Are you setting every field in st? Looks like you didn't set DayOfWeek. It's a Wednesday, the 12th June. Doesn't seem worthwhile calling StrToDateTime and the DecodeDateTime when you can just set the fields directly. -
Product: Delphi Parser - AI claims - what does it mean?
David Heffernan replied to Jasonjac2's topic in Delphi Third-Party
Isn't this just grep? -
You use variables which contain references to them.
-
Another good reason not to write code which depends on the string name of objects.
-
F2047 Circular unit reference.
David Heffernan replied to dmitrybv's topic in RTL and Delphi Object Pascal
Interfaces and callbacks might be the solution, but I'm always very sceptical of people who will tell you the solution to a problem that hasn't been clearly stated. -
F2047 Circular unit reference.
David Heffernan replied to dmitrybv's topic in RTL and Delphi Object Pascal
Hard to answer without seeing how the classes and types are defined -
Delphi and "Use only memory safe languages"
David Heffernan replied to Die Holländer's topic in General Help
You are trolling here right? -
Showing TMenuItem icons at design time in the IDE
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
This entire thread is utterly pointless. Just submit a feature request. Yapping here won't change anything. Or are you just here for the yapping? -
Showing TMenuItem icons at design time in the IDE
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
Submit a feature request -
Why does IDE require UAC elevation when starting?
David Heffernan replied to Tom F's topic in General Help
Right click on bds.exe and check what its compat settings are too -
What do you think of "Local Global variables"
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
I'm not sure that this is true. -
What do you think of "Local Global variables"
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
My opinions are independently formed though -
What do you think of "Local Global variables"
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Not is the containing structured type is declared in the implementation section -
What do you think of "Local Global variables"
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Types can be declared inside structured types.