Additional runtime functions and classes

Have some feedback and input to share?
Don't be shy and drop us a note. We want to hear from you and strive to make our site better and more user friendly for our guests and members a like.
User avatar
wriedmann
Posts: 3765
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Additional runtime functions and classes

Post by wriedmann »

Hi,

since we now have a X# runtime, I would suggest to add some functions and classes to it that are not specific to VO or Vulcan, but that will be common to all X# installations.

IMHO such a library has several advantages:
  • it helps user to work faster because they can build on added functionality
  • it makes the distribution of some samples easier
  • it goes a step further over the VO runtime
Such code could be divided in 3 areas:
  • general functions
  • WinForms enhancements and classes
  • WPF enhancements and classes
Samples for the first could be functions like CreateDelegateFromPtr(), IsProperty(), FirstIndex(), LastIndex(), Isxxx() functions, classes like BindableBase, ExpandoBase, extended Exception classes and many more.

Base classes and functionality could be particularly important for WinForms and WPF classes, like classes that implement name based binding, enhance controls to add pictures or other functionality we know from VO.

Of course, I'm willing to contribute to this project, but the most important thing is IMHO that it will become a part of the X# distribution so anyone using X# can be sure to have this code.

I know that there is a lot of code already around that everyone can use, but it needs always time and knowledge to search and adapt such code, and to integrate it - instead of simple using it and to be sure about the quality of it.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
lumberjack
Posts: 727
Joined: Fri Sep 25, 2015 3:11 pm
Location: South Africa

Additional runtime functions and classes

Post by lumberjack »

Hi Wolfgang,
wriedmann wrote:I would suggest to add some functions and classes to it that are not specific to VO or Vulcan, but that will be common to all X# installations.
I cannot agree more than 101% with this. Robert and team, I believe have given us 1 of the most powerful tools in the .NET world. It would be a small contribution if each of us can just add one little new into the untapped VOID that exist.
  • it goes a step further over the VO runtime
This makes me think of Star Trek
Space: the final frontier. These are the voyages of the starship Enterprise. Its continuing mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no [one|man] has gone before.
Lets make X# boldly go where no other software has gone before.

Code: Select all

FUNCTION MakeXsTalk(oUniverse AS Universe[]) AS Talk
  REPEAT
    FOREACH Universe IN oUniverse
      MakeXSTalk(<Universe>{Universe})
    NEXT
  UNTIL oUniverse:Talk  == XS:Talk
RETURN XS:Talk
I'm willing to contribute to this project with the above code as VSV (VISION/STRUGGLE/VICTORY).

Just my 2c on the matter.
______________________
Johan Nel
Boshof, South Africa
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Additional runtime functions and classes

Post by ic2 »

Hello Johan,

You mean "Star Trek"....

Dick
User avatar
lumberjack
Posts: 727
Joined: Fri Sep 25, 2015 3:11 pm
Location: South Africa

Additional runtime functions and classes

Post by lumberjack »

Hi Dick,
ic2 wrote:Hello Johan,
You mean "Star Trek"....
Sorry, at least you have taken known to be known where it was previously known to be unknown.
______________________
Johan Nel
Boshof, South Africa
FFF
Posts: 1584
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Additional runtime functions and classes

Post by FFF »

wriedmann wrote:Base classes and functionality could be particularly important for WinForms and WPF classes, like classes that implement name based binding, enhance controls to add pictures or other functionality we know from VO....
I know that there is a lot of code already around that everyone can use, but it needs always time and knowledge to search and adapt such code, and to integrate it - instead of simple using it and to be sure about the quality of it.
+10 !!

Karl
(probably not "providing" but grateful "using")
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
TerryB1
Posts: 306
Joined: Wed Jan 03, 2018 11:58 am

Additional runtime functions and classes

Post by TerryB1 »

Hi Wolfgang and all

Yes - I quite agree. I'd go further and say that it was essential. It is the way forward and the way to attract new users. The capabilities added should feature strongly in any marketing drive.

Terry
User avatar
wriedmann
Posts: 3765
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Additional runtime functions and classes

Post by wriedmann »

Hello all,

so the only thing we need to see it was Robert and his team will say about this.

IMHO the best thing would be to add a new DLL (or better 3 DLLs) to the sources and the Github project, and people willing to contribute can then contribute.
Since the team itself is very busy, the efforts should be divided to the community.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
robert
Posts: 4540
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Additional runtime functions and classes

Post by robert »

Guys,

We can add a new project to our github repo and make one of you guys the moderator.

Then everybody can fork the project and start adding things. When you think you have something useful then send a pull request and the moderator can merge things.

Of course you can also start your own Github project if you want.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
wriedmann
Posts: 3765
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Additional runtime functions and classes

Post by wriedmann »

Hi Robert,
IMHO the best option would be a part of your project with another moderator.
But you should define the rules, the names and the namespace, and the documentation must be part of the X# documentation.
And of course the license must be the same as for your runtime libraries.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
lumberjack
Posts: 727
Joined: Fri Sep 25, 2015 3:11 pm
Location: South Africa

Additional runtime functions and classes

Post by lumberjack »

wriedmann wrote:Hi Robert,
IMHO the best option would be a part of your project with another moderator.
I second Wolfgang to be the moderator
And of course the license must be the same as for your run-time libraries.
I agree, the status quo can remain for the moment.

I have an idea, if we can make FOX really lucrative, how about everybody gaining some financial benefit based on his/her/team's contribution?

[center]
Long-term vision
X# making the Fortune 100...
[/center]

My 2c useless information,
______________________
Johan Nel
Boshof, South Africa
Post Reply