GNOME Platform Stormclouds
Posted Mar 27, 2004 7:42 UTC (Sat) by
Cato (subscriber, #7643)
In reply to:
GNOME Platform Stormclouds by tjc
Parent article:
GNOME Platform Stormclouds
For (some) static checking in a dynamic language, try Perl - most code is written
with 'use strict', which catches variable name typos although the type checking is
still done at run time.
Or you can just use OCaml (Objective
Caml), which is garbage collected and dynamic like
Perl/PHP/Tcl/Ruby/Python, but also has strong inference-based type checking
(somewhat like C/C++/Pascal, except that you never have to declare types - it just
infers all types, working up from the constants and operators). OCaml is almost
unique in having the ease of programming of a dynamic byte-code interpreted
language (a la Perl) and the option to compile to truly efficient machine code
(which is sometimes faster than C, due to more optimisation enabled by stronger
type checking, see link above for details). Well worth a look.
(
Log in to post comments)