Recent

Author Topic: FPC 3.2.0 Released !  (Read 36220 times)

Mr.Madguy

  • Hero Member
  • *****
  • Posts: 844
Re: FPC 3.2.0 Released !
« Reply #30 on: June 21, 2020, 09:49:43 pm »
Large modules or auto generated crazy sized procedures?
Generics.

Yeah, I already use separate DLL for them. Not only due to this problem, but because I like well-structured projects, where one module can be updated without updating whole project. And I can always split it into 2, 3, etc. if situation will become critical. But it's 2020. And it's just not good, that 4Mb binary size is still so critical for compiler.
« Last Edit: June 21, 2020, 10:02:56 pm by Mr.Madguy »
Is it healthy for project not to have regular stable releases?
Just for fun: Code::Blocks, GCC 13 and DOS - is it possible?

chenyuchih

  • Jr. Member
  • **
  • Posts: 81
Re: FPC 3.2.0 Released !
« Reply #31 on: June 22, 2020, 01:28:41 am »
Great! What a exciting news! That's exact what I'm waiting for.

And thank you all the development team members for creating such a good compiler.

Nice Job!

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2583
Re: FPC 3.2.0 Released !
« Reply #32 on: June 22, 2020, 09:19:09 am »
Will the next version of Lazarus be shipped with FPC 3.2.0?  If yes, when? Thanks!

Usually lazarus switches FPC version only with major Lazarus (.x.y.0) releases.  So it probably depends if the current series still has life in it or not.

Plans are to release Lazarus 2.0.10 with FPC 3.2.0 within a few weeks
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • Compiler Developer
Re: FPC 3.2.0 Released !
« Reply #33 on: June 22, 2020, 09:50:48 am »
My question stays the same for many years. Is it Delphi 2009 compatible? Or not? I really want to fully migrate to Lazarus, cuz I've got sick of that "out of memory" problems with large modules.

It depends on what you define as "compatible". There were improvements here, but not everything Delphi 2009 introduced is available (e.g. extended RTTI, anonymous functions).

simone

  • Hero Member
  • *****
  • Posts: 573
Re: FPC 3.2.0 Released !
« Reply #34 on: June 22, 2020, 11:07:07 am »
It seems to me that the new language features (for example those relating to dynamic arrays and generics) are not yet described in the language reference guide, although this is indicated as version 3.2.0.
Microsoft Windows 10 64 bit - Lazarus 3.0 FPC 3.2.2 x86_64-win64-win32/win64

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • Compiler Developer
Re: FPC 3.2.0 Released !
« Reply #35 on: June 22, 2020, 12:10:47 pm »
It seems to me that the new language features (for example those relating to dynamic arrays and generics) are not yet described in the language reference guide, although this is indicated as version 3.2.0.

That indeed appears to be the case. Please report bugs for these.

Mr.Madguy

  • Hero Member
  • *****
  • Posts: 844
Re: FPC 3.2.0 Released !
« Reply #36 on: June 22, 2020, 12:18:20 pm »
It depends on what you define as "compatible". There were improvements here, but not everything Delphi 2009 introduced is available (e.g. extended RTTI, anonymous functions).
Closures are required for my project. I can't get rid of them. They're used as unit test callbacks with ability to pass arbitrary data to them via capturing. I mean Delphi 2009 compatible - any Delphi 2009 project can be compiled via FPC. May be with some minor tweaks.
Is it healthy for project not to have regular stable releases?
Just for fun: Code::Blocks, GCC 13 and DOS - is it possible?

JernejL

  • Jr. Member
  • **
  • Posts: 92
Re: FPC 3.2.0 Released !
« Reply #37 on: June 22, 2020, 02:22:35 pm »
It depends on what you define as "compatible". There were improvements here, but not everything Delphi 2009 introduced is available (e.g. extended RTTI, anonymous functions).
Closures are required for my project. I can't get rid of them. They're used as unit test callbacks with ability to pass arbitrary data to them via capturing. I mean Delphi 2009 compatible - any Delphi 2009 project can be compiled via FPC. May be with some minor tweaks.

 
They are working in that in bugtracker and mailing list: https://bugs.freepascal.org/view.php?id=24481
 

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • Compiler Developer
Re: FPC 3.2.0 Released !
« Reply #38 on: June 22, 2020, 02:34:54 pm »
It depends on what you define as "compatible". There were improvements here, but not everything Delphi 2009 introduced is available (e.g. extended RTTI, anonymous functions).
Closures are required for my project. I can't get rid of them. They're used as unit test callbacks with ability to pass arbitrary data to them via capturing. I mean Delphi 2009 compatible - any Delphi 2009 project can be compiled via FPC. May be with some minor tweaks.

Well, that will have to wait at least till 3.4 then.

TRon

  • Hero Member
  • *****
  • Posts: 2509
Re: FPC 3.2.0 Released !
« Reply #39 on: June 22, 2020, 02:49:55 pm »
It seems to me that the new language features (for example those relating to dynamic arrays and generics) are not yet described in the language reference guide, although this is indicated as version 3.2.0.

That indeed appears to be the case. Please report bugs for these.
Uhm, does that also apply for the definition pictures used in the reference guide ? e,g, they currently do not take generics definition(s) into account.

peardox

  • Jr. Member
  • **
  • Posts: 70
Re: FPC 3.2.0 Released !
« Reply #40 on: June 22, 2020, 02:53:55 pm »
It don't work on Mac with Lazarus...

process_1

  • Guest
Re: FPC 3.2.0 Released !
« Reply #41 on: June 22, 2020, 03:10:00 pm »
I have extracted FPC 3.2.0 from .TAR archive and installed on ubuntu, no problems

However, I do not see SRC for 3.2.0 in .TAR, only  .RPM. This can be extracted anyway and used in Ubuntu, or better to download from SourceForge with SVN or GIT?

TRon

  • Hero Member
  • *****
  • Posts: 2509
Re: FPC 3.2.0 Released !
« Reply #42 on: June 22, 2020, 03:51:47 pm »
However, I do not see SRC for 3.2.0 in .TAR, only  .RPM. This can be extracted anyway and used in Ubuntu, or better to download from SourceForge with SVN or GIT?
https://sourceforge.net/projects/freepascal/files/Source/3.2.0/

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • Compiler Developer
Re: FPC 3.2.0 Released !
« Reply #43 on: June 22, 2020, 03:54:37 pm »
It seems to me that the new language features (for example those relating to dynamic arrays and generics) are not yet described in the language reference guide, although this is indicated as version 3.2.0.

That indeed appears to be the case. Please report bugs for these.
Uhm, does that also apply for the definition pictures used in the reference guide ? e,g, they currently do not take generics definition(s) into account.

They are documented in a completely separate topic currently. Though the graph is rather broken there right now...

TRon

  • Hero Member
  • *****
  • Posts: 2509
Re: FPC 3.2.0 Released !
« Reply #44 on: June 22, 2020, 04:03:10 pm »
@PascalDragon
Thanks. I couldn't come up with the correct name in my previous post, syntax diagram it is.

Although rather broken, i do get the picture there  :)


edit: thank you team, for the new release and congratulations on another milestone reached!
« Last Edit: June 22, 2020, 04:05:45 pm by TRon »

 

TinyPortal © 2005-2018