comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Re: C to JVM, time to revive JGNAT?
Date: Mon, 14 Aug 2006 09:09:24 +0200
Date: 2006-08-14T09:09:24+02:00	[thread overview]
Message-ID: <ebp7j3$mqg$1@sunnews.cern.ch> (raw)
In-Reply-To: <1vsvetmg19cnl.1dsnld0rfx6ax.dlg@40tude.net>

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.

There are obviously many factors that shaped this, but the final result 
is that most interesting applications are not portable. 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.


-- 
Maciej Sobczak : http://www.msobczak.com/
Programming    : http://www.msobczak.com/prog/



  reply	other threads:[~2006-08-14  7:09 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 [this message]
2006-08-14  8:01               ` Dmitry A. Kazakov
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