comp.lang.ada
 help / color / mirror / Atom feed
From: David Emery <demery@cox.net>
Subject: Re: Various Language Architecture Questions
Date: Mon, 26 Sep 2005 14:09:43 -0400
Date: 2005-09-26T14:09:43-04:00	[thread overview]
Message-ID: <HPWZe.20455$nq.18216@lakeread05> (raw)
In-Reply-To: <9tFZe.3859$0m6.3121@newsread3.news.pas.earthlink.net>

Part of the goal for any modern protocol stack should be type safety, including preventing array bounds overrunning.  For what it's worth, I wrote a significant subset of TCP using SPARK as part of a IR&D project in applying SPARK/formal methods.  With a little bit of care and attention, there should be little or no performance hit for A LOT of safety/security.  The parts I couldn't do in SPARK (such as asynchronous transfer of control to implement TCP timeouts) were done in Ada95.  The Ada95 was wrapped in C to support the JNI interface for the test/demonstration code that invoked the protocol stack.  We called the result (Java calling C calling Ada95 calling SPARK) the "SPARK Sandwich"...

The core concern is at boundries of the protocol layer, where you move from byte sequences to packets, and then to more 'semantically knowledgeable' data.  

		dave

Jeffrey R. Carter wrote:
> frankgerlach@gmail.com wrote:
> 
>> I am contemplating to create a new language, which is supposed to be as
>> fast as C++, but as safe as Java.
> 
> 
> Your thinking is very low-level. With a well designed language, pointers 
> and type conversions are far rarer than in C/++. When you have been 
> exposed to such a language well enough to use it as intended, then you 
> may be ready to think about designing a language of your own.
> 



      reply	other threads:[~2005-09-26 18:09 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-25  2:37 Various Language Architecture Questions frankgerlach
2005-09-25  5:07 ` jimmaureenrogers
2005-09-25  7:24   ` Martin Dowie
2005-09-25  8:17 ` Martin Krischik
2005-09-25  8:53 ` Dmitry A. Kazakov
2005-09-25 12:56   ` frankgerlach
2005-09-25 13:24     ` Larry Kilgallen
2005-09-25 14:04     ` Pascal Obry
2005-09-25 14:24     ` Martin Krischik
2005-09-25 15:25     ` Georg Bauhaus
2005-09-25 15:32       ` Georg Bauhaus
2005-09-25 16:02         ` Pascal Obry
2005-09-25 16:02       ` Pascal Obry
2005-09-26  7:44     ` Maciej Sobczak
2005-09-26 21:07       ` Florian Weimer
2005-09-27  4:31         ` Simon Wright
2005-09-27  7:18           ` Tapio Kelloniemi
2005-09-27 23:43           ` Florian Weimer
2005-09-28 20:43             ` Simon Wright
2005-09-29 23:24             ` Randy Brukardt
2005-09-26 21:05     ` Florian Weimer
2005-09-25 11:57 ` Marin David Condic
2005-09-25 15:21 ` Björn Persson
2005-09-25 22:25 ` Jeffrey R. Carter
2005-09-26 18:09   ` David Emery [this message]
replies disabled

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