Recent

Author Topic: "class" without inheritance (Solved)  (Read 1653 times)

Arioch

  • Sr. Member
  • ****
  • Posts: 414
Re: "class" without inheritance (Solved)
« Reply #30 on: September 16, 2022, 09:40:08 pm »
form designers? including ones built into end-user applications...

BrunoK

  • Sr. Member
  • ****
  • Posts: 364
  • Retired programmer
Re: "class" without inheritance (Solved)
« Reply #31 on: September 16, 2022, 11:15:41 pm »

What would that be used for in practice?

MarkMLl

Allow cross implantation of thé various widget sets from the base tlclcomponent, it is open software,so it is in plain view.

PascalDragon

  • Hero Member
  • *****
  • Posts: 4761
  • Compiler Developer
Re: "class" without inheritance
« Reply #32 on: September 17, 2022, 06:16:39 pm »
one must not be able to mix packages from 3.3.1 commit XYZ with ones from 3.3.1 commit ABC), but the general way how packages work stays.

technically it is not necessarily always so

unless SemVer is enforced, what is absolutely needed is type compaticility (or actually ABI compatibility for all what ABI includes).

as long as ABI is binary the same - it is responsibility for programmer to fo it or nor (think of commercial software updates, updating one DLL/BPL while retaining others)

The point is we don't want to care about compatibility in the development versions. That's an unnecessary maintainence burden.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 10399
  • FPC developer.
Re: "class" without inheritance
« Reply #33 on: September 17, 2022, 08:02:00 pm »
My plan is to make the loading more robust (which is especially necessary as one must not be able to mix packages from 3.3.1 commit XYZ with ones from 3.3.1 commit ABC), but the general way how packages work stays.

Any more detail? What are the tradeoffs of that move? (slower loading time, or also slower dispatch/call?)

PascalDragon

  • Hero Member
  • *****
  • Posts: 4761
  • Compiler Developer
Re: "class" without inheritance
« Reply #34 on: September 18, 2022, 04:10:31 pm »
Any more detail? What are the tradeoffs of that move? (slower loading time, or also slower dispatch/call?)

Only loading time which in itself is a very expensive operation anyway so a few more checks for compatibility and sanity shouldn't add that much.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 10399
  • FPC developer.
Re: "class" without inheritance
« Reply #35 on: September 18, 2022, 07:10:48 pm »
Any more detail? What are the tradeoffs of that move? (slower loading time, or also slower dispatch/call?)

Only loading time which in itself is a very expensive operation anyway so a few more checks for compatibility and sanity shouldn't add that much.

I think so too, unless it is magnitudes (like KDE where loading got too slow in the end and had to resort to prelink daemons).

My concern was mostly dispatch speeds, because of course the RTL will also be in the a FPL/LPL/BPL.

 

TinyPortal © 2005-2018