comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: C to JVM, time to revive JGNAT?
Date: Mon, 14 Aug 2006 10:01:52 +0200
Date: 2006-08-14T10:01:52+02:00	[thread overview]
Message-ID: <13mokfud4ijdu.c51ybbepy6mv$.dlg@40tude.net> (raw)
In-Reply-To: ebp7j3$mqg$1@sunnews.cern.ch

On Mon, 14 Aug 2006 09:09:24 +0200, Maciej Sobczak wrote:

> Dmitry A. Kazakov wrote:
> 
>>> No, but the biggest challenge in portability is the relatively small 
>>> (when compared to, say, Java) standard library.
>>> For example, write a web browser in Ada (net+gui+crypto+...) and let me 
>>> know how much portable it is.
>> 
>> It is a difficult question. You cannot pack everything into libraries for
>> obvious reasons. I can imagine a system without GUI, but it is difficult to
>> do for numeric things. Then, when you say NET, I'd ask which one? Can I
>> have field buses, multicast protocols, time-triggered protocols in Java?
>> The next question about non-functional requirements. What can be said about
>> rendering performance of that portable browser, how many numeric operations
>> will be required for encrypting 1MB, etc?
> 
> These are all valid point, but the logic is fuzzy anyway.
> For example, C, C++ and Ada support the concept of std{in|out|err} 
> channels and their standard libraries contain appropriate stuff for 
> this. But if we think about it, there are many platforms where the 
> standard IO channels do not exist at all (most embedded boxes, I guess, 
> and even "some" GUI environments as well), but the support for stdio is 
> in the standard anyway. What's even more intersting is that there are 
> probably more environments which support TCP/IP than those which support 
> stdio (think "embedded boxes") - still, it's stdio which gets attention 
> of standard committees, not TCP/IP.

Yes, in XXI century TCP/IP is much more important than Text_IO.

> There are obviously many factors that shaped this, but the final result 
> is that most interesting applications are not portable.

Yes. Because the platform is quite often a sufficient part of interest.

> Java may not 
> have standard support for field buses or time-triggered protocols, but 
> neither has C, C++ nor Ada. The point is not in what nobody has, but in 
> what they do have - with increased portability of final software - and 
> we don't.

I agree, but it is rather a problem of Ada's image. I doubt that Java is
more portable in strict sense [=man years required to fulfill the
requirements on some new platform], but it definitely *appears* more
portable. Which, as experience shows, is far more important than whether it
really is.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2006-08-14  8:01 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09  8:11 C to JVM, time to revive JGNAT? Dmitry A. Kazakov
2006-08-09  9:48 ` Jean-Pierre Rosen
2006-08-09 10:15 ` Georg Bauhaus
2006-08-09 10:59 ` Colin Paul Gloster
2006-08-09 16:01   ` Martin Krischik
2006-08-10  7:18     ` Maciej Sobczak
2006-08-10 10:08       ` Martin Krischik
2006-08-09 22:39   ` Björn Persson
2006-08-09 23:58     ` Georg Bauhaus
2006-08-10 22:31       ` Björn Persson
2006-08-11  9:51         ` Georg Bauhaus
2006-08-10  7:10     ` Maciej Sobczak
2006-08-10 19:38       ` Simon Wright
2006-08-10 21:55       ` Björn Persson
2006-08-11  7:54         ` Martin Krischik
2006-08-11  8:04         ` Maciej Sobczak
2006-08-11  9:00           ` Dmitry A. Kazakov
2006-08-14  7:09             ` Maciej Sobczak
2006-08-14  8:01               ` Dmitry A. Kazakov [this message]
2006-08-14  9:33                 ` Maciej Sobczak
2006-08-14 11:47                   ` Dmitry A. Kazakov
2006-08-21  6:04         ` Dave Thompson
2006-08-10  2:53   ` napi
2006-08-10 10:43     ` Colin Paul Gloster
2006-08-10 11:14       ` Martin Krischik
2006-08-21  6:04     ` Dave Thompson
2006-08-09 16:01 ` Martin Krischik
2006-08-09 18:13   ` Dmitry A. Kazakov
2006-08-10 10:11     ` Martin Krischik
2006-08-10 13:26       ` Dmitry A. Kazakov
2006-08-10 17:07         ` Martin Krischik
2006-08-10 19:18           ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox