Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Objective C++

Name: Anonymous 2011-05-18 14:24

Okay, so I'm thinking about working with Obj-C++ as opposed to its base languages, but I'm a little confused as to just how integrated they can be. Can a C++ namespace or class have members which are Objective C classes or types, and can Objective C classes have members which are C++ classes? No, I'm not talking about inheritance, but something like


class someSepplesClass {
NSString* voo
NSUInteger var
};

Name: Anonymous 2011-05-18 18:36

>>13
Windows (NT) is way more of a UNIX clone than most realize.  Compare Windows NT to modern UNIX and you will find that they both have:
* C implementation, C ABI, and C API
* similar process models (each process has its own virtual address space, file descriptors, permissions/owner for security)
* paged virtual memory with the same features available to proceses (shared between processes, memory-mapped files, etc)
* similar threading models (native threads are independently scheduler by the kernel, threads belong to a process share the same address space)
* similar filesystem model (files must be opened by name, all access to that file is through a handle/descriptor, different synchronous and asynchronous ways to perform I/O)
* similar IPC mechanisms (network communication, named pipes, standard input/output, shared memory, message passing)
* similar device, file, and network I/O models (per-process handles or file descriptors are used for device access, accessing files, and network sockets)
* user/group support (NT has very complex Access Control Lists... modern UNIX has ACLs too)
* similar kernel/user functionality split

The APIs and implementations are quite different (generally much more complex in the NT kernel), but the functionality maps nearly 1:1.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List