Posts

Showing posts with the label Delphi Developers: Delphi Feature Requests

Delphi Compiler Optimization Requests

Delphi Compiler Optimization Requests We had to to calculate the hardware requirements for a large back end service written in Delphi. Of cause we already did a lot of optimization in all kind of areas (searching bottlenecks by AQTime, using FastMM4 switches for multithreading, switching from IndyServer to Microsoft Web Server API etc). This is our daily business and works. But still I have the strange feeling that the service could run significantly faster if the win32 or mainly the win64 compiler would optimize better. Scanning through RSP there are a lot of issues open (just a few examples): https://quality.embarcadero.com/browse/RSP-9968 : Poor code generation for double precision floating point return values (x86) https://quality.embarcadero.com/browse/RSP-21519 : Win64 compiler should optimize 5th and further arguments into registers https://quality.embarcadero.com/browse/RSP-21222 : Exception handling prevents register usage And specially for win64 I would expect to have some ad...

https://www.

Image
https://www.google.com/maps/@41.1440135,-8.6183255,3a,60y,80.5h,90t/data=!3m6!1e1!3m4!1skhVCYmn80QNDsdSB7i_Ocw!2e0!7i13312!8i6656 I have to say that I don't like Google+ . What I like is the dynamism and knowledge expressed by the members of this group . Sound very sentimental, but I really am a member of other groups in Google Plus of other themes, like Makers, Arduino, Electronics, OpenSCAD, SketchUp, Woodworking and others and no one of these groups has the tenth part of the level of participation of our group . I think the next: I'm going to be very attentive to what happens the next months with this group. And I'm going to follow your steps . If +Lars Fosdal or any other leader of this group, is willing to show us the way, I'm going to follow you to the other place where continue with the conversation . If +Lars Fosdal or any other leader of this group, want or need to count with my help in the transition of our group to any other platform, please count with me . Y...

https://www.google.com/maps/@41.1440135,-8.6183255,3a,60y,80.5h,90t/data=!3m6!1e1!3m4!1skhVCYmn80QNDsdSB7i_Ocw!2e0!7i13312!8i6656

Image
https://www.google.com/maps/@41.1440135,-8.6183255,3a,60y,80.5h,90t/data=!3m6!1e1!3m4!1skhVCYmn80QNDsdSB7i_Ocw!2e0!7i13312!8i6656 I have to say that I don't like Google+ . What I like is the dynamism and knowledge expressed by the members of this group . Sound very sentimental, but I really am a member of other groups in Google Plus of other themes, like Makers, Arduino, Electronics, OpenSCAD, SketchUp, Woodworking and others and no one of these groups has the tenth part of the level of participation of our group . I think the next: I'm going to be very attentive to what happens the next months with this group. And I'm going to follow your steps . If +Lars Fosdal or any other leader of this group, is willing to show us the way, I'm going to follow you to the other place where continue with the conversation . If +Lars Fosdal or any other leader of this group, want or need to count with my help in the transition of our group to any other platform, please count with me . Y...

request for unicode litteral strings like "this" and Ansi strings like 'that'

request for unicode litteral strings like "this" and Ansi strings like 'that' https://quality.embarcadero.com/browse/RSP-21337 https://quality.embarcadero.com/browse/RSP-21337

Having an Embarcadero sanctioned grammar, or Embarcadero ensuring https://github.

Having an Embarcadero sanctioned grammar, or Embarcadero ensuring https://github.com/RomanYankovsky/DelphiAST gets complete would be so much welcomed. Originally shared by Jeroen Wiert Pluimers "The arguments that won the day for us here were about strengthening the ecosystem and becoming the best tooled language on the planet. They were about long-term growth of C# and .NET, versus short term monetization and protection of assets for Microsoft. So even without having mentioned open source, signing up for the cost and risk of the Roslyn project was a big and bold step for Microsoft." https://medium.com/microsoft-open-source-stories/how-microsoft-rewrote-its-c-compiler-in-c-and-made-it-open-source-4ebed5646f98

Having an Embarcadero sanctioned grammar, or Embarcadero ensuring https://github.com/RomanYankovsky/DelphiAST gets complete would be so much welcomed.

Having an Embarcadero sanctioned grammar, or Embarcadero ensuring https://github.com/RomanYankovsky/DelphiAST gets complete would be so much welcomed. Originally shared by Jeroen Wiert Pluimers "The arguments that won the day for us here were about strengthening the ecosystem and becoming the best tooled language on the planet. They were about long-term growth of C# and .NET, versus short term monetization and protection of assets for Microsoft. So even without having mentioned open source, signing up for the cost and risk of the Roslyn project was a big and bold step for Microsoft." https://medium.com/microsoft-open-source-stories/how-microsoft-rewrote-its-c-compiler-in-c-and-made-it-open-source-4ebed5646f98

I think all of us know the how works COALESCE SQL function.

I think all of us know the how works COALESCE SQL function. True? In a simple version, evaluates two arguments and if the first is NULL, returns the second. I need this behaviour in Delphi. Anyone know a standard function like this. -------------------------- The problem becomes because I have a function that receives two parameters of type char and I need to send to it as the argument the first character of a TField and this TField can be null. ReorganizeCoordinatesControls( FEditComponent.LAYOUT.AsString[1], FEditComponent.ORIENTATION.AsString[1]); when is null, taking the first character causes an AVE. Apart, a variable of type char, can't receive an empty string . ----------------------------- Of course, I know how to create the function. The curiosity is about if a standard function like this exists in the Delphi libraries. Of course, I've searched on google, in forums, in stackoverflow and so on. Anyone knows? https://docs.microsoft.com/es-es/sql/t-sql/l...

I think all of us know the how works COALESCE SQL function. True? In a simple version, evaluates two arguments and if the first is NULL, returns the second.

I think all of us know the how works COALESCE SQL function. True? In a simple version, evaluates two arguments and if the first is NULL, returns the second. I need this behaviour in Delphi. Anyone know a standard function like this. -------------------------- The problem becomes because I have a function that receives two parameters of type char and I need to send to it as the argument the first character of a TField and this TField can be null. ReorganizeCoordinatesControls( FEditComponent.LAYOUT.AsString[1], FEditComponent.ORIENTATION.AsString[1]); when is null, taking the first character causes an AVE. Apart, a variable of type char, can't receive an empty string . ----------------------------- Of course, I know how to create the function. The curiosity is about if a standard function like this exists in the Delphi libraries. Of course, I've searched on google, in forums, in stackoverflow and so on. Anyone knows? https://docs.microsoft.com/es-es/sql/t-sql/l...

https://plus.google.com/+YaroslavBrovin/posts/JnveEy527YN

https://plus.google.com/+YaroslavBrovin/posts/JnveEy527YN This is a project that I am SURE will replace FMX because (if it works well as I expect) we will have native android and iOS apps. Yaroslav Brovin when will you release this? Any other updates?? I see on the telegram group that you put screenshot of 100% native android apps created with Delphi but they are 3 months old. Updates?

What do you think about this idea ?

What do you think about this idea ? Replace Control.ParentFont : Boolean by Control.ParentFont.Name : Boolean Control.ParentFont.Size : Boolean Control.ParentFont.Color: Boolean with a RecordProperty instead of a new TParentFont = class(TPersistent) of course ! https://github.com/tothpaul/DelphiTips/tree/master/RecordProperty https://github.com/tothpaul/DelphiTips/tree/master/RecordProperty

I am studying the so called "C# bible" (the book is C#7 in a nutshell) and I see that A LOT of things that there are...

I am studying the so called "C# bible" (the book is C#7 in a nutshell) and I see that A LOT of things that there are in delphi are also in C#. Like the File class has identical methods, same for the stream classes names (and the hierarchy), datetime libraries, stopwatch and so on. Well I find C# super powerful, so would it make sense if Delphi had: - something like "auto" in C++ and "var" in C# (now java has "var" too). I find it very useful! It deduces automatically the type like "auto i = 5" or "var i = 5" gives the same result as "int i = 5" - the += operator and the -= operator - the possibility to have something like this: https://pastebin.com/WRi0hd3Q I do not want to make Delphi a C# with a different syntax but I just think that these would be nice features! Delphi has copied a lot from C# so it could copy these nice features as well! I do not know technical details but could these be implemented? https://p...

I am studying the so called "C# bible" (the book is C#7 in a nutshell) and I see that A LOT of things that there are in delphi are also in C#. Like the File class has identical methods, same for the stream classes names (and the hierarchy), datetime libraries, stopwatch and so on. Well I find C# super powerful, so would it make sense if Delphi had:

I am studying the so called "C# bible" (the book is C#7 in a nutshell) and I see that A LOT of things that there are in delphi are also in C#. Like the File class has identical methods, same for the stream classes names (and the hierarchy), datetime libraries, stopwatch and so on. Well I find C# super powerful, so would it make sense if Delphi had: - something like "auto" in C++ and "var" in C# (now java has "var" too). I find it very useful! It deduces automatically the type like "auto i = 5" or "var i = 5" gives the same result as "int i = 5" - the += operator and the -= operator - the possibility to have something like this: https://pastebin.com/WRi0hd3Q I do not want to make Delphi a C# with a different syntax but I just think that these would be nice features! Delphi has copied a lot from C# so it could copy these nice features as well! I do not know technical details but could these be implemented? https://p...

Generic records (from my record wishlist).

Generic records (from my record wishlist). I wish the following could be possible: type TRecA = record; abstract; // defines contract procedure MethodA; // no implementation provided; end; TRecB = record implements TRecA; FieldB: Integer; procedure MethodA; // contract is implemented here; end; TRecC = record FieldC: Integer; FRecA: TRecA; procedure MethodC; // calls FRecA.MethodA end; TRecD = TRecC ;

Will Delphi support record inheritance? If yes, it should lead to pointer inheritance:

Will Delphi support record inheritance? If yes, it should lead to pointer inheritance: type PRecA = ^TRecA; TRecA = record .. end; PRecB = ^TRecB; TRecB = record(TRecA) .. end; and now PRecB is derived from PRecA and for example a variable of type PRecB can be used as a function's parameter of type PRecA: var PB: PRecB; procedure Foo(P: PRecA); begin .. end; Foo(PB);

some nice features to add

some nice features to add 1) display the expected classname in unassigned component properties ie: Action -> (TBasicAction) 2) display the expected method name in unassigned events ie: OnClick -> (TNotifyEvent) 2) supports for "web" colors #f00, #00ff00, rgb(255, 0, 0) for TColor properties input 3) optionaly, shift+click on the color to cycle through the color display mode (like under Chrome) : clBlue / $ff0000 / #0000ff / rgb(255, 0, 0) 4) inline evaluation of simple exemple: Left = 10 + 25 or complex expression: Panel1.Width - ListBox1.Width + 5 (not a persistent formula, just an input evaluation) https://quality.embarcadero.com/browse/RSP-21090 https://quality.embarcadero.com/browse/RSP-21090

What do you think of this proposal ?

What do you think of this proposal ? instead of writing this https://github.com/tothpaul/Delphi/blob/master/CubeMan3D/Execute.CrossGL.pas#L365 we could write this type OpenGL = library procedure glClear(mask: GLbitfield); procedure glClearColor(red, green, blue, alpha: GLclampf); procedure glDrawArrays(mode: GLenum; first: GLint; count: GLsizei); procedure glEnable(cap: GLenum); procedure glEnableClientState(array_: GLenum); procedure glFlush; procedure glHint(target, mode: GLenum); procedure glLightfv(light, pname: GLenum; params: PGLfloat); procedure glLoadIdentity; procedure glNormalPointer(type_: GLenum; stride: GLsizei; pointer: Pointer); procedure glMatrixMode (mode: GLenum); procedure glMultMatrixf (m: PGLfloat); procedure glPopMatrix; procedure glPushMatrix; procedure glRotatef(angle, x, y, z: GLfloat); procedure glShadeModel(mode: GLenum); procedure glTranslatef(x, y, z: GLfloat); procedure glVertexPoint...

"Better contractual policy of FireDAC component suite on Delphi Community Edition"

"Better contractual policy of FireDAC component suite on Delphi Community Edition" Hello everybody! Please support this request by voting up on it at: https://quality.embarcadero.com/browse/RSP-20959 Thank you! https://quality.embarcadero.com/browse/RSP-20959?jql=project+%3D+RSP

Any information about Embarcadero giving an official solution about Android 8 targeting API 26?

Any information about Embarcadero giving an official solution about Android 8 targeting API 26? New applications should follow the guidelines up to 1st August and updates until 1st November: https://developer.android.com/distribute/best-practices/develop/target-sdk Is there a roadmap about this? https://developer.android.com/distribute/best-practices/develop/target-sdk

Any information about Embarcadero giving an official solution about Android 8 targeting API 26? New applications should follow the guidelines up to 1st August and updates until 1st November: https://developer.android.com/distribute/best-practices/develop/target-sdk

Any information about Embarcadero giving an official solution about Android 8 targeting API 26? New applications should follow the guidelines up to 1st August and updates until 1st November: https://developer.android.com/distribute/best-practices/develop/target-sdk Is there a roadmap about this? https://developer.android.com/distribute/best-practices/develop/target-sdk

Although I welcome the Community editions, I still think that by not including Linux support in the community and...

Image
Although I welcome the Community editions, I still think that by not including Linux support in the community and pro editions, EMBT is making a major mistake. Imagine the activity we could have had when it comes to adding Linux libs and tooling from an enthusiastic community! /sigh