caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Unsafe features
@ 2005-09-02 12:02 Florian Weimer
  2005-09-03  9:24 ` [Caml-list] " Damien Bobillot
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Florian Weimer @ 2005-09-02 12:02 UTC (permalink / raw)
  To: caml-list

Has Ocaml any unsafe features?  With "unsafe", I mean constructs
which, when (ab)used in certain ways, make further reasoning about the
behavior of the program impossible (and neither the compiler nor the
run-time system provides a diagnosis).  Examples in other languages
are out-of-bounds array access, null pointer dereference, integer
arithmetic overflow, premature deallocation of heap objects, wrong
type declarations -- you get the idea.

The C language interface falls into this category.  Are there any
other problematic areas?


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-11-30  9:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-02 12:02 Unsafe features Florian Weimer
2005-09-03  9:24 ` [Caml-list] " Damien Bobillot
2005-09-03  9:40   ` Florian Weimer
2005-09-03 11:19     ` Jon Harrop
2005-09-03 12:07     ` yoann padioleau
2005-09-03 14:28       ` Florian Weimer
2005-09-03 14:35         ` yoann padioleau
2005-09-03 14:47           ` Florian Weimer
2005-09-03 14:51             ` Florian Weimer
2005-09-03 14:55               ` yoann padioleau
2005-09-04  1:58         ` Jacques Garrigue
2005-09-03  9:29 ` Erik de Castro Lopo
2005-11-29 18:46 ` Integral solutions of rational linear equations Thomas Gazagnaire
2005-11-30  8:32   ` [Caml-list] " Sebastian Egner
2005-11-30  8:49   ` Christophe Raffalli
2005-11-30  9:06     ` Christophe Raffalli
2005-11-30  9:08     ` Christophe Raffalli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).