[Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Ciprian Mustiata
Hi Lazarus devel team and users,

Back in december 2007 I've announced (Ciprian Mustiata) a Lazarus fork named 
Lightsarus. Because the effort to make it a new Lazarus or to sustain a big 
Lazarus legacy was big I was reconsidered the idea. So I've consider to see the 
Lazarus/FreePascal issues and I will try with that project to attack that 
issues. Most of issues were discussed wit Mathias and with Florian in my attemp 
to give a new fresh look to Lazarus.

FreePascal issues:
- FreePascal is a very powerful compiler, yet some features of it like RTTI 
support cannot pass the FPC RTL bound. Another issue is to create components, 
for the same reason in another languages.
.NET languages write all code in a language independent mannger as much as they 
write a descrption of the code. RTTI and Reflection (the biggest importante of 
RTTI) is a part of .NET/Mono. So someone may create one Button class in C#, and 
may be reused in VB and to be checked with IS and AS operator with no issue, 
because the C# compiled code is enough high level to have that informations to 
it
- FreePascal is hard to get componetized, for the previous issue. This means 
that is for now impossible (from my knowledge) to create a component in a DLL 
and to import in Lazarus. That has multiple reasons, one of it is that 
FreePascal internal unit structure may change from revision to revision. The 
format that .NET uses can be used as a component from any other language and is 
standardized (in ECMA). So if you have some C# code (like SharpZLib that offers 
code for archiving/extracting from different archives), you may use it freely 
from any other .NET languages
- FreePascal applications are huge! Even with smartlink, strip, the Lazarus IDE 
have 8 MB, without stripping and with default settings, Lazarus executable have 
80 M. For instance the Pasic IDE (yet not so big), after it embeds 100k, and 
the entire binary have 200k. A hello world application in .NET/mono is around 
3-4k.
- improvements over FreePascal in performance, can be achieved in the new 
applications after recompiling. Improvements over mono runtime are for free 
over all code. 

Lazarus IDE issues:
- LCL: LCL wants to be (and is) a multiplatform way to mimic Delphi VCL over a 
lot of runtimes. Win32, Cocoa, Qt, Gtk1, Gtk2, etc. All of them seem credible, 
yet they have issues and different behavior. You may take in account making an 
enterprise ready code that you should test twice the LCL code before you submit 
over one platform (for instance Linux and GTK2). Right now most of blockers are 
solved, yet some other like dragdrop did not work
- Lazarus IDE interface mimics Delphi 7. Yes, Delphi 7 is a nice release, I am 
fully agree with it, yet Lazarus stride to achieve to be a smaller cousin of an 
older product. Linux for instance did not try to mimic AIX (even IBM is a great 
contribuitor to it), is less foundamental close to Unix than is OS X Leopard. 
Thinking that Lazarus may be used for education purposes, because Pascal is an 
easy language to learn, Lazarus became a headache. Code completion did not work 
(well), a lot of code and UI looks outdated, you have to make a combination 
between FreePascal/Lazarus wiki, Delphi VCL help and Google to solve your 
problems, which most of persons are not ready (without some experience)

Anyway, Lazarus is de-facto IDE of FreePascal language, is pretty capable, that 
is for sure, FreePascal the same.

Pasic IDE wants to build an Object Pascal on top of Mono (.NET). For that it 
was took for now the best of the breed .NET compiler of Pascal (RemObjects 
Oxygene, known as Chrome) and stride to build a new UI fo development. Today 
the team (made from two persons) achieve the pre-alpha milestone where 
something starts, something imports, someting open, blah blah.

We considered more than once what is the best approach to add value for free 
software development and that approach say:
- we will not recreate a new runtime (LCL) as Mono offers enough
- we will not create a RTL as right now exist a very good one (partially 
correct for some persons)
- the platform is from scratch well documented (even is on MSDN Microsoft site)
- it will work on any Mono platform. For instance may work on iPhone because 
there is a build of Mono on it
- we will not focus on optimizations, componentization, is made by design
- the IDE will use Tango principlies (and they will have one distinct look and 
feel on all platforms)
- it will be user oriented. The UI applies automatically as in Gnome, most 
dialogs have no Apply button. there is a study in Tango project that the title 
bar for new users should be bigger and better to contain a title and a 
subtitle, and is implemented, etc.
- if there is a company that wants extra-testing, etc. it may pay and the money 
will go back to development (most development will focus in compiler side, 
which we want to make a complete Oxygene implementation of it)


So, there is a site: 

Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Florian Klaempfl

Ciprian Mustiata schrieb:

Hi Lazarus devel team and users,
- FreePascal applications are
huge!


Well, PasIDE needs 28 MB here to display an error at startup while 
FPC/Lazarus needs 24 MB to run a full RAD IDE. Not to talk about the 
.Net framework downloads.


So I wonder what's huge :)
inline: Paside.png___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Ciprian Mustiata
Thank you Florian for your bug report.

Right now should launch or at least to display a better error in a Message Box. 
Is fixed and uploaded the fix.

Regards,
Ciprian

 Search for all things and keep only what is good.



- Original Message 
From: Florian Klaempfl [EMAIL PROTECTED]
To: General mailing list lazarus@lazarus.freepascal.org
Sent: Sunday, August 24, 2008 4:08:25 PM
Subject: Re: [Lazarus] Pasic Ide - previously named Lightsarus

Ciprian Mustiata schrieb:
 Hi Lazarus devel team and users,
 - FreePascal applications are
 huge!

Well, PasIDE needs 28 MB here to display an error at startup while 
FPC/Lazarus needs 24 MB to run a full RAD IDE. Not to talk about the 
.Net framework downloads.

So I wonder what's huge :)



  
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Joost van der Sluis
Op zondag 24-08-2008 om 08:10 uur [tijdzone -0700], schreef Ciprian
Mustiata:
 Thank you Florian for your bug report.
 
 Right now should launch or at least to display a better error in a Message 
 Box. Is fixed and uploaded the fix.

Did you also fix the memmory-issue? Which was the most important
complaint? 28MB for just one error-message is a bit of a problem, no?
For a project that is designed to create small programs?

Joost

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Henry Vermaak
2008/8/24 Ciprian Mustiata [EMAIL PROTECTED]:
 The PasicIde team

do you pronounce this the same as pesticide?  just joking.

how do i try this out in linux?

henry
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Florian Klaempfl
Ciprian Mustiata schrieb:

 This memory measurements are biased.

Not more biased than your statements about huge applications.

  If you take that memory is not freed at once
  (excluding if you program using IDisposable) because of GC, in a well
  crafted benchmark, always will make a .NET application to use more
  than a Lazarus one.

So what's your point? Main memory is more expensive than hard disk space.

  So, do it by yourself. Anyway, the scope of the today preview was to
  show how it will be about and you are very welcome to feedback any
  oppinions.

I guess most people agree that this has nothing to do with lazarus: it's 
neither an addon nor compatible, so you might advertise somewhere else.

  are kept in RAM, only for one reason, is faster a Show than to create
  a dialog from scratch.

Of course, else .Net applications would suck even more.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Ciprian Mustiata
Hi Henry, 

Please for Pasic Ide regarding question to not ask in Lazarus Forum

I will answer privately, but as shorthand: run it with $ mono Pasic.exe and 
should run.

Regards,
Ciprian Mustiata

 Search for all things and keep only what is good.



- Original Message 
From: Henry Vermaak [EMAIL PROTECTED]
To: General mailing list lazarus@lazarus.freepascal.org
Sent: Sunday, August 24, 2008 6:26:04 PM
Subject: Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008/8/24 Ciprian Mustiata [EMAIL PROTECTED]:
 The PasicIde team

do you pronounce this the same as pesticide?  just joking.

how do i try this out in linux?

henry
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus



  
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Felipe Monteiro de Carvalho
This thread is absolutely out of topic here. It doesn't even run with the
Free Pascal compiler, but instead uses an incompatible Pascal dialect, and
has nothing to do with Lazarus.

To get publicity for your producs I would suggest:

* buying some internet Ads.
* Posting this in the RemObjects forum or mailling list, supposing they have
one
* Maybe the fpc-other mailling list?

The mailling list is not as easy to be moderated as the forum, so I propose
that noone answer to this thread anymore, effectively closing it.

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Graeme Geldenhuys
On Sun, Aug 24, 2008 at 3:47 PM, Ciprian Mustiata
[EMAIL PROTECTED] wrote:

 - FreePascal applications are huge! Even with smartlink, strip, the Lazarus 
 IDE have 8 MB, without stripping and

That 8Mb executable contains a LOT of components and classes. RTL,
FCL, LCL and IDE.  8Mb suddenly doesn't seem that large to me!
Considering we can buy 1 Terabyte hard drives now, size is not that
much of a issues. Size might be more of an issue for mobile devices,
but then even those devices (I own one) can have SD cards a 1+ Gig
space.


 with default settings, Lazarus executable have 80 M.

That's perfectly fine, considering it's got a lot of debugging
information included.


 A hello world application in .NET/mono is around 3-4k.

Oh sure, but don't forget it requires a 120+Mb runtime environment.
So that makes that hello world application a 123Mb executable.  :-(
Lazarus still beast it by far!!  ;-)


 Lazarus IDE issues:
 - LCL: LCL wants to be (and is) a multiplatform way to mimic Delphi VCL over 
 a lot of runtimes. Win32, Cocoa, Qt, Gtk1, Gtk2, etc. All of them seem 
 credible, yet they have issues and different behavior. You may take in 
 account making an enterprise ready code that you should test twice the LCL 
 code before you submit over one platform (for instance Linux and GTK2).

I have this issue with LCL as well. Make no mistake, the Lazarus team
did a great job so far, but they are battling a moving target.  I
tackled this issue from a different perspective and implemented my own
custom drawn toolkit (fpGUI) which doesn't relay on any large
libraries and don't have to be a Delphi VCL clone.  This works
perfectly for me and our company, but isn't the goal of the Lazarus
LCL.  The choice is yours: Help fix the LCL issues, or switch to a
different GUI toolkit.ps:  I still use the Lazarus IDE though - I
think that is great!!


 - Lazarus IDE interface mimics Delphi 7. Yes, Delphi 7 is a nice release, I 
 am fully agree with it, yet Lazarus stride to achieve to be a smaller cousin 
 of an older product.

A common mistake.  The goal of Lazarus is NOT to clone the Delphi
IDE!!!  It only wants to clone the VCL - that's it!

 outdated, you have to make a combination between FreePascal/Lazarus wiki,
 Delphi VCL help and Google to solve your problems, which most of persons are
 not ready (without some experience)

Documentation patches are always welcome!  Remember, FPC and Lazarus
are open-source projects. Created by developers in their spare time.
It has not corporate sponsors and nobody gets paid for the efforts.


Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pasic Ide - previously named Lightsarus

2008-08-24 Thread Graeme Geldenhuys
On Sun, Aug 24, 2008 at 6:05 PM, Ciprian Mustiata
[EMAIL PROTECTED] wrote:

 But, if you consider that .NET 3.0 (Pasic requires 2.0) is a part of Windows 
 VIsta, Mono is a part of two major distros (Ubuntu as a part of GNOME, and 
 Suse that are teamed with Novell team that makes Mono), you may consider that 
 distributing a .NET application is not such a big issue and there is not a 
 requirement for download.


Do not make assumptions as to what your users are using.  We only
recently discontinued support for Win95 and force some of our users to
upgrade to Win98 or newer.  Most of our customers still use Win98 -
their philosophy is simple: If it ain't broken, why fix it!

For them, there is no incentive it upgrading the OS, which also means
they need to upgrade their hardware. Money they can spend elsewhere.

Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus