TweetFollow Us on Twitter

June 91 - Man About Town-News from San Jose

Man About Town-News from San Jose

Howard Katz

Another Worldwide Developer's Conference has come and gone, MacApp 3.0's moving into its next alpha phase, and a decision has been made about the official source language for MacApp 3.0. Where should I start this week? How about with the latter?

MACAPP 3.0 AND C++

The word is out on the question of the MacApp 3.0 source, and it's official: Tom Chavez reports that MacApp 3.0 is going to be maintained in C++, and that's it: a separate source will not be maintained in Object Pascal or produced at a later date through some sort of translation mechanism (one of the suggestions raised earlier).

Is that bad news for Object Pascal users and THINK Pascal types in particular? To be honest, it could have been worse. True, you won't be able to read MacApp sources in Object Pascal, but that doesn't mean you won't be able to program in Object Pascal.

Apple has been working with Symantec to make sure there's an optional switch so that the MacApp library can be produced in a ".o" linkable format that's usable from the THINK Pascal environment. You won't have MacApp source in Object Pascal; you will have an Object Pascal-compatible library.

The biggest loss: you'll no longer be able to single-step through the MacApp sources using THINK's wonderful high level debugging environment. And that's a real shame. So, the question comes to mind-is it livable? Maybe a better question at this point would be-do you have a choice? Like I said, it could have been worse.

CLIMBING THE FENCE

If you're an inveterate Pascal user like myself, what do you do? One choice is to stay with THINK, shrug your shoulders and just accept the situation. Another is to maybe shudder a little bit, then settle in for a long session with Bjarne Stroustrup's "The C++ Programming Language."

Everyone's got to make their own decision. Me? I'm making-very hesitantly and with no small degree of anxiety-a painstakingly slow move across to the C++ side of the fence, after some time spent with THINK C along the way to help fortify my nerves.

But it's tough, it's tough. It's almost embarrassing to see a grown man like myself reduced to such a trembling mass of shakes and quivers. I'll keep you informed as to whether or not I survive the transition. For motivation, I've got a fun little project in mind, that will also get me into Apple Events. I'll be reporting in periodically.

PASCAL '9X UPDATE

Here's something I wanted to talk about in my last column, but it got crowded out by other issues. Derek White from Kurt Schmucker's ATG group in Columbia, Maryland has been quietly working away on the official language specification for Pascal '9x. It's hoped that this project will provide a version of Object Pascal that's feature-compatible with the object-oriented extensions in C++.

Much of Derek's work now consists of formalizing the conclusions that were reached during the '9x session held at the MADA conference in February. He sent me a note summarizing what happened during the session, and I want to quickly run through some of the highlights.

About 45 developers sat in for the four-hour round table discussion. Derek got a hand running things from Kurt and Harvey Alcabes. There was a general consensus that it's important to ship a product as soon as possible, and that in order to do that, the language should be released in phases, with the core, essential features coming first.

MOST POPULAR REQUESTS

Harvey took a poll of what features developers wanted. The winner, far and away, was better encapsulation of data using a mechanism similar to C++'s use of public, protected, and private keywords. As Derek stated, this one's a real winner. It's not that hard for compiler writers to implement, and users find it pretty easy to understand.

What turned out to be more surprising was that everybody wanted to see value-based objects, in which an object variable is the object itself, rather than a reference to an object through either a pointer or a handle. Value-based objects are also referred to as stack-based objects; they get allocated and deallocated automatically on entry to a local stack frame.

To be sure, if you still want an object reference, you can just declare the object as a pointer to a class. But all you C++ nerds knew that already; it's just us unregenerate Pascal types that have to figure this sort of thing out for the first time. (It hurts my head!)

Finally, in the features race, abstract methods and classes placed a distant third.

Most of the session seemed to deal with the issue of constructors, a topic that confused just about everybody. Fully a third of Derek's summary was devoted to more than I ever wanted to know about the subject-be happy that I'm not passing that information on to you! Lots of suggestions were made during the session, but no final consensus on constructors was reached, except that a lot more exploration was called for.

And that's what Derek's been doing since February, with an occasional week off to join his ANSI colleagues from DEC, Microsoft, and Symantec as they work at developing a standard set of features for an object-oriented extension to Pascal. (Now I know what compiler writers do to relax in their time off!)

VOLUME VI

I came back from the Developer's Conference in San Jose with two amazing pieces of documentation: Volume 6 of Inside Macintosh and a slim, unprepossessing little volume titled the Apple Event Object Support Library. First about the new Inside Macintosh…

The scary thing about the new volume is that it's over 1,800 pages long-but the scarier thing about the latest Inside Mac is that it's all new. This volume doesn't replace the first five volumes, it appends them! The entire volume deals strictly with System 7.0-related information, and it's immense!

This is the first time I've paid attention to System 7.0-I guess I subconsciously considered it vaporware until I finally saw the real thing in San Jose-and now I find myself torn between a heady fascination with all the new technical information, and pure, palpitating fear at the scope of what I'm going to have to learn to bring myself up to date.

I mean, we're talking major insecurity; there's a lot of stuff here. It strikes me that the stakes for Apple developers have just gone up tremendously. You know, I thought I already paid my dues!

APPLE EVENTS ARE KEY

I've been spending hours and hours reading and rereading Chapter 6 on the Apple Event Manager. It strikes me that this is the core of what's most important in System 7.0, and that it has far reaching implications.

What those are exactly, I don't have much of a clue at this point. It's more just a sense that the whole concept of cooperating applications is going to radically-and I mean radically-change the way we view the Mac. I don't think anybody can visualize all the ramifications at this point. But it's pretty clear that Apple events are key.

APPLE EVENT OSL

Which brings me back to the other piece of literature I brought back from San Jose. The Apple Event Object Support Library documentation is a lot slimmer than its Inside Macintosh cousin, by at least an order of magnitude, but I think it also has ramifications that are probably just as important in the long run.

Again, this is just a sense on my part. Because, to be honest, I don't understand half of what's in this little guide. It's not too difficult; on the contrary, it's far too easy! It just happens to present some concepts that are different enough from the way I'm used to thinking that I haven't had that "Aha!" experience yet, where everything suddenly falls into place with a bright, crystal-clear focus. But it's coming; it's coming-I can feel it!

So what does this slim little volume talk about? If I understand correctly-and again, I couldn't swear to it -Apple Events describe a protocol for specifying how data is to be transferred back and forth between applications. However, it doesn't say anything about the internal significance of the data. That's up to your applications to agree on. And this is where the Object Support Library comes in.

What the OSL does, apparently, is provide a language that applications can use to talk about their data and make meaningful requests of each other, without having to know anything about the internals of their data. It's like a protocol for data, similar to the Apple Event protocol for event messaging. And I think it's going to form the basis for some very interesting high-level scripting stuff coming down the pike. If you're interested in interesting things, the future looks promising indeed!

Does all this sound sufficiently vague and rambling? Do you think I've been smoking too many bananas? As I said, I don't fully understand all of this yet; it's just clear that it's nifty-peachy-keen, and it's going to be very important a year or two down the road, maybe less! So if I were you, I'd immediately run out and join the Apple Event Developer's Association and pick up a copy of their OSL specs. I don't have a mailing address handy-contact Apple if you need one-but their AppleLink address is (surprise!) AEDA.

THE MACAPP CONNECTION

Is there a MacApp connection to all this rambling, you might ask? Of course! There's some pretty good support built into MacApp 3.0 for Apple Events, particularly if you want to send them. There's not as much support built in for receiving them, if you want to play at being an Apple Event server, but that's coming. Remember, we're still pretty early alpha at this point.

There is no support right now for the Object Support Library, but that'll be showing up with the first beta of 3.0, according to Eric Berdahl, who's been pushing hard to have that happen. Eric has been doing some good stuff with Apple Events. He's got the C++ source for a nifty little application called "FotoMac" on the MADA conference disk. It does a nice job of showing how to do some simple Apple Event messaging in MacApp 3.0. Take a look.

That's it for this week. Back to Inside Mac, Apple Events, and perhaps some play in C++. You Pascal programmers out there, take heart; chin up-the future's rosier than you think.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

The beginner's guide to Warbits
Warbits is a turn-based strategy that's clearly inspired by Nintendo's Advance Wars series. Since turn-based strategy games can be kind of tricky to dive into, see below for a few tips to help you in the beginning. Positioning is crucial [Read... | Read more »
How to upgrade your character in Spellsp...
So you’ve mastered the basics of Spellspire. By which I mean you’ve realised it’s all about spelling things in a spire. What next? Well you’re going to need to figure out how to toughen up your character. It’s all well and good being able to spell... | Read more »
5 slither.io mash-ups we'd love to...
If there's one thing that slither.io has proved, it's that the addictive gameplay of Agar.io can be transplanted onto basically anything and it will still be good fun. It wouldn't be surprising if we saw other developers jumping on the bandwagon,... | Read more »
How to navigate the terrain in Sky Charm...
Sky Charms is a whimsical match-'em up adventure that uses creative level design to really ramp up the difficulty. [Read more] | Read more »
Victorious Knight (Games)
Victorious Knight 1.3 Device: iOS Universal Category: Games Price: $1.99, Version: 1.3 (iTunes) Description: New challenges awaits you! Experience fresh RPG experience with a unique combat mechanic, packed with high quality 3D... | Read more »
Agent Gumball - Roguelike Spy Game (Gam...
Agent Gumball - Roguelike Spy Game 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Someone’s been spying on Gumball. What the what?! Two can play at that game! GO UNDERCOVERSneak past enemy... | Read more »
Runaway Toad (Games)
Runaway Toad 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: It ain’t easy bein’ green! Tap, hold, and swipe to help Toad hop to safety in this gorgeous new action game from the creators of... | Read more »
PsyCard (Games)
PsyCard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: From the makers och Card City Nights, Progress To 100 and Ittle Dew PSYCARD is a minesweeper-like game set in a cozy cyberpunk... | Read more »
Sago Mini Robot Party (Education)
Sago Mini Robot Party 1.0 Device: iOS Universal Category: Education Price: $2.99, Version: 1.0 (iTunes) Description: -- Children's Technology Review Editor's Choice -- | Read more »
Egz – The Origin of the Universe (Games...
Egz – The Origin of the Universe 1.0.2 Device: iOS Universal Category: Games Price: $3.99, Version: 1.0.2 (iTunes) Description: ►►► Special offer until 2nd may : get the game at 2.99€ instead of 3.99€ ! ◄◄◄ Egz is a mesmerizing mix... | Read more »

Price Scanner via MacPrices.net

Apple restocks Certified Refurbished Mac mini...
Apple has restocked Certified Refurbished 2014 Mac minis, with models available starting at $419. Apple’s one-year warranty is included with each mini, and shipping is free: - 1.4GHz Mac mini: $419 $... Read more
15-inch 2.2GHz Retina MacBook Pro on sale for...
Amazon.com has the 15″ 2.2GHz Retina MacBook Pro on sale for $1699.99 including free shipping. Their price is $300 off MSRP, and it’s the lowest price available for this model from any reseller (and... Read more
Apple Beats Microsoft at Own Game; Amazon Pri...
First quarter seasonality combined with an overall disinterested customer base led to an annual decline of 14.7% in worldwide tablet shipments during the first quarter of 2016 (1Q16). Worldwide... Read more
Tablets Had Worst Quarter Since 2012, says St...
The global tablet market began 2016 just as 2015 left off, down. Tablet shipments fell 10% to 46.5 million units during the Q1 2016, according to the new “Preliminary Global Tablet Shipments and... Read more
Clearance 13-inch MacBook Airs, Apple refurbi...
Apple recently dropped prices on certified refurbished 2015 13″ MacBook Airs with 4GB of RAM with models now available starting at $759. An Apple one-year warranty is included with each MacBook, and... Read more
Clearance 12-inch Retina MacBooks, Apple refu...
Apple has dropped prices on Certified Refurbished 2015 12″ Retina MacBooks with models now available starting at $929. Apple will include a standard one-year warranty with each MacBook, and shipping... Read more
Aleratec Releases Mac Software Upgrade for 1...
California based Aleratec Inc., designer, developer and manufacturer of Portable Device Management (PDM) charge/sync products for mobile devices and professional-grade duplicators for hard disk... Read more
Sale! Amazon offers 27-inch iMac, 13-inch 2.9...
Amazon has the 27″ 3.2GHz 5K iMac and the 13″ 3.9GHz Retina MacBook Pro on sale for $300 off MSRP, each including free shipping, for a limited time: - 27″ 3.2GHz/1TB HD 5K iMac (model MK462LL/A): $... Read more
Apple refurbished 13-inch Retina MacBook Pros...
Apple has Certified Refurbished 13″ Retina MacBook Pros available for up to $270 off the cost of new models. An Apple one-year warranty is included with each model, and shipping is free: - 13″ 2.7GHz... Read more
13-inch 2.7GHz/128GB Retina MacBook Pro on sa...
Take $200 off MSRP on the price of a new 13″ 2.7GHz/128GB Retina MacBook Pro (model MF839LL/A) at Amazon. Shipping is free: - 13″ 2.7GHz/128GB Retina MacBook Pro: $1099.99 $200 off MSRP Act now if... Read more

Jobs Board

Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
Automotive Sales Consultant - Apple Ford Linc...
…you. The best candidates are smart, technologically savvy and are customer focused. Apple Ford Lincoln Apple Valley is different, because: $30,000 annual salary Read more
*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
*Apple* Solutions Consultant - Apple (United...
# Apple Solutions Consultant Job Number: 48260200 Phoenix, Arizona, United States Posted: Apr. 22, 2016 Weekly Hours: 40.00 **Job Summary** As an Apple Solutions Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.