LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-26-2002, 02:23 PM   #1
ddiego
LQ Newbie
 
Registered: Apr 2002
Posts: 2

Rep: Reputation: 0
Linux CodeProject


Would there be any interest in making a new site devoted to linux-unix programming ? It would contain forums for asking questions and an article submission system for programming articles in C/C++/PHP, etc. The model for this is CodeProject (http://www.codeproject.com). Excuse the post if something like this already exists.
 
Old 04-27-2002, 12:26 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
I love Linux, but when I write code I prefer it to be platform independent. Thats why I use Java (maybe I'm just lazy). Most other languages can be used platform independently as well.
 
Old 04-27-2002, 04:49 PM   #3
Hano
Member
 
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196

Rep: Reputation: 30
i think that coding in platform-indepent language like Java is at loss of performance, and keeping performance up to standarized common-architecture elements instead of specialized architectures features is like a communist economy: everyone is equally poor. But that's just my opinion

It would be very handy a *nix codeproject-like site, which everyone could bring his codes to everyone, and it could be organized on an architecture-language basis

Hano

Last edited by Hano; 04-27-2002 at 04:54 PM.
 
Old 04-27-2002, 07:41 PM   #4
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by Hano
i think that coding in platform-indepent language like Java is at loss of performance
Platform independence does not necissarily bring loss of performance. For example, platform/hardware dependent optimizations can be localized in the Java runtime (or a native compiler). This way the platform/hardware dependant optimizations only need to be written once, rather than repeatedly.
Quote:
Originally posted by Hano
organized on an architecture-language basis
Code does not necissarily have to be architecture dependent either. For example, most of the Linux kernel is architecture independent. The architecture dependent parts are carefully separated out.

You might be recognizing a trend here, its called modularity. It makes your code more reusable.

Last edited by zmedico; 04-28-2002 at 01:09 PM.
 
Old 04-28-2002, 01:36 AM   #5
Hano
Member
 
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196

Rep: Reputation: 30
You're right, i don't know what was i thinking. but are you aware that some high-performance programs (i.e:games like quake, music software like cubase) which relay heavily on hardware are unavoidably oriented to specific hardwares/OS?
if it wouldn't, porting software would be trivial. And i'm sure that Java is very cool for small programs, but i don't think that in near future we'll see whooping-fast 3D-shooters written on Java.

Of course there're cool steps in that directions: ftlk is a very good platform-independent GUI enviroment, the SDL (simple directmedia layer) , and others i won't bother mention. But aside exceptions like openGL ( one of the few really hardware/OS independent graphics library ) even if these libraries are pretty independent of the *nix&&*BSD OS, there is a quantum leap to make these work on, say OS/2, or say BeOs, or say OS/X, or say windoze.

About a page for sharing code, You're right, there's no point in classifying code on differents architectures. Neither on Language. I think the better way of classifying code is on which level it talks to hardware. i.e: drivers (which are all written is ASM) are ground level, graphics/audio/video/intercommunications libraries (which are mostly written in C, like the linux kernel )are medium level, applications that handle all these things for a purpose like showing a web page or suming two numbers that can be easily written in Java are top level.

Well, I guess the point it's that would be very good to have such a page.

Hano
 
Old 04-28-2002, 01:06 PM   #6
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by Hano
i don't think that in near future we'll see whooping-fast 3D-shooters written on Java.
How do you define the near future? Hardware gets faster every day. In 10 years, our hardware may be 1000 times as fast (only guessing).
Quote:
Originally posted by Hano
there's no point in classifying code on differents architectures. Neither on Language. I think the better way of classifying code is on which level it talks to hardware. i.e: drivers (which are all written is ASM) are ground level, graphics/audio/video/intercommunications libraries (which are mostly written in C, like the linux kernel )are medium level, applications that handle all these things for a purpose like showing a web page or suming two numbers that can be easily written in Java are top level.
Sounds good!
 
Old 04-29-2002, 04:43 AM   #7
LabRad
Member
 
Registered: Apr 2002
Location: The Netherlands
Distribution: Slackware, openBSD
Posts: 106

Rep: Reputation: 15
From my point of view there is going to be a big splitup betwean programmers. I think your going to have RAD programmers doing al the standert things using java, c# and a like.
And you will have the programmers Who are going to write the resorses for the RAD crap and they are going to be the build the new tech. High and will alway`s be in the lower class code but the higher class code wil become faster as the lower class code gets better. Hardwere will get faster butt the demand for resourses will always be infenetly bigger then the systems can deliver.

Programming java and C# is like playing with Duplo comared with Technic Lego.

No offense this is how i c the future.
 
Old 04-29-2002, 07:25 AM   #8
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by LabRad
there is going to be a big splitup betwean programmers
I see this as a high-level / low-level division where the low-level programmers provide the foundation for the high-level ones. There will probably be some mixing between the two groups. High-level programmers of today may rely on the lower-level programmers of tomorrow to provide increased efficiency in the future.
Quote:
Originally posted by LabRad
your going to have RAD programmers doing al the standert things using java, c# and a like
As our code becomes more reusable, RAD comes along to build stuff out of the reusable parts (preferably *GPL or *BSD).
Quote:
Originally posted by LabRad
Hardwere will get faster butt the demand for resourses will always be infenetly bigger then the systems can deliver.
There will always be demand for better computers, and our computers get better every day. Sometimes we are forced to make software optimizations in order to make present hardware meet our demands. Some optimizations are more elegant than others. Sometimes we sacrifice efficiency for elegance and vice versa. It is nice if we can have both elegance and high efficiency simultaneously.

Last edited by zmedico; 04-29-2002 at 08:26 AM.
 
Old 04-29-2002, 05:46 PM   #9
Hano
Member
 
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196

Rep: Reputation: 30
What if the code is arranged more or less just like posts in linuxquestions? i mean, "general, networking, applications, system, devices ..."

Hano
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

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

All times are GMT -5. The time now is 04:53 AM.

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
Open Source Consulting | Domain Registration