-
Content Count
64 -
Joined
-
Last visited
-
Days Won
7
david berneda last won the day on August 17
david berneda had the most liked content!
Community Reputation
64 ExcellentRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
UltraCode64 for Delphi (aka 64-bit FastCode)
david berneda replied to chmichael's topic in RTL and Delphi Object Pascal
The FastDateTime repository has been tested with RAD 13.0 Florence, all fine, similar speed gains than 10.1 Rio. I've added an indentical Firemonkey FMX test project to benchmark all the non-Windows platforms. https://github.com/davidberneda/FastDateTime -
[Ann] TeeChart for RAD Studio 13 Florence released
david berneda replied to david berneda's topic in Delphi Third-Party
One of the hidden new features in RAD 13 is the TeeChart (VCL and FMX) "Lite" free version has been upgraded from 2021 to 2025. -
[Ann] TeeChart for RAD Studio 13 Florence released
david berneda replied to david berneda's topic in Delphi Third-Party
https://steema.com/entry/634 -
UltraCode64 for Delphi (aka 64-bit FastCode)
david berneda replied to chmichael's topic in RTL and Delphi Object Pascal
Oops I have to re-test and benchmark that old code with the latest RTL, to make sure its still vaiid and worth it. About fast code, I'm interested in sse or avx speedups of array sum and min max, without cpu detection overheads -
New Delphi features in Delphi 13
david berneda replied to David Heffernan's topic in RTL and Delphi Object Pascal
Ah nice catch ! I personally like to abuse of blank lines, so I quickly see the problem because after the doX; my eyes expect a blank line. Also blank line after each end; (except if the next line is also an end; ) -
New Delphi features in Delphi 13
david berneda replied to David Heffernan's topic in RTL and Delphi Object Pascal
😂 I can quickly identify code not written by me when I see a minor formatting difference. Even 20 years later 😂 -
[Ann] TeeChart for RAD Studio 13 Florence released
david berneda posted a topic in Delphi Third-Party
Announcing the availability of the latest TeeChart VCL/FMX 2025.45 release with full RAD Studio 13 Florence (RX/DX/CX) support: steema.com/entry/634 #delphi #RADStudio13 #developers #programming #Delphi13 #charts #development #charting -
New Delphi features in Delphi 13
david berneda replied to David Heffernan's topic in RTL and Delphi Object Pascal
Manual formatting for me is the best way to make sure the code is well done, calmly, as a final double-check there are no big bugs or something missing. I'd never do auto format, a headache to configure the many ways format can be done. -
A smart case statement in Delphi?
david berneda replied to PeterPanettone's topic in RTL and Delphi Object Pascal
CPascal is another approach, it calls and generates LLVM from Pascal code. Ternary conditional is done C-style using "?" https://github.com/tinyBigGAMES/CPascal -
A smart case statement in Delphi?
david berneda replied to PeterPanettone's topic in RTL and Delphi Object Pascal
If it can be of any help, case/switch In my "pet language" allows expressions at each case item. I choose the reserved keyword "when" just for fun, it can be another keyword in one second. https://github.com/davidberneda/Vidi // When. Multiple "ifs" (switch, case) num ::= 5 Console.PutLine(num) when num { < 3 { num:=123 } 4 { num:=456 } // is num equal to 4? <>6 { Console.PutLine('num is not six') } // otherwise else { num *= 7 - 1 } } Console.PutLine(num) // Works with any type when Name { "Jane" { Console.PutLine('Name is Jane') } "Peter" { Console.PutLine('Name is Peter') } // .Length=3 {} // TODO, use members "." } B : Text := 'b' when 'a'+B { "ab" { Console.PutLine('Text ab') } } -
New Delphi features in Delphi 13
david berneda replied to David Heffernan's topic in RTL and Delphi Object Pascal
Do you think on using it? It can be useful to people that like to do debug logs. -
"Pass" parameters to Delphi compiler, from code
david berneda replied to david berneda's topic in General Help
Yep ! But this is exactly what I was trying to avoid, an inc file that would need to be copied and duplicated because not all units belong to the same projects or products, there is no shared path where to put that inc. -
"Pass" parameters to Delphi compiler, from code
david berneda replied to david berneda's topic in General Help
The PASS should only be allowed before reserved words program and library. Its just like if you were passing the params at the command line, before parsing anything. Several compiler params cannot be used inside an inc file. PASS allows everything. Units will still work right they do now, no changes. -
"Pass" parameters to Delphi compiler, from code
david berneda replied to david berneda's topic in General Help
And maybe the project uses units from different projects, folders, that do not share a common place where I can have my single unique inc file, thus needing multiple duplicate identical inc files, a nightmare to maintain. -
"Pass" parameters to Delphi compiler, from code
david berneda replied to david berneda's topic in General Help
But if I have 100 units I need to include the inc in the all 100 of them. This avoids that.