Peter Bortas @ Pike developers forum wrote:
They are created in __builtin: e.g. __builtin.Timestamp etc. They are made available in the root through a constant linking Timestamp to __builtin.Timestamp. It should allow you to write simple code like:
Timestamp my_new_timestamp = Timestamp();
Those are way to generic to be made global without a real discussion. If they have been checked into 8.1 then expect them to be backed out as soon as I need to do a dist.
Well, they currently are not referenced from within the rest of Pike, except through their __builtin.* references. The global namespace usage will only be used from userspace. So if we decide to move them elsewhere, that's fine. It's just that I myself couldn't come up with anything better than simply a global type; anything else seemed silly from a user standpoint.