Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Gerard N/A
Hi Graeme,

On Tue, Dec 9, 2008 at 10:56 AM, Graeme Geldenhuys
[EMAIL PROTECTED] wrote:
 On Mon, Dec 8, 2008 at 8:07 PM, Prince Riley [EMAIL PROTECTED] wrote:

 That project is such a mess (my personal opinion).  Just the other day
 I wanted to download the Eclipse IDE, to see what has changed over the
 last few years since I looked at it. Well, after browsing their
 website for 30 minutes, I still couldn't find a clear download
 Eclipse IDE here link!  What's up with that!!!  I simply gave up and
 moved on.

www.eclipse.org
On the upper menu, 5th item, downloads.
Then choose whatever you wnat to download, and choose the mirror, and
the download starts.
lazarus.freepascal.org on the other way seldom works lately and when
it does it's so slow it can't be used.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Marco Ciampa
On Mon, Dec 08, 2008 at 12:07:31PM -0600, Prince Riley wrote:
 Thank you for your reply.
 
 Eclipse was first released as a Java development IDE several years ago, but
 if you take a look at the Eclipse web site www.eclipse.org you'll see that
 since then Eclipse has evolved and been extended to support Ruby, Python,
 C/C++.
I've seen people using Eclipse for developing in Fortran too... 

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Prince Riley
Graeme,

I find that very interesting. The Eclipse group has redesigned the web site
and it now has a much cleaner and easier to navigate 'front door' that leads
most visitors directly to the major Java or Rich Client IDE.

Prince

On Tue, Dec 9, 2008 at 3:56 AM, Graeme Geldenhuys
[EMAIL PROTECTED]wrote:

 On Mon, Dec 8, 2008 at 8:07 PM, Prince Riley [EMAIL PROTECTED]
 wrote:
 
  Eclipse was first released as a Java development IDE several years ago,
 but
  if you take a look at the Eclipse web site www.eclipse.org you'll see
 that
  since then Eclipse has evolved and been extended to support Ruby, Python,
  C/C++.

 That project is such a mess (my personal opinion).  Just the other day
 I wanted to download the Eclipse IDE, to see what has changed over the
 last few years since I looked at it. Well, after browsing their
 website for 30 minutes, I still couldn't find a clear download
 Eclipse IDE here link!  What's up with that!!!  I simply gave up and
 moved on.


 Regards,
  - Graeme -


 ___
 fpGUI - a cross-platform Free Pascal GUI toolkit
 http://opensoft.homeip.net/fpgui/
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Jonas Maebe

Hello,

Please also move this Eclipse discussion to fpc-other (unless it's  
specifically on how to set up Eclipse for use with FPC or so).


Thanks,


Jonas
FPC lists moderator
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Florian Klaempfl
Gerard N/A schrieb:
 www.eclipse.org
 On the upper menu, 5th item, downloads.
 Then choose whatever you wnat to download, and choose the mirror, and
 the download starts.
 lazarus.freepascal.org on the other way seldom works lately and when
 it does it's so slow it can't be used.

Well, this means only lazarus has too much success :)
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Florian Klaempfl
Prince Riley schrieb:
 Graeme
 
 I just took this snapshot of the www.eclipse.org
 http://www.eclipse.org kanding page .. you say you weren't able to
 find a clear download link  lol .. ok well it appears directly in
 the center of the page ...
 
 Let me know what you think after you download Eclipse ..

I can't find a Eclipse for pascal either :
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Graeme Geldenhuys
On Wed, Dec 10, 2008 at 11:46 AM, Prince Riley wmarketi...@gmail.com wrote:

 I just took this snapshot of the www.eclipse.org kanding page .. you say you
 weren't able to find a clear download link  lol .. ok well it appears
 directly in the center of the page ...

hehehe... Yes it seems funny now, but like I said, the last time I
checked the website didn't look like that at all.   Here is how it did
look (Using the Web Archive's WayBack Machine).

Archive in February 2008
  http://web.archive.org/web/20080214194714/http://www.eclipse.org/

This one was not so clear. ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-10 Thread Graeme Geldenhuys
On Mon, Dec 8, 2008 at 8:07 PM, Prince Riley [EMAIL PROTECTED] wrote:

 Eclipse was first released as a Java development IDE several years ago, but
 if you take a look at the Eclipse web site www.eclipse.org you'll see that
 since then Eclipse has evolved and been extended to support Ruby, Python,
 C/C++.

That project is such a mess (my personal opinion).  Just the other day
I wanted to download the Eclipse IDE, to see what has changed over the
last few years since I looked at it. Well, after browsing their
website for 30 minutes, I still couldn't find a clear download
Eclipse IDE here link!  What's up with that!!!  I simply gave up and
moved on.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-09 Thread Prince Riley
Thank you for your reply.

Eclipse was first released as a Java development IDE several years ago, but
if you take a look at the Eclipse web site www.eclipse.org you'll see that
since then Eclipse has evolved and been extended to support Ruby, Python,
C/C++.

The suggestion I was making is there is a very large base of programmers,
developer, and others  who now use Eclipse as their primary IDE in much the
same way UNIX folks use emacs and
if there were a Eclipse FPC plugin they could discover and learn the
language.

Prince

On Mon, Dec 8, 2008 at 3:58 AM, Marco van de Voort [EMAIL PROTECTED] wrote:

 In our previous episode, Prince Riley said:
 
  Like ti weigh in on this thread in the discussion regarding increasing
 the
  GUI-ness of FP.

  Has anyone looked into writing an Eclipse plug-in for FP (as an was done
 for
  Python and Ruby)?

 Afaik there was a more editor like plugin at one time. But at that time
 designer support only existed for C++ and Java. Haven't heard much since.

  Given the huge base of Eclipse users this might be a way to reach the
 goal
  with both a better developer tool and plugging into a big audience of
  potential users.

 Afaik most Eclipse users use Java?
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-08 Thread Prince Riley
Hello

Like ti weigh in on this thread in the discussion regarding increasing the
GUI-ness of FP.
Has anyone looked into writing an Eclipse plug-in for FP (as an was done for
Python and Ruby)?

Given the huge base of Eclipse users this might be a way to reach the goal
with both a better developer tool and plugging into a big audience of
potential users.

Prince

On Sat, Dec 6, 2008 at 10:34 PM, Andrew Haines [EMAIL PROTECTED] wrote:

 Graeme Geldenhuys wrote:

 On Fri, Dec 5, 2008 at 5:55 PM, Felipe Monteiro de Carvalho
 [EMAIL PROTECTED] wrote:


 If you want to do some large work to increase the use of FPC I would
 recommend creating a Window Manager instead, probably with fpgui.



 How far did you guys get with the 'fpwm' project?  Did it actually run
 at some point. I see the last code changes was 2 years ago.



 I just checked out fpwm and updated it and fpgui locally so it can compile.
 It does almost nothing atm but can reparent and close windows :) not alot. I
 was thinking I might write a widget for resizing and moving windows.
 Currently the window title bar is a Label and a Button that has an X for
 it's text and stdimg.quit as the image.  I might work on it some in the
 coming week if I can find the time.

 Regards,

 Andrew

 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-08 Thread Graeme Geldenhuys
On Sun, Dec 7, 2008 at 6:34 AM, Andrew Haines [EMAIL PROTECTED] wrote:

 I just checked out fpwm and updated it and fpgui locally so it can compile.
 It does almost nothing atm but can reparent and close windows :) not alot. I
 was thinking I might write a widget for resizing and moving windows.
 Currently the window title bar is a Label and a Button that has an X for
 it's text and stdimg.quit as the image.  I might work on it some in the
 coming week if I can find the time.

Umm... I have though of trying my hand at the X11 tutorial on creating
a simply window manager, but never got around to it. The last time
(years ago) when I tried to compile 'fpwm', I managed to get it to
compile, but didn't know how to test/run it.

Could you give some hints on the latter, or is there a readme file in
the fpwm project that explains this?  How do I temporarily test a new
window manager? I'm using Ubuntu, and have quite a few window managers
available from GDM (sessions menu), but I have no idea how those
options got there, or how to add my own. :-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-08 Thread Marco van de Voort
In our previous episode, Prince Riley said:
 
 Like ti weigh in on this thread in the discussion regarding increasing the
 GUI-ness of FP.

 Has anyone looked into writing an Eclipse plug-in for FP (as an was done for
 Python and Ruby)?

Afaik there was a more editor like plugin at one time. But at that time
designer support only existed for C++ and Java. Haven't heard much since.
 
 Given the huge base of Eclipse users this might be a way to reach the goal
 with both a better developer tool and plugging into a big audience of
 potential users.

Afaik most Eclipse users use Java? 
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-07 Thread Andrew Haines

Graeme Geldenhuys wrote:

On Fri, Dec 5, 2008 at 5:55 PM, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:
  

If you want to do some large work to increase the use of FPC I would
recommend creating a Window Manager instead, probably with fpgui.



How far did you guys get with the 'fpwm' project?  Did it actually run
at some point. I see the last code changes was 2 years ago.

  
I just checked out fpwm and updated it and fpgui locally so it can 
compile. It does almost nothing atm but can reparent and close windows 
:) not alot. I was thinking I might write a widget for resizing and 
moving windows. Currently the window title bar is a Label and a Button 
that has an X for it's text and stdimg.quit as the image.  I might 
work on it some in the coming week if I can find the time.


Regards,

Andrew
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-06 Thread leledumbo

 How could Linus Torvalds write the core
of Linux in rather short time, single-handed, if it is such a huge task
just to port it? 

Because he didn't really write it from scratch, instead he just improves
what's already there (Unix source code, maybe?) and poing! Linux comes up.
-- 
View this message in context: 
http://www.nabble.com/Re%3A-Porting-linux-to-pascal%2C-would-it-be%2C%09possible---tp20852694p20868042.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-06 Thread Skybuck Flying

Ok, so lots of code...

Two possibilities come to mind:

1. Using automatic conversion from C to Pascal but then the code would still 
have to be checked by humans.


2. Only convert certain portions which are most interesting to people.

For example:

Linux's tcp/ip stack.

Linux gui.

So that for example Linux gui might be improved by pascal programmers ;) :)

Is that possible ? ;)

Bye,
 Skybuck.

- Original Message - 
From: Vincent Snijders [EMAIL PROTECTED]

To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org
Sent: Friday, December 05, 2008 4:09 PM
Subject: Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?



Skybuck Flying schreef:

If everybody does a little bit it could go quite quickly.



Some (arbitrary numbers) from http://www.ohloh.net/p/linux:
Codebase  10,679,927 lines
Effort (est.) 3,396 Person Years

So, if everybody on this list (maybe 300 persons) work on it, then it can 
be done in just over 11 years. Not so quickly, IMHO.


Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-06 Thread Felipe Monteiro de Carvalho
On Sat, Dec 6, 2008 at 5:20 AM, Graeme Geldenhuys
[EMAIL PROTECTED] wrote:
 How far did you guys get with the 'fpwm' project?  Did it actually run
 at some point. I see the last code changes was 2 years ago.

I think it was able to run, but wouldn't do much.

Too many other tasks at hand, and this one isn't making any money, so
it has very low priority...

-- 
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Skybuck Flying

Hello,

An open source pascal operating system could be cool.

Would translating/porting linux to pascal be possible ?

Bye,
 Skybuck.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Gerard N/A
As with many things, it only depends of the time you have.
But as you grow older you get a different idea of life expectancy and
the use of your remaing time.

Regards,

Gerard.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Marc Geldon (SCALA IT)
What is the use anyhow?

2008/12/4 Skybuck Flying [EMAIL PROTECTED]

 Hello,

 An open source pascal operating system could be cool.

 Would translating/porting linux to pascal be possible ?

 Bye,
  Skybuck.
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal



--
SCALA IT | Internet- und Softwareagentur
Büro Mannheim: L7, 7a | 68161 Mannheim
Firmensitz: Gutenbergstr. 18 | 67112 Mutterstadt

Tel: (06234) 600 57-6
Fax: (06234) 600 57-9

e-mail: [EMAIL PROTECTED]
Mobil: (0176) 206 263 04

Inhaber: Marc Geldon
Steuernummer: 41/049/7267/0 (Finanzamt Speyer)
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread leledumbo

 An open source pascal operating system could be cool.

There are already such projects (including mine :-)). Search google code and
sourceforge.

 Would translating/porting linux to pascal be possible ? 

Yes, but who would? And if he/she would, does he/she have the time?
-- 
View this message in context: 
http://www.nabble.com/Porting-linux-to-pascal%2C-would-it-be-possible---tp20850611p20851474.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Ingemar Ragnemalm

Skybuck Flying [EMAIL PROTECTED] wrote:


Hello,
  
An open source pascal operating system could be cool.
  
Would translating/porting linux to pascal be possible ?
  


Absolutely. Most of Unix is plain C, which translates well to Pascal. 
C++ is harder, of course.


Gerard N/A [EMAIL PROTECTED] wrote:


As with many things, it only depends of the time you have. But as you grow 
older you get a different idea of life expectancy and
the use of your remaing time.
  


This is an argument only after considering the time versus the goal. Is 
the goal worth the time?


An operating system based on FPC code would be one way to give FPC more 
(well deserved) attention, one way to make a wider range of people know 
that the language is not dead, but significantly updated and a stronger 
alternative than most people think.


But it is the best way? An OS kernel is not the most visible source code 
that makes a lot of people gather to have a look. Showing off the 
technology can be done in more time-efficient ways.


Another goal is to make a better OS. FPC programs use less memory and 
starts faster. That can be a good thing. Would it be significant? I'm 
not sure.


You are perfectly right in that we must choose our battles and spend our 
time on things that are worth the time. I don't rule out that this could 
be one. Porting Linux doesn't have to imply that every little program 
is ported.



/Ingemar

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Skybuck Flying

If everybody does a little bit it could go quite quickly.

Question is:

Which linux distro ? ;)

Maybe even some BSD version so that closed-source os-es could be done as 
well.


Though I onced tried FreeBSD... I couldn't even figure out the gui or how to 
start an app..


So maybe linux more user friendly...

So first someone needs to find a good/user friendly linux distro which is 
not to large.


Also for kicks maybe a floppy-disk based linux distro could be turned into 
pascal as well.


So could even be multiple linux distro's turned into pascal...

Different flavors for everybody :)

Most important would be to be able to play with the to-be-pascal sources of 
the linux distro so people can try out things with the os... ;)


So focus would be:

1. Linux distro(s)/kernel(s).

2. Linux gui(s).

3. Linux editor for editing pascal files.

4. Free pascal compiler probably already available.

Then anything else can be turned into pascal later on :)

Maybe even drivers and applications and such ;)

Bye,
 Skybuck. 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Vincent Snijders

Skybuck Flying schreef:

If everybody does a little bit it could go quite quickly.



Some (arbitrary numbers) from http://www.ohloh.net/p/linux:
Codebase 10,679,927 lines
Effort (est.)   3,396 Person Years

So, if everybody on this list (maybe 300 persons) work on it, then it 
can be done in just over 11 years. Not so quickly, IMHO.


Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Steve Howe
Hello all,
 Skybuck Flying schreef:
  If everybody does a little bit it could go quite quickly.

 Some (arbitrary numbers) from http://www.ohloh.net/p/linux:
 Codebase   10,679,927 lines
 Effort (est.) 3,396 Person Years

 So, if everybody on this list (maybe 300 persons) work on it, then it
 can be done in just over 11 years. Not so quickly, IMHO.
Although the effort is huge, and the topic is senseless, porting is much 
faster then creating/coding/debugging. The numbers above do not reflect a port 
and are pointless.

-- 
Best Regards,
Steve Howe
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Felipe Monteiro de Carvalho
If you want to do some large work to increase the use of FPC I would
recommend creating a Window Manager instead, probably with fpgui.

The work is imensely smaller, althougth still large, and a window
manager usually comes with lot's of useful gui software, so this would
be an opportunity to distribute all kinds of software made with fpc
and lazarus.

My open source project, for example, the Virtual Magnifying Glass,
suffers in linux because KDE only wishes to distribute C++/Qt software
and Gnome only distributes C and C# software, so it get's hard to be
popular.

And don't expect people from the list to join your initiative. Usually
you have to start the project alone and get something working before
one or two people join in. Don't expect everyone to stop what they are
doing to help you in what you think is important.

-- 
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Gerard N/A
On Fri, Dec 5, 2008 at 1:18 PM, Ingemar Ragnemalm [EMAIL PROTECTED] wrote:

 This is an argument only after considering the time versus the goal. Is the
 goal worth the time?

No, and that was exactly my point. Life is too short to spend it
rewriting Linux in Pascal. g


 Another goal is to make a better OS. FPC programs use less memory and starts
 faster. That can be a good thing. Would it be significant? I'm not sure.


Then maybe it would better to focus on something different from Linux.

 You are perfectly right in that we must choose our battles and spend our
 time on things that are worth the time. I don't rule out that this could be
 one. Porting Linux doesn't have to imply that every little program is
 ported.

Not every little program, but only for the kernel + drivers +
filesystems the task is daunting.

Gerard.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Ingemar Ragnemalm


Leonardo M. Ram? [EMAIL PROTECTED] wrote:


--- On Fri, 12/5/08, Guillermo Martínez Jiménez [EMAIL PROTECTED] wrote:

  

By the way, Linux is good as it is now and Pascal isn't the best
option to create an operating system.



Are you sure? doesn't older MacOS's versions where written in Object Pascal?
  


Yes, and there's nothing wrong with Pascal for an OS. It would be excellent.


I think the problem here (again) is not the language, it's the critical mass of 
users of the language. Using C for Linux was a good bet, not because the 
language is good (Pascal is way better for me), but because C has a wider user 
base who can fix/add features.
  


Using C for Linux was the only way, because there was a free C compiler 
(GCC) and none for Pascal or other comparable languages. Things have 
changed since then, but much of the software industry is on a path 
decided from the situation 20 years ago. The industry took the C route 
since there was no cross-platform Pascal, while Linux made the choice 
from available free software. Now everything must have inherited design 
flaws from C just because of what was available in the 80's. That is, 
unless the tide changes. It can happen.



Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:

My open source project, for example, the Virtual Magnifying Glass,
suffers in linux because KDE only wishes to distribute C++/Qt software
and Gnome only distributes C and C# software, so it get's hard to be
popular.
  


Now, that sounds like one real problem, related to the porting issue, 
which we can address. And not that doesn't need as much work.


So the KDE and Gnome projects are language-locked? (How? Surely users 
don't select software by language? Or are the distros incomplete, 
FPC-wise? Hard to recompile?) Anyway. that sounds bad! And that suggests 
a much shorter path: Adapt a distribution to Pascal Gnome support, 
with full Pascal interfaces and code, or whatever is missing. Port Gnome 
examples, if it isn't already done, and show that Pascal (FPC) is not 
only an option but a *better* solution. Easier than C/C++, faster than 
Java, much faster than Python... I don't know if an FPC-tuned distro 
would make any difference, stronger FPC support in, say, Ubuntu, would 
make a bigger impact. Acceptance of FPC sounds like a good goal to me.


Who isn't distributing? Gnome? That isn't a distribution. I don't quite 
understand what you mean.


The FPC OS doesn't have to be 100% written in FPC, not even 10%. No 
hurry. The C code is ugly but it works as long as you don't take GCC 
out. Port what really counts, making it possible and well supported to 
write *new* programs in FPC.



/Ingemar

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Felipe Monteiro de Carvalho
On Fri, Dec 5, 2008 at 2:40 PM, Ingemar Ragnemalm [EMAIL PROTECTED] wrote:
 So the KDE and Gnome projects are language-locked?

Yes, they are.

 (How? Surely users don't select software by language?

Users don't care, but they usually use what comes with their distro
and window manager, so if KDE comes with a bunch of software they will
use it instead of looking for alternatives.

 Or are the distros incomplete, FPC-wise?

distributions are not the same thing as window manager.

Distributions are much more flexible language-wise, but they tend to
package whatever comes with the window manager.

It would also be possible to build a distribution instead of a window
manager, but I'm usually into writing code, as opposed to setting
things up, so building a distribution doesn't seam a lot of fun to me
=)

-- 
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be possible ?

2008-12-05 Thread Marc Santhoff
Am Freitag, den 05.12.2008, 17:40 +0100 schrieb Ingemar Ragnemalm:
 Now everything must have inherited design 
 flaws from C just because of what was available in the 80's.

This is one strong argument against porting Lunix to Pascal, isn't it?
Porting means sort of translating old design flaws to another language.

  That is, 
 unless the tide changes. It can happen.

It has happened in the past. There has been OS/2 for example, with it's
superior OO design. RIP.

There have been many OSses with new appealing features, BEOS coming to
my mind.

And there have been some people starting to write an OS in pascal, but
I've never heard of something coming out as ... say at least an alpha
version or some sort of prototype.

SCNR,
Marc
-- 
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; \
finger; mount; gasp; yes; uptime; umount; sleep

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Prince Riley
Hello Everyone,

While I can't honestly say I share any enthusiasm for writing a OS in
FreePascal, I do think there is merit in looking for projects of similar
scope and interest that can demonstrate the power of the language and the
tremendous tools that have been developed by this group over the past four
years.

I do think that if someone were to interested in testing their mettle for
writing something like an OS, he or she might first take a crack at writing
a few of the GNU tools in FP. Say for example the BusyBox suite. Once they
had done that, there are a few more code foothills they could climb to build
up enough additional undestanding and programming techniques  others could
then learn and then join them later on more ambitious OS projects.

My current projects are to port the FP compiler to the OpenSolaris platform
and to eventually write an Eclipse plug-in oe a Mozilla based XUL
application (like Komodo) for FP. Ultimately, I am interested in exploring
more of the ARM platform support in FP.

Prince

On Fri, Dec 5, 2008 at 9:58 AM, Gerard N/A [EMAIL PROTECTED]wrote:

 On Fri, Dec 5, 2008 at 1:18 PM, Ingemar Ragnemalm [EMAIL PROTECTED]
 wrote:
 
  This is an argument only after considering the time versus the goal. Is
 the
  goal worth the time?
 
 No, and that was exactly my point. Life is too short to spend it
 rewriting Linux in Pascal. g

 
  Another goal is to make a better OS. FPC programs use less memory and
 starts
  faster. That can be a good thing. Would it be significant? I'm not sure.
 

 Then maybe it would better to focus on something different from Linux.

  You are perfectly right in that we must choose our battles and spend our
  time on things that are worth the time. I don't rule out that this could
 be
  one. Porting Linux doesn't have to imply that every little program is
  ported.
 
 Not every little program, but only for the kernel + drivers +
 filesystems the task is daunting.

 Gerard.
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Graeme Geldenhuys
On Fri, Dec 5, 2008 at 3:19 PM, Skybuck Flying [EMAIL PROTECTED] wrote:
 If everybody does a little bit it could go quite quickly.

 Question is:

 Which linux distro ? ;)

Well, you said porting linux.  Linux to be only references the
Kernel only. That is the real OS part. All the other stuff like X11,
and 1000's of utilities and libraries are 3rd party stuff.  Having a
Linux system without a GUI is just as much a Linux system, as one with
a GUI.

So you first need to decide what you want to port?  The kernel only,
or a whole distro?  The latter is absurd, as it will take a lifetime
to complete, plus - what's the point?

As for a OS that can boot a computer, implement a basic filesystem and
copy/rename files is doable. I had friends that had to write such a
simple OS as a end-of-year project in there studies. I guess you can
take a peak at the Linux code to accomplish that, but again, what's
the point. Other that being able to say yes it can be done with Free
Pascal as well.  Maybe you have more free time available than I do.
:-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Graeme Geldenhuys
On Fri, Dec 5, 2008 at 5:55 PM, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:
 If you want to do some large work to increase the use of FPC I would
 recommend creating a Window Manager instead, probably with fpgui.

How far did you guys get with the 'fpwm' project?  Did it actually run
at some point. I see the last code changes was 2 years ago.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal