Lists


From: Jörgen Sigvardsson <jorgen.sigvardsson@kau.se>
Subject: Lists
Date: Tue, 20 Feb 2001 13:08:05 +0100

Next Article (by Author): rsbac_{read,write}_[un]lock Jörgen Sigvardsson
Previous Article (by Author): Re: Understanding ACI Jörgen Sigvardsson
Next in Thread: Re: Lists Amon Ott
Articles sorted by: [Date] [Author] [Subject]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok. I give up this futile list attempt, mainly because of the semantic 
problems that arise. A good general list ADT with type safety is hard to 
accomplish in a safe manner. My strategy was to create some sort of generic 
backend which could be wrapped with inline functions to provide type safety. 
But the polymorphism required can only be accomplished with void pointers, 
thus reference semantics is what's down the road. This may or may not work, 
but it could imply overall design changes on RSBAC, which was not the 
intended idea.

Template-like solutions using macros is a possibility, but I don't want to go 
there. 

So I hereby declare myself defeated by C's weak type system.

- --
Jörgen Sigvardsson, B. Sc.
Lecturer, Computer Science Dept. Karlstad University
Tel: +46-(0)54-700 1786
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6kl4lJtcD8rikkmwRAo0VAJ9L8rOtwT0f1D6ensZjCynxjKDAxQCeKWxM
YC5BCid01Fbw0PIi3Ebq3sg=
=yq7Q
-----END PGP SIGNATURE-----
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Author): rsbac_{read,write}_[un]lock Jörgen Sigvardsson
Previous Article (by Author): Re: Understanding ACI Jörgen Sigvardsson
Next in Thread: Re: Lists Amon Ott
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.