🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
10 messages
10 total messages Started by LShaping Thu, 28 Oct 1999 00:00
Best programming language, to write a newsreader?
#53548
Author: LShaping
Date: Thu, 28 Oct 1999 00:00
9 lines
1016 bytes
What's the most common or best programming language for writing a
newsreader?  I'll look around but would like opinions too.  Does
Microsoft's C++ Standard Edition work?  How about Visual Basic
Learning Edition?  Is Delphi much better for that purpose?  (I
understand that writing a newsreader is probably very difficult.)  
TIA
LShaping.

Re: Best programming language, to write a newsreader?
#53545
Author: Art Pollard
Date: Thu, 28 Oct 1999 00:00
19 lines
1601 bytes
> I'm looking at Microsoft's C++ Standard edition.  What's the MFC v.
> Win32 API thing?  Does that have to do with allowing MS's pet
> applications to function better with your app, or is it mainly for
> making your app work better with the operating system?  I understand
> and agree with the look and feel thing but that's about as far as it
> goes.

The previous recommendation of Delphi is probably a much better way
to go.  MFC stinks.  Furthermore, VC is not visual unlike its name.
You can get a lot more done in Delphi than you ever would with
MFC.  Furthermore, if you really need access to the Windows API,
you can utilize it readily so you don't really lose anything.

Another alternative is Borland's C++ Builder which is like Delphi
but uses C++ as the core language instead.  (This is what I use.)

-Art

Re: Best programming language, to write a newsreader?
#53554
Author: Art Pollard
Date: Thu, 28 Oct 1999 00:00
23 lines
1773 bytes
> I'm looking at Microsoft's C++ Standard edition.  What's the MFC v.
> Win32 API thing?  Does that have to do with allowing MS's pet
> applications to function better with your app, or is it mainly for
> making your app work better with the operating system?  I understand
> and agree with the look and feel thing but that's about as far as it
> goes.

The previous recommendation of Delphi is probably a much better way
to go.  MFC stinks.  Furthermore, VC is not visual unlike its name.
You can get a lot more done in Delphi than you ever would with
MFC.  Furthermore, if you really need access to the Windows API,
you can utilize it readily so you don't really lose anything.

Another alternative is Borland's C++ Builder which is like Delphi
but uses C++ as the core language instead.  (This is what I use.)

Another alternative, of course, is Intercal.  (see:
news://comp.lang.intercal ).  Just kidding.  If you really want a
challenge, Intercal is definitely the way to go.

-Art

Re: Best programming language, to write a newsreader?
#53570
Author: Wayne Menzie
Date: Fri, 29 Oct 1999 00:00
17 lines
1610 bytes
NoSpam@mindspring.com (LShaping@...) wrote in 
<381a10f2.7344733@news.mindspring.com>:

>I'm looking at Microsoft's C++ Standard edition.  What's the MFC v.
>Win32 API thing?  Does that have to do with allowing MS's pet
>applications to function better with your app, or is it mainly for
>making your app work better with the operating system?  I understand
>and agree with the look and feel thing but that's about as far as it
>goes.  

MFC is a wrapper of a portion of the Win32 API.  It is pretty extensive and 
you can write useful apps but it is, IMHO, clunky.  It's raison d'etre is to 
abstract the Win32 API so you don't have to interface with it directly.

Wayne Menzie

Re: Best programming language, to write a newsreader?
#53580
Author: LShaping
Date: Fri, 29 Oct 1999 00:00
14 lines
1271 bytes
waynem@bosmedtechdotcom.nospam (Wayne Menzie) wrote:
>NoSpam@mindspring.com (LShaping@...) wrote in 
>
>><snip>

>MFC is a wrapper of a portion of the Win32 API.  It is pretty extensive and 
>you can write useful apps but it is, IMHO, clunky.  It's raison d'etre is to 
>abstract the Win32 API so you don't have to interface with it directly.
>Wayne Menzie

Okie.  Thanks.  
LShaping.

Re: Best programming language, to write a newsreader?
#53581
Author: William McBrine
Date: Fri, 29 Oct 1999 00:00
14 lines
1173 bytes
On Thu, 28 Oct 1999 19:41:36 GMT, LShaping@... wrote:

> What's the most common or best programming language for writing a
> newsreader?

The one you already know.

Newsreading is not a language-specific task. I expect the most common
language is C or C++, but only because they're the most common in general.

-- 
Life is much easier if you look at the source code.

Re: Best programming language, to write a newsreader?
#53584
Author: Fred Pacquier
Date: Fri, 29 Oct 1999 00:00
26 lines
2063 bytes
wmcbrine@clark.net (William McBrine) said :

>On Thu, 28 Oct 1999 19:41:36 GMT, LShaping@... wrote:
>> What's the most common or best programming language for writing a
>> newsreader?
>The one you already know.
>Newsreading is not a language-specific task. I expect the most common
>language is C or C++, but only because they're the most common in general.

Exactly. One solution that's not very well known (yet) is to use the 
wxWindows library (a C++ wrapup of MFC and gtk) and code in Python. Yes, 
Python is an interpreted language, but it is easy to learn, has a lot of 
high-level interfaces to the Internet protocols like nntp, and make for fast 
coding cycles. Performance through C++ libraries is quite good, and string 
manipulation/storage (major requirements in a newsreader) are easier with 
high-level types and objects. With a little care, your app may even end up 
working on Windows, Linux, and some day the Mac...

Be warned, though -- creating a *useful* news client is *hard*. If you want 
proof beforehand, compare the number of available newsreaders vs. mail, ftp, 
chat, etc, clients. There aren't many, and most of those that exist are bad.

-- 
YAFAP : http://www.multimania.com/fredp/

Re: Best programming language, to write a newsreader?
#53586
Author: LShaping
Date: Fri, 29 Oct 1999 00:00
26 lines
1949 bytes
waynem@bosmedtechdotcom.nospam (Wayne Menzie) wrote:
>NoSpam@mindspring.com (LShaping@...) wrote in 
>
>>What's the most common or best programming language for writing a
>>newsreader?  I'll look around but would like opinions too.  Does
>>Microsoft's C++ Standard Edition work?  How about Visual Basic
>>Learning Edition?  Is Delphi much better for that purpose?  (I
>>understand that writing a newsreader is probably very difficult.)  
>
>I know that Luu wrote Xnews in Delphi.  Generally, Delphi is the fastest way 
>to create a Win32 visual application that works.  If you don't know any 
>languages yet, Object Pascal, the language Delpi uses, is among the easiest 
>to use.  There are many advantages Delphi has over other languages for 
>creating visual Win32 apps.
>Wayne Menzie

I'm looking at Microsoft's C++ Standard edition.  What's the MFC v.
Win32 API thing?  Does that have to do with allowing MS's pet
applications to function better with your app, or is it mainly for
making your app work better with the operating system?  I understand
and agree with the look and feel thing but that's about as far as it
goes.  
TIA
LShaping.

Re: Best programming language, to write a newsreader?
#53591
Author: Glen Harman
Date: Fri, 29 Oct 1999 00:00
50 lines
3529 bytes
LShaping@... <NoSpam@mindspring.com> wrote in message
news:381a10f2.7344733@news.mindspring.com...
> waynem@bosmedtechdotcom.nospam (Wayne Menzie) wrote:
> >NoSpam@mindspring.com (LShaping@...) wrote in
> >
> >>What's the most common or best programming language for writing a
> >>newsreader?  I'll look around but would like opinions too.  Does
> >>Microsoft's C++ Standard Edition work?  How about Visual Basic
> >>Learning Edition?  Is Delphi much better for that purpose?  (I
> >>understand that writing a newsreader is probably very difficult.)
> >
> >I know that Luu wrote Xnews in Delphi.  Generally, Delphi is the fastest way
> >to create a Win32 visual application that works.  If you don't know any
> >languages yet, Object Pascal, the language Delpi uses, is among the easiest
> >to use.  There are many advantages Delphi has over other languages for
> >creating visual Win32 apps.
> >Wayne Menzie
>
> I'm looking at Microsoft's C++ Standard edition.  What's the MFC v.
> Win32 API thing?  Does that have to do with allowing MS's pet
> applications to function better with your app, or is it mainly for
> making your app work better with the operating system?  I understand
> and agree with the look and feel thing but that's about as far as it
> goes.

The Win32 API is, as its name implies, the interface to the 32 bit
Windows OS routines (C callable).  MFC, the Microsoft Foundation
Class Library, wraps much of that with C++ classes - providing
classes which make it easier to work with applications, windows,
controls, files, Internet and network programming, OLE, etc as well
as collections of objects (arrays, lists, maps, etc) and a bunch
of other things.  Even though most people find MFC does less than
they thought it would/should, pretty much everyone agrees it saves
you a HUGE amount of time when it comes to the application
framework/GUI stuff.  So you'll undoubtedly end up using it for
your main thread at least (I'm assuming a GUI app).  Beyond that it
is up to you.  Most of the people I know, at least when working on
TCP/IP apps, tend to avoid it for the application specific functions
and secondary threads.  There they use C, generic C++, or a mix
of both.

I don't know anyone personally who uses Delphi, but I know a ton of
people who use VC++.  I use it for writing TCP/IP apps, including
some NNTP software.  Its not the best tool/library set I've used,
but it is "safe" and good enough.  Thats pretty much Microsoft's
claim to fame... software which is "good enough" for most people ;)


Re: Best programming language, to write a newsreader?
#53592
Author: Wayne Menzie
Date: Fri, 29 Oct 1999 00:00
18 lines
1600 bytes
NoSpam@mindspring.com (LShaping@...) wrote in 
<3819a564.7504719@news.mindspring.com>:

>What's the most common or best programming language for writing a
>newsreader?  I'll look around but would like opinions too.  Does
>Microsoft's C++ Standard Edition work?  How about Visual Basic
>Learning Edition?  Is Delphi much better for that purpose?  (I
>understand that writing a newsreader is probably very difficult.)  

I know that Luu wrote Xnews in Delphi.  Generally, Delphi is the fastest way 
to create a Win32 visual application that works.  If you don't know any 
languages yet, Object Pascal, the language Delpi uses, is among the easiest 
to use.  There are many advantages Delphi has over other languages for 
creating visual Win32 apps.

Wayne Menzie

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads