LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2005, 03:57 AM   #16
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47

Quote:
Having memory allocation automatically managed (not by humans), you don't have to worry about weird errors that behave differently everywhere
of course, there could be bugs in python's gc. Of course (and this is the beauty of Free Software) we could fix them.

Quote:
you go and can focus on the actual software, not bugs dating back to the '70s
Manual memory management is a feature, not a bug.

Quote:
(sorry C fans, I'm not trying to insult/flame anything/anyone here).
No offense taken. But only because I'm smarter than you

it all comes down to using the right tool for the job. I think python would be a good option. Once there is a `correct'/feature-frozen implementation running, you/we(?) could speed up crucial parts in C.

my $cents = 2;
 
Old 04-08-2005, 05:04 AM   #17
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
the first "publication" of python into public domain was in 1991 ,
so python is as old as linux !
i never really code in python before but after "reading" python code feels that python is a "very high higher-level language" supports garbage collection and very highly portable.Very easy on the bell and whisltes of modern OOP . You can even write COM,activeX/OLE very very easily ! You almost don't have to learn anything.The only awkward thing with python is it's a typeless language .
Java is just another buisness language , imitation of p-code and object-pascal with C/C++ syntex and feels like cobol .
It should be python and not Java and python is totally free.
All very modern application should try python first if possible and if it's not time-critical.
As for time-critical stuff , i rather choose ADA(again a language that i never code before but ever "read" it . Just my personal preference , so don't take it too seriously).

Last edited by alred; 04-08-2005 at 06:06 AM.
 
Old 04-08-2005, 09:51 AM   #18
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Quote:
the first "publication" of python into public domain was in 1991
worng. It wasn't released into public domain, it was released under a Free license; see http://www.gnu.org/licenses/ for more information on that distinction.

<license type="your average permissive non-copyleft free software license.">

CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
--------------------------------------------------

Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
The Netherlands. All rights reserved.

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Stichting Mathematisch
Hit Return for more, or q (and Return) to quit: Centrum or CWI not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior
permission.

STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

</license>

Quote:
very highly (sic) portable
that, of course, depends on how you write you code.
file("/dev/hda1", "w") probably isn't going to work on dos boxen.

Quote:
The only awkward thing with python is it's a typeless language
I declare shenanagans! (sp?)
python has types. How could (2 + "foo") raise a TypeError if python doesn't have types.

What it doesn't have is _static_ types: python doesn't need to know the type of objects until runtime. And you don't have to write down the type names for everything. But python definitely has types.

http://www.artima.com/weblogs/viewpost.jsp?thread=7590

Quote:
You can even write COM,activeX/OLE very very easily
why would anyone want to do that?

Quote:
ADA [...] don't take it too seriously
Don't worry -- I won't. The DoD likes it

--Jonas
 
Old 04-08-2005, 10:00 AM   #19
Nad0xFF
Member
 
Registered: Apr 2005
Location: Russia, Saint-Petersburg
Distribution: Slackware 10
Posts: 109

Rep: Reputation: 15
I think for low level the best are C and assembler
and for high - C, C++, Java

For fun
Haskell, Erlang, Prolog, mathematics
 
Old 04-08-2005, 11:44 AM   #20
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
Quote:
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
yup ............. appreciate your interest and your post

Quote:
by jonaskoelker
What it doesn't have is _static_ types: python doesn't need to know the type of objects until runtime. And you don't have to write down the type names for everything ..............
........ agree with you , i would have knew that if python is my very first chosen programming language .........

Quote:
by Nad0xFF
Haskell, Erlang, Prolog,
wow , you are good . i did ever try a Haskell book but the moment i open the first page , i close it telling myself "maybe later , but not now..."




gosh.........we did hijack this thread like nobody-else buisness...huh..

Last edited by alred; 04-08-2005 at 03:50 PM.
 
Old 04-08-2005, 07:26 PM   #21
kiddo
Member
 
Registered: May 2004
Location: Canada
Distribution: Gentoo 2005 Ubuntu 5.04
Posts: 47

Original Poster
Rep: Reputation: 15
XD yeah it seems so. Anybody actually interested into it? I also found a few python fans here and there willing to join in, but anyways. Just to add some info, I created a #specto channel in irc.freenode.net so people can contact each other more easily.

If you got some ideas of "potential issues" (mainly of refreshing website content) please write them down either here or in the wiki

Last edited by kiddo; 04-08-2005 at 07:38 PM.
 
Old 04-09-2005, 08:40 PM   #22
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Well, seeing as I'm having three months of summer vacation coming up in the pseudo-near future, I think I can afford to join. I'm quite skilled with the core of python, not so much with (any) libraries, and I'm not even done with my first year of school (that is, university). However, I've been programming for a grand total of 6 years, so I know good style from bad--most often on sight.

also, see http://jonaskoelker.homeunix.org/Me_Languages.html, and (if you care) my shitty blog in general.

bool (*signup) (struct Person*) = you -> signup_p;

--Jonas
 
Old 04-11-2005, 05:50 AM   #23
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
c is too lower. python is too high. What about the middle? I said go with c++ ( gtkmm )......
 
Old 04-12-2005, 12:48 AM   #24
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
lo , c++ itu gemuk sangat dong

Last edited by alred; 04-12-2005 at 12:51 AM.
 
Old 04-12-2005, 05:37 AM   #25
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
Ok, this is great. I have experience with GTK+ ( gtkmm ). But I always want to work with somebody else. I think I m gonna learn python and pygtk.

Ok, kiddo, I will join this project. But maybe in two months later ( summer? ) because I m still busy with my personal project ( wallpapoz ).

Python is great. Dont worry about speed because we don't develop http server or daemon that need to handle 250000 request. We can embed C in python for critical part.

for alred:
c++ itu sangat indah
 
Old 04-12-2005, 05:44 AM   #26
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
Quote:
from melinda_sayang
c++ itu sangat indah
yup ...... nice to meet you , brother melinda_sayang
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
I can't login Solaris 10!error information:"no default project!" rawbean Solaris / OpenSolaris 4 02-10-2010 07:49 AM
X Server broken. start w/ "INIT: ld "x" respawning too fast: disabled for 5 minutes&q tektone Linux - Hardware 5 07-25-2007 08:18 PM
How the people pronounce "Linux" futurist General 48 10-24-2006 10:18 PM
How to start KDE automaticlly without typing "startx" then "startkde" Jonescity Slackware 8 10-29-2004 10:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration