473,703 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why doesn't C++ have comprehensive API like Java? (Cont'd.)

I'm posting a new message regarding this subject,
since the one posted previously is getting rather
large. I just received the June 2005 issue of
Dr. Dobb's Journal, and it contains an article
titled "The Technical Report On C++ Library
Extensions". After debating this issue with
various group members, all I can say is:
I Win!!! (Just kidding)

Anyway, here are a couple of quotes from the article,
which reflect my sentiments exactly:

"The Perl, Python, and Java standard libraries include
facilities for parsing XML, performing regular
expression searches, manipulating image files, and
sending data over the network. From that perspective,
the C++ standard library looks like it's only the
beginning. And everyone in the standards committee knows
that of course."
"The question isn't whether we need a more comprehensive
library, but how we get one".
Jul 23 '05 #1
30 1962
somebody wrote:
...I just received the June 2005 issue of
Dr. Dobb's Journal, and it contains an article
titled "The Technical Report On C++ Library
Extensions"... "The Perl, Python, and Java standard libraries include
facilities for parsing XML, performing regular
expression searches, manipulating image files, and
sending data over the network. From that perspective,
the C++ standard library looks like it's only the
beginning. And everyone in the standards committee knows
that of course."


The distinction is systems like XML are also themselves standards (actually
"recommendation s"), so they already have cross-platform support.

The C++ Standard Library will probably expand, and that's what the C++
thought leaders invest in Boost.org. However, there are no equivalent widely
adopted recommendations for GUIs. Such a "standard" would be Jack of All
Trades, Master of None. The C++ Standard Library will not enforce a GUI any
time soon.

Again: What is the point of letting some dumb committee somewhere decide for
you which GUI to use?

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #2
somebody wrote:
"The Perl ... standard libraries include
facilities for parsing XML


I couldn't let that one past.

Perl has no XML "standard" anything. It only has a smattering buggy,
half-started modules thrown onto CPAN.

(Ruby, by contrast, has a coherent and fully useful XML library, bundled
with its core distribution.;)

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand

Jul 23 '05 #3
"Phlip" <ph*******@yaho o.com> scribbled on the stall wall:
somebody wrote:
"The Perl ... standard libraries include
facilities for parsing XML


I couldn't let that one past.

Perl has no XML "standard" anything. It only has a smattering buggy,
half-started modules thrown onto CPAN.

(Ruby, by contrast, has a coherent and fully useful XML library, bundled
with its core distribution.;)

God, I miss FORTRAN IV...

"A real programmer can write FORTRAN code in any language." -- Real Programmers
Dont Use Pascal, DATAMATION, July 1983.

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 23 '05 #4
On Tue, 03 May 2005 22:15:43 +0000, Phlip wrote:
The distinction is systems like XML are also themselves standards (actually
"recommendation s"), so they already have cross-platform support.

The C++ Standard Library will probably expand, and that's what the C++
thought leaders invest in Boost.org. However, there are no equivalent widely
adopted recommendations for GUIs. Such a "standard" would be Jack of All
Trades, Master of None. The C++ Standard Library will not enforce a GUI any
time soon.

Again: What is the point of letting some dumb committee somewhere decide for
you which GUI to use?

I'm not concerned with GUI development. All of the other items mentioned,
like regular expressions, network classes, imgage manipulation, etc.,
are what I'm referring to. These could be added as library extensions,
without bloating the core C++ classes. You use them if you want to.

Jul 23 '05 #5
somebody wrote:

I'm not concerned with GUI development. All of the other items mentioned,
like regular expressions, network classes, imgage manipulation, etc.,
are what I'm referring to. These could be added as library extensions,
without bloating the core C++ classes. You use them if you want to.


Image manipulation in the C++ Standard? Dream on.

More to the point: everything that's in the standard has to be provided
by every compiler vendor for every platform. Doesn't matter whether you
want to use them -- they have to be there. That means you pay more for
the compiler. (I don't mind: that's how we make our living.)

--

Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)
Jul 23 '05 #6
somebody wrote:
I'm not concerned with GUI development. All of the other items mentioned,
like regular expressions,
Needed for string manipulation.
network classes, imgage manipulation, etc.,

Image manipulation does not make sense in embedded devices like watering systems, or
telephone centres. So, it will not be added in the standard. I am not sure networking will
make it too in the end.

This does not mean you can not do image manipulation or networking with C++. For example
these days I am reading about .NET networking facilities, and have read about its 2D
graphics facilities in the past.
Do not confuse a language (syntax) with a platform. In essence, Java the language comes
with no facilities of its own, the facilities are of the JVM platform.
In contrast C++ uses the facilities of a platform (e.g. .NET) *and* comes with its own
library.

are what I'm referring to. These could be added as library extensions,
without bloating the core C++ classes. You use them if you want to.

Yes. However the standard library is required to be implemented in all C++ implementations
and the facilities that are added are the most needed, generic and efficient ones. And C++
is not only an application development language but also a systems programming language
(you can program the bare metal).

In contrast with Java you are programming applications for the Java Virtual Machine, but
you can not write the Java Virtual Machine with Java.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #7
somebody wrote:
I'm not concerned with GUI development. All of the other items mentioned,
like regular expressions, network classes, imgage manipulation, etc.,
are what I'm referring to.


Which network? Berkeley sockets? Samba? ATM? Ethernet?

--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Jul 23 '05 #8
On Wed, 04 May 2005 01:44:26 +0000, Phlip wrote:
somebody wrote:
I'm not concerned with GUI development. All of the other items mentioned,
like regular expressions, network classes, imgage manipulation, etc.,
are what I'm referring to.


Which network? Berkeley sockets? Samba? ATM? Ethernet?

The way Java or Perl handles them.

Jul 23 '05 #9
On Wed, 04 May 2005 04:26:47 +0300, Ioannis Vranos wrote:
In contrast with Java you are programming applications for
the Java Virtual Machine, but
you can not write the Java Virtual Machine with Java.


Yes, good point. I would still like to see extensive library
extension additions for C++, making it a more comprehensive
language for application programming. As it stands, you need
a framework like Visual C++ or wxWidgets to be productive.
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
2590
by: somebody | last post by:
No, I'm not a troll, just angry. I just started learning C++, and find it extremely lacking compared to Java. For example, I had to write my own functions to do something as simple as a case insensitive string comparison, and a substring search. Then I found that there are no networking classes to speak of (except sockets). After I thought about it, C++ really pales by comparison. Java has a rich set of networking classes, regular...
2
2142
by: . . | last post by:
Hi I need some help with java script . I have a ASPX page that is pulling a user message heading from the table on the page . The user message header has message body which suppose to dispay under the heading when a user click on the message header . Message body will come from database table .The different message header has different message body . I have got the message heading showing up on the web page . How do I show the message...
3
3913
by: MBReikowsky | last post by:
Ok this is homework, and I have wrestled with this for quite awhile now. My program is supposed to give an error message if the user enters any invalid entries. The program works great when the user enters an invalid integer, but my problem is trying to get it to give an error message when the user enters an invalid entry when asked if they want to continue. Currently right now it just runs again if an invalid entry is entered. But I need it to...
0
8755
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9249
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9013
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7860
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5922
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4428
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2445
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.