Recent

Author Topic: FPC vs C#  (Read 45568 times)

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1269
Re: FPC vs C#
« Reply #45 on: July 07, 2014, 11:11:15 am »
I personally didn't ever use any RTF component in Lazarus but I remember some recent and older threads and there were 2 - 3 third party RTF components around. I have no idea how good they are (how good they work on GTK2 and Qt, how they licensed). No one of them was suitable for you?
RTF support is something I keep an eye out for. Though not critical for me, this would be useful.  All the components I've found use the native Win API for handling RTF under windows.  Under other OS's, they contain very limited support.  I ended up working around the lack in my application by contributing to the fpvectorial text support library (small plug: http://wiki.lazarus.freepascal.org/fpvectorial_-_Text_Document_Support), so my app now supports docx and odt exports... 

Of the RichText controls I've tried, RichMemo (http://wiki.lazarus.freepascal.org/RichMemo) seems the best.  Regardless of what it says on the wiki, the rtf reading and writing hasn't been implemented - though the stubs are in place.  Somewhere near the bottom of my todo is finishing that....
Lazarus Trunk/FPC latest fixes on Windows 11
  I'm getting old and stale.  Slowly getting used to git, I'll get there...

Fiji

  • Guest
Re: FPC vs C#
« Reply #46 on: July 07, 2014, 11:18:24 am »
Anonymous methods, unicode still missing from FPC..

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC vs C#
« Reply #47 on: July 07, 2014, 11:20:31 am »
unicode still missing from FPC..
You're right. That's currently being added to FPC trunk:
http://wiki.lazarus.freepascal.org/FPC_Unicode_support
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fiji

  • Guest
Re: FPC vs C#
« Reply #48 on: July 07, 2014, 11:35:35 am »
I wish there was atleast linking of C++ objects so I can mitigate the performance a bit.

Yes C# has great interop with C++ plus .NET Native is coming and they just got SIMD support.
« Last Edit: July 07, 2014, 11:38:55 am by Fiji »

HexNihilo

  • New Member
  • *
  • Posts: 11
Re: FPC vs C#
« Reply #49 on: July 07, 2014, 12:05:33 pm »
Hello,

Quote
Under other OS's, they contain very limited support.
Before abandoning Lazarus,  I have been working on lzRichEdit and been able to use Win32, Win64, Linux64 lzRichEdit. In doing so, I have contacted FastReport® for Lazarus beta (it was not ready) and tested Fortes Report.
It might have worked.

But, the display in Grid is a matter which is pertinent and diificult. I tried to use Bitmap for implementing lzRichEdit's images in Grid's cells : paint was too slow. I have explored other directions...  But one day you need to "produce"... your projects  :D

At that time, I tried Lazarus with Qt 4... a complete and utter failure (for me). Today, that can be better managed ? Qt Designing Delegates can be used ?

Regards.




« Last Edit: July 07, 2014, 12:07:37 pm by HexNihilo »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC vs C#
« Reply #50 on: July 07, 2014, 12:16:17 pm »
Hello,

Quote
Under other OS's, they contain very limited support.
Before abandoning Lazarus,  I have been working on lzRichEdit and been able to use Win32, Win64, Linux64 lzRichEdit. In doing so, I have contacted FastReport® for Lazarus beta (it was not ready) and tested Fortes Report.
It might have worked.

But, the display in Grid is a matter which is pertinent and diificult. I tried to use Bitmap for implementing lzRichEdit's images in Grid's cells : paint was too slow. I have explored other directions...  But one day you need to "produce"... your projects  :D
You're right... thanks a lot for helping!
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

HexNihilo

  • New Member
  • *
  • Posts: 11
Re: FPC vs C#
« Reply #51 on: July 07, 2014, 02:37:37 pm »
@BigChamp : Sorry, too late : I actually design and develop components  (custom widget plugins) for Qt

But if it would be useful for your community, here are a few highlights from a conversation (Sept. 2013) :
Quote
FasReport :Unfortunately, at the moment this is not possible.
To compile under Lazarus need full source code, because of what is currently not possible to make a demo version.
At the moment we are dealing with the Lazarus development team, and in the future may create the demo Fast Report for Lazarus
My Answer : "To compile under Lazarus need full source code" : no, it's possible to distribute component without source code with lazarus :http://www.developpez.net/forums/d1034671/autres-langages/pascal/lazarus/comment-proteger-code-composant/
->  Perhaps a member can do something about that (unless that problem is solved)...  an alternative for no significant changes in LazReport.

My contributions are modest and downloadable (for some of them) on a french forum (a bug free .lpk to install Indy 10), lzRichEdit installable on both Windows and Linux operating systems (32 and 64), "enrichment" of StringGrid (integred sort, multiselect, cell-memo display...)...

But as I said, I stopped working with Lazarus.  I just wanted to make it clear that RTF or HTML is available for use
(i.e. class-compliant) with Qt or Java on Windows, Linux and osX while in Lazaus  you "keep an eye out for"...  :)
That is the difference of the "Lazarus planet".

Regards.

 

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC vs C#
« Reply #52 on: July 07, 2014, 02:50:10 pm »
But as I said, I stopped working with Lazarus.  I just wanted to make it clear that RTF or HTML is available for use
(i.e. class-compliant) with Qt or Java on Windows, Linux and osX while in Lazaus  you "keep an eye out for"...  :)
That is the difference of the "Lazarus planet".
Mmm yes, unless you contribute yourself of course... we wouldn't be where we are now without massive support from volunteers (as Laz is not backed by a company) that was what I was trying to get across. But I think we might actually more or less agree ;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12719
  • FPC developer.
Re: FPC vs C#
« Reply #53 on: July 07, 2014, 03:18:13 pm »
I wish there was atleast linking of C++ objects so I can mitigate the performance a bit.

Yes C# has great interop with C++ plus .NET Native is coming and they just got SIMD support.


Btw, if you have a certain C#, say VS2012, can you interop with C++ of all VS versions, or only the same one?

HexNihilo

  • New Member
  • *
  • Posts: 11
Re: FPC vs C#
« Reply #54 on: July 07, 2014, 05:37:26 pm »
@BigChimp

As I said, I stopped working with Lazarus unless forced to do so.

And effectively... you wouldn't know it : the problem is a real one. It was nothing major, but it seems like "lonely". I have never seen on the Lazarus IDE website a structured collaborative platform to develop, for example, a RTF StringGrid... or to clean, correct and even complete a failed  or, worse still, a discontinued component.

The answer is obvious : that does not exist ! This Website is a good platform of exchange and dialogue (useful for troubleshooting) but in actual practice, is a component born collaboratively, here ? 

It is easy to say that no one will go ! What is the exact meaning of  "thanks a lot for helping!". Where are tools, documentation*, structure of durable collaborative development ? What do you propose ? What are the real needs ?  What resources are available ? In parallel to the developments of my Widgets in C++, I can make myself available, approachable, in listening, during school holidays (2 months)... A  last try. Why not?

Regards.

* I've never seen any documentation (the research work) of a component... just a few comments in the code. In fact, if there is anyone who addressed the challenge, it tells little or nothing about his approach... except the (hypothetical) result.
« Last Edit: July 07, 2014, 06:16:02 pm by HexNihilo »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC vs C#
« Reply #55 on: July 07, 2014, 05:47:43 pm »
Sorry, I'm having a lot of trouble understanding exactly what you're trying to say.

What is the exact meaning of  "thanks a lot for helping!".
I was under the impression that you were trying to improve Lazarus RTF support. That's why I said thanks for helping.

Where are tools, documentation, structure of durable collaborative development. What do you propose ?  I am available, approachable, in listening, during school holidays (2 months)... 
I'm sorry but there have been a lot more posts like yours. Always there's a lack of documentation etc etc etc that limit contribution. Who knows, it may be a language/cultural issue, and I have misjudged this for a complaint while you didn't intend it this way

If you want to contribute, please just do. The lazarus mailing list is an excellent place to discuss things.
How to create a patch:
http://wiki.lazarus.freepascal.org/Creating_A_Patch
using subversion or... git is also okay; if necessary Juha will help with git patches

Edit: patches for Lazarus-provided controls can go to the bugtracker as indicated in the patch article. Likewise patches for Lazarus CCR components.
More info on ownership for CCR components: http://wiki.lazarus.freepascal.org/Using_the_Lazarus-ccr_SVN_repository#Directory_owners

Third party components obviously are not covered by this process...

Thanks
« Last Edit: July 07, 2014, 05:53:11 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

DelphiFreak

  • Sr. Member
  • ****
  • Posts: 259
    • Fresh sound.
Re: FPC vs C#
« Reply #56 on: July 07, 2014, 06:56:51 pm »
Hi HexNihilo,

I have also diffculties to understand your messages.
Anyway, you can search the web for other threads like "FPC vs XZY" and you will find such discussions over the past 15 years.

Now it's 2014 a we are still here and have fun.

https://www.ohloh.net/p/compare?project_0=Eclipse&project_1=Lazarus&project_2=SharpDevelop

Let me say thank's to the incredible FPC/Lazarus-Team

Sam
« Last Edit: July 07, 2014, 06:59:13 pm by DelphiFreak »
Linux Mint 22, Lazarus 4.0, Windows 11, Delphi 12 Athens, Delphi 13 Florence

kapibara

  • Hero Member
  • *****
  • Posts: 656
Re: FPC vs C#
« Reply #57 on: July 07, 2014, 07:24:32 pm »
I started this topic because I will hold a Lazarus course for beginners later this year (in my local area) Thanks for all insights and ideas, even negative comments carry information!


Threads like this can often end up in crash and burn, but the forum showed its class.
I'm satisfied with the answers and the thread is now safely locked. 8)

Be my guest start your own topic if you want to discuss further.


Lazarus trunk / fpc 3.2.2 / Kubuntu 24.04 - 64 bit

 

TinyPortal © 2005-2018