Browse thread
Re: Can someone explain?
- Juergen Pfitzenmaier
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 1999-10-14 (13:01) |
From: | Juergen Pfitzenmaier <pfitzen@i...> |
Subject: | Re: Can someone explain? |
Lyn A Headley wrote: > An ocaml "port" of STL would kick ass. especially, think how well > iterators would combine with closures! The C++ notion of "function > objects" and "adaptors" looks clumsy in comparison (e.g. you cannot > create a localized class object) Hmm, don't know if it would be the same nice thing as in C++. A year ago I added a GC to the STL containers so there's some experience of what can happen if you try this in ocaml. Some algorithms using the STL are built around the fact that certain iterators and the value they refer to don't change if you treat the container ``nicely''. To keep these algos working was quite some pain. Haven't really thought about what happens if the GC is a real member of the language and not just an add-on. May be things are easier then but I wouldn't bet on it. ciao pfitzen