huh? C modules (translation units) allow you to decide
what gets exported (extern linkage) and what does not (static
linkage). Accessibility is controlled separately (with header
files).
Yes that's true.
The problem is more exactly "exported by default" in C :)
Futhermore with dynamic loading you can load any
exported symbol from any library entirely dynamically.
I have some problems with the C dynamic linker.
On windows when you build a DLL you explicitly choose which methods and
fields to export, while on other systems a DLL is just a dynamic object
with no interface filtering.
C++ gives you more options .. and Felix even more
(you can construct a module to contain just about any
thing you want in Felix).
Hmm .. does Neko have private symbols? If you have
$export you need that (privates don't get exported,
its for helpers that are part of the implementation
but not part of the interface).
What is the difference with globals ?
Nicolas
--
Neko : One VM to run them all (http://nekovm.org)