RE: Which Development Environment/Tools For FreeBSD + PostgreSQL Service?

2004-09-29 Thread Sheets, Jason (OZ CEEDR)
It sounds like you are wanting to research Unix development tools in
general not just BSD as they are fairly standard and widely available
for Linux/BSD.

It seems like you've selected c or c++ by the exclusion of the other
languages, if you are not happy with c or c++ perhaps you should
re-evaulate the other languages and really determine why you excluded
them and also your needs, if you need a real time solution that will
eliminate a lot of them right off the bat.

I'm not sure I would characterize the extensive use of pointers as a
disadvantage when used correctly they work well, regardless of the
language you choose you will need to keep an eye out for dangerous
utilization of language features.

There is a wealth of information on writing better code using a variety
of methods including code review, code guidelines, etc that are outside
the scope of my message.

Pretty much all the GNU development tools are available on BSD,
autoconf, automake, gcc, gdb, the front ends to gdb, kdevel (KDE
programming environment). I encourage you to look in /usr/ports/devel
and lang.

Borlands C++ BuilderX IDE is nice because it works on Window, Linux and
probably on BSD through the Linux compatability layer and is able to
take advantage of pretty much every tool chain available including GNU.
Kdevel is also nice, there is also gvim, emacs and a wealth of other
editors both commercial and open source so it really depends on the
features you need and the overhead you are willing to run with.

I use scons (http://www.scons.org/) for the build infrastructure instead
of gmake, and then use gcc for the compiler.  I use subversion or CVS
for version control needs.

There is also distcc and ccache that allow you to do distributed/cached
builds across the network/development environment.

Jason




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, September 29, 2004 1:52 AM
 To: [EMAIL PROTECTED]
 Subject: Which Development Environment/Tools For FreeBSD + PostgreSQL
 Service?
 
 Hello All,
 
 We are a company looking for a good development environment/tool(s)
for a
 service-type application. The OS is FreeBSD and the database will be
 PostgreSQL. The first emphasis is placed on reliability, with
secondary
 emphasis on performance. Third in importance would be the richness of
the
 language/features and avoidance of plumbing code.
 
 - Is this the right place to be asking about development tools? Since
this
 involves FreeBSD, we thought it might be appropriate.
 
 - We do not need any GUI. The programs will either run from the shell,
or
 as services.
 
 - C/C++ comes to mind, but which flavour of compiler/debugger/third
party
 add-ons/editor? An advantage here is the fact that this language is
well
 established which should improve reliability to some extent (if we are
 careful with pointers). A disadvantage would be the extensive use of
 pointers, the cryptic and unreadable look of the code and the fact
that
 C/C++ is getting a bit long in the tooth.
 
 - We are considering the Borland tools (JBuilder/Kylix) since we are
 familiar with Borland tools and like their database connectivity, rich
 components and elegant looking code (less plumbing). But on the other
 hand, we don't need any GUI, and we had some problems in the past with
 reliability. Do you have any thoughts on this?
 
 - We would prefer not to use ODBC/JDBC, and instead interface directly
to
 the database. We had some bad experience in the past regarding
reliability
 and performance. We can either use the library provided by Postgres or
 write our own wrappers to make things more readable.
 
 - We would prefer not to use an interpreted language such as Python,
Java,
 and Perl etc for performance reasons. We know that Java can be
compiled,
 but is it a good solution without using JDBC? How about reliability?
 
 Are there any particularly elegant solutions you have experience with?
 Thank you for your help.
 
 Tom
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which Development Environment/Tools For FreeBSD + PostgreSQL Service?

2004-09-29 Thread Vulpes Velox
On Wed, 29 Sep 2004 17:52:28 +1000
[EMAIL PROTECTED] wrote:

 - Is this the right place to be asking about development tools?
 Since this involves FreeBSD, we thought it might be appropriate.
   

 http://www.freebsd.org/ports/index.html would be a nice start
   
 - We do not need any GUI. The programs will either run from the
 shell, or as services.
 
 - C/C++ comes to mind, but which flavour of compiler/debugger/third
 party add-ons/editor? An advantage here is the fact that this
 language is well established which should improve reliability to
 some extent (if we are careful with pointers). A disadvantage would
 be the extensive use of pointers, the cryptic and unreadable look of
 the code and the fact that C/C++ is getting a bit long in the tooth.

Don't like C/C++ then create binding for what ever you want to it for
another language...

for editor and and the like, let your developers choose what ever they
like...
 
 - We are considering the Borland tools (JBuilder/Kylix) since we are
 familiar with Borland tools and like their database connectivity,
 rich components and elegant looking code (less plumbing). But on the
 other hand, we don't need any GUI, and we had some problems in the
 past with reliability. Do you have any thoughts on this?

Kylix is aimed at linux, not freebsd. As far as jbuilder is concerned,
really don't see any thing that impressive it when compared to other
IDEs, from it's website.

 - We would prefer not to use ODBC/JDBC, and instead interface
 directly to the database. We had some bad experience in the past
 regarding reliability and performance. We can either use the library
 provided by Postgres or write our own wrappers to make things more
 readable.

Then do so... if the language exists in the ports or can easily be
ported, I don't see any thing stopping you...

 - We would prefer not to use an interpreted language such as Python,
 Java, and Perl etc for performance reasons. We know that Java can be
 compiled, but is it a good solution without using JDBC? How about
 reliability?

I personally would just go with C++ over java.
 
 Are there any particularly elegant solutions you have experience
 with? Thank you for your help.

Can't think of any off hand, at this moment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which Development Environment/Tools For FreeBSD + PostgreSQL Service?

2004-09-29 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line paragraphs.

On Wednesday, 29 September 2004 at 17:52:28 +1000, [EMAIL PROTECTED] wrote:
 Hello All,

 We are a company looking for a good development environment/tool(s)
 for a service-type application. The OS is FreeBSD and the database
 will be PostgreSQL. The first emphasis is placed on reliability, with
 secondary emphasis on performance. Third in importance would be the
 richness of the language/features and avoidance of plumbing code.

 - Is this the right place to be asking about development tools?

Yes.

 - C/C++ comes to mind, but which flavour of compiler/debugger/third
 party add-ons/editor?

Until proof of the contrary (which I think would be difficult), why
not stick with the tools supplied with the system?

 An advantage here is the fact that this language is well established
 which should improve reliability to some extent (if we are careful
 with pointers). A disadvantage would be the extensive use of
 pointers, the cryptic and unreadable look of the code and the fact
 that C/C++ is getting a bit long in the tooth.

I've noted in the past that C has actually proven more robust than C++
in this matter; I don't think the age is as important as the utility
of the language.  I haven't seen *any* newer compiled language which
works as well.

 - We are considering the Borland tools (JBuilder/Kylix) since we are
 familiar with Borland tools and like their database connectivity,
 rich components and elegant looking code (less plumbing). But on the
 other hand, we don't need any GUI, and we had some problems in the
 past with reliability. Do you have any thoughts on this?

I don't know the tools.  I'm pretty sure that they wouldn't
interoperate as well with the FreeBSD environment.

 - We would prefer not to use ODBC/JDBC, and instead interface
 directly to the database. We had some bad experience in the past
 regarding reliability and performance. We can either use the library
 provided by Postgres or write our own wrappers to make things more
 readable.

A priori, my take on this is to use the tools provided (Postgres
library interface, in this case) until proof of the contrary.

 - We would prefer not to use an interpreted language such as Python,
 Java, and Perl etc for performance reasons. We know that Java can be
 compiled, but is it a good solution without using JDBC? How about
 reliability?

I'd stick with C.

AUUG (the Australian UNIX User Group) will be doing a symposium on
development techniques in Adelaide next year, probably March or
April.  It sounds like this would be a good thing for you to attend.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpJEi7My72TI.pgp
Description: PGP signature