[fpc-pascal] Default record fields

Karoly Balogh (Charlie/SGR) charlie at scenergy.dfmk.hu
Fri Jun 22 16:12:45 CEST 2018


Hi,

On Fri, 22 Jun 2018, Joost van der Sluis wrote:

> >> I want to do a pivot away from the macro stuff to ask another question.
> >> Since I’ve wanted to contribute to the compiler for so long and I
> >> finally have a little understanding I’d like to know if there’s anything
> >> minor I could do, that isn’t offensive to the compiler team.
> >
> > <rant>It's not about the compiler team. It's about the integrity of a
> > programming language, which doesn't matter these days a lot, when all
> > languages turned into a feature race to provide the same broken concepts,
> > but with slightly different syntax. Nevermind. I sometimes do not even
> > understand how people did stuff for 50 years without
> > TObjectClassAdvancedTemplateGenericRecordRTTI...</rant>
>
> I read Ryan's mail as an attempt to get involved in some
> compiler-development. And he's wondering what a nice task could be.
>
> Can't we think of something? Maybe he can help with the last parts of
> the modules-support from Sven.

Well, true. Sorry if I sounded too rude. But both threads he started
sounded a bit like "this is broken in the language, so lets fix it", where
I beg to differ.

There are plenty of things to implement indeed. I think we are mostly
lacking on high-level optimizations, but that's a very tedious job, and
hardly helps the use case Ryan was working on, which seemed to be clearly
his driving force in this.

About the really high level generics, RTTI, & whatever topics I'm probably
not the right person to consult indeed. :)

Charlie


More information about the fpc-pascal mailing list