Linked by Thom Holwerda on Sun 10th Sep 2006 20:38 UTC, submitted by fudel
Zeta Magnussoft, the company now responsible for development on Zeta, has announced it is accepting pre-orders for Zeta 1.21. This new release will include multi-user support, will be built with GCC4, among other improvements. Bernd Korz's weblog contains more information. Korz was (is?) the CEO of YellowTAB, the company that started Zeta. Read on for a short editorial on this announcement.
Thread beginning with comment 161187
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: multi user???
by JonathanBThompson on Mon 11th Sep 2006 01:26 UTC in reply to "RE[3]: multi user???"
Member since:



GCC 2.9x and anything above it are different in the binary layout of C++ CLASSES and are *incompatible* regardless of ELF. Clearly you've not done your homework, and misunderstood what I was writing, because your ignorance on the topic shows through horribly. Sure, the C linkage stuff is still compatible (I already stated that, if you paid any attention and had the comprehension, but that appears not to be the case) but C++ between 2.9x and anything above the 2.x gcc is NOT compatible, and binaries rely on how things are done in order to work correctly. Running old 2.9x C++ applications on a gcc version that's 3.x or greater simply will not work, because of how vtables, etc. are handled, and the BeOS C++ API relies on inheritance and the FBC problem is a manifestation of the binary layout of C++ classes as compiled. If BeOS didn't have C++ in its system libraries (all the various kits) it wouldn't matter.

Thus, the only way that 2.9x binaries will run on a system built with gcc 3.x or greater is if there's something that does a conversion for calls between 2.9x and the new libraries, and keeps local copies in the space of the 2.9x binaries of all the objects, where the thunking would have to be done with libraries built using 2.9x to either send messages via IPC to the new servers or by having everything done in 2.9x C++ call C routines that then called through newer libraries, or some assembly language conversions, but the net result is that you can't simply build a library using gcc 3.x that doesn't take that into account and have 2.9x C++ binaries be able to use it.

FYI, here's a link to Apple that mentions these details: I'd advise you read before you comment further.

Reply Parent Score: -2

RE[5]: multi user???
by Vanders on Mon 11th Sep 2006 08:49 in reply to "RE[4]: multi user???"
Vanders Member since:

This is not Slashdot. You are allowed to read a comment before you reply to it.

I believe rayiner was mearly suggesting that they can supply both a GCC 2.95 and GCC 4 version of the library, with different major numbers E.g. and Old applications will continue to use the "old" GCC 2.95 version of the library ( while any new applications compiled with GCC 4 will use the new GCC 4 version of the library ( There is no need to wrap the GCC 4 version of the library, although I agree it would be possible, and possibly even desirable if you wish to reduce redundency.

P.S: The cross-vendor C++ ABI solved the ABI compatability problem many years ago, and has been used by GCC since the release of GCC 3.0.
P.P.S: The fragile base class problem has nothing to do with the version of GCC you're using.

Reply Parent Score: 2

RE[6]: multi user???
by JonathanBThompson on Mon 11th Sep 2006 13:36 in reply to "RE[5]: multi user???"
JonathanBThompson Member since:

Rayiner has been treating many people in a very insulting condescending manner, reading every possible negative into answers, real or imagined to past posts, including mine: I am utilizing the golden rule in this case, as that seems to be all he understands when it comes to "being right" since he can't accept the possibility that someone can have a different interpretation and be right about something, or that someone could actually have replied too quickly for him to realize that's not entirely what the responder meant. Rayiner has a long history of going out of his way to be abusive and putting people down and lord his would-be expertise over everyone else.

For BeOS, it'd be a rather major hassle to run binaries using both versions of the C++ compiler because of the ABI differences and the fact that BeOS is so heavily C++-based that applications compiled for the 2.9x compiler and libraries won't interoperate correctly (if at all) with anything using a later version of the C++ compiler. The link I provided explains that the ABI is more complex than merely the class layout (which the fragile base class problem is tied into, and why it wouldn't be remotely feasible to do what Rayiner was suggesting: if he's invoking ELF linking things together between 2.x and using a 3.x library to interface with a 4.x system, and there's been other changes in the C++ compiler between that, indicates that he's not fully aware or thinking about binary layouts of C++ objects) but also in how C++ exceptions are handled. Thus, a 3.0 C++ application wouldn't fully work correctly with a 4.x library in many cases, regardless of the name mangling being resolved by the ELF loader. Sure, you can lie to a program loader, but that doesn't mean you will get what you want.

So in one respect, yes, you're right: the fragile base class problem doesn't change the fact one way or the other that you can't use 4.x or even 3.x binaries directly with a 2.x application, but it definitely doesn't help. However, there *is* a way to create a C++ API that doesn't suffer from the fragile base class problem, without using the hack that BeOS used to reserve space, or using the COM method of peeling off interfaces from the base class interface. But if there's any time to add things to the basic classes of Zeta, they might as well do it when transitioning to the 4.x compiler, so base classes have cleaner interfaces without worrying about the headers being in a weird mess, at least to start. At some point closer to Haiku R1 release date or shortly thereafter, I'll create a demonstration and proposal of the C++ API that isn't vulnerable to the fragile base class problem as a proposal for Haiku R2 (no, it doesn't reserve space, either!).

Reply Parent Score: 2

RE[6]: multi user???
by memson on Mon 11th Sep 2006 14:31 in reply to "RE[5]: multi user???"
memson Member since:

Vanders, BeOS doesn't use versioned Shared Objects for System libs. This then kills your entire point. BeOS != LINUX.

JT is right on this one. Listen to him.

To include the entire API again would needlessly expand the entire install base. If you are breaking binary compatibility, it should be all or nothing IMO. (Isn't that what Syllable dod to the original You then have issues like linking drivers to the Kernel, input filters to the input server, various bits and pieces to the App server. That's just the tip of the iceberg.

I've looked at writing a thunking layer for BeOS to allow GCC 3.x to be used in plain R5.03. Way, way too much work.

Reply Parent Score: 1

RE[5]: multi user???
by tristan on Mon 11th Sep 2006 10:58 in reply to "RE[4]: multi user???"
tristan Member since:

There's no need to be an arsehole.

Reply Parent Score: 1