TweetFollow Us on Twitter

Apr 91 Letters
Volume Number:7
Issue Number:4
Column Tag:Letters

Overseas Letters and Required OOP

By Kirk Chase, Editor

December 1990 comments

Jon Kleiser

Oslo, Norway

Some comments/answers to articles/letters in the December issue.

• On page 76, Modula-2 Mods / Discrete-Event Simulations, Allen Stenger says:

“But the language of choice for simulation work is an old one, SIMULA 67.

...

As far as I know, none of these specialized simulation languages is available on the Macintosh.”

My comment:

A SIMULA compiler for the Macintosh is available from

Lund Software House

P.O. Box 7056

S-220 07 LUND

Sweden

UUCP address: ...MCVAX!ENEA!DNA!BORIS

Telephone: +46-46-108044 Telefax: +46-46-131021

It requires MPW. The price (if any!) is unknown.

One of the creators of Simula, professor Kristen Nygaard at the University of Oslo, has now created a new programming language called BETA. As far as I know, BETA covers most or all of SIMULA, and much more. BETA is also available for the Macintosh, partly thanks to Apple, Cupertino.

An extensive article about BETA appeared in the Salamanca EUC Conference Proceedings (1990). You may get more info about BETA from

Mjølner Informatics ApS

(Attn.: J. Lindskov Knudsen, O. Lehrmann Madsen)

Science Park Aarhus

Gustav Wieds Vej 10

DK-8000 AARHUS C

Denmark

E-mail addresses: mjolner@mjolner.dk

jlknudsen@daimi.dk

olmadsen@daimi.dk

Telephone: +45-86-202000

In the future we may see regular articles about SIMULA or BETA in MacTutor. (Who knows?)

• Page 92, Mousehole Report, From: Derek, Re: BBS Writing ...

My comment:

I had much the same needs as Derek, and I decided to write my own BBS software. Since I am very fond of HyperCard, I used that, and I am quite pleased with the results. My BBS has been in use at a test site for about four months. However, it’s all Norwegian. I may translate it into English one day, but I can’t say when.

Simula-67 For The Mac

Erik Svensson

FOA 22 (National Defense Research Est.)

Stockholm, Sweden

In the December issue of MacTutor, there was an article by Mr. Allen Stenger. In the article, he mentions Simula-67 and professes to no Simula-67 available for MPW. It’s sold (and Made) by Lund Software House AB (full address at the end). The compiler confirms to the SIMULA standard and has no restrictions. The data segment is restricted to 32K, and this places some restrictions on the total size of the program. The data segment is used for:

1: local variables of the run-time system

2: for templates (a description of a block used by the RTS)

3: for strings and floating-point numbers used in the program

This means that a SIMULA program can’t be bigger than between 4000-10000 lines of source.

Also the generated code for a block may not be bigger than 32K, but in practice this is not a problem. Note the above applies to version 4.07. There might well have been changes to newer versions.

I might add that FOA, a long time user of Simula for both event-driven simulations and general programming is converting (or has converted) to Ada, mostly due to industry demands.

The address to Lund Software House is

Lund Software House AB

Box 7056

S-200 07 Lund

Sweden

Smalltalk Benchmarks

Jean-Luc Schmitt

Héry, France

As the OOP stream is going stronger in the Mac world, MacTutor forgets Smalltalk and specially the implementation from DIGITALK. I have tried the benchmarks you ran for Prograph. For the accuracy test, it took 0.733 seconds, and for the sieve test, 16.866 seconds on an SE/30 (without any add-on). As long as the tests are meaningful, the results are good if you consider that Smalltalk/V is not native 680X0 code but uses a virtual machine and byte-code.

The following is the Smalltalk/V code:

“accuracy test” | x s start stop|
start := MTrap TickCount.
x := 0.0. s:= 0.0.
1000 timesRepeat: [ s:= s + (x * x). x := x + 0.00123].
stop := MTrap TickCount. ^(stop - start)/60

“Sieve test”
| flags k count k prime start stop|
start := MTrap TickCount.
10 times Repeat:
[flags := Array new : 8191. count := 0.
1 to:8191 do: [:i|flags at:i put: 1].
1 to:8191 do: [:i|(flags at: i) = 0
 ifFlase: [prime := i + i + 3. k := i + prime.
 [k <= 8190]
 whileTrue:[flags at: k put: 0. k:= k + prime].
count := count + 1]]].
stop := MTrap TickCount. ^(stop - start)/60

Benchmark Challenge or Brain Challenge?

Conrad Weyns

Oslo, Norway

About “Benchmark Challenge. Walt Davis, Steve Bayer” in the September issue.

Looking at their Table1 and Graph1, I ponder upon two questions, both to do with the results of the “Case” examples:

- Does the processing time get close to zero if the control variable “b” were to increase further?? (Hurry and buy Symantec’s Pascal in that “case”)

- Why is the processing time in the Case-examples constant?

Please publish a disassembly of the produced code. It should be most enlightening!

And let me congratulate: A timing of 20 seconds for either 1x1million or 15x1million useless Pascal Case-tests on a MacPlus is about 3 times better than I can manage with assembly .

Here is a list of the Mach2 Forth Case-equivalents. (I won’t divulge what the If-Else-Then equivalent used: too much parameter fetching, pushing and popping). Run on a MacPlus, in Secs & Ticks, with 60 Ticks = 1 sec.

b Forth-Case my-poor-Assembler-Case

1 18-56 9-43

2 23-57 13-19

3 29-26 16-47

4 34-22 20-21

5 39-17 23-53

14 85-26 55-27

15 90-13 59-08

>15 88-15 59-06


Included in both the Forth and the Assembler “Case” is the time used by the MACH2 Forth DO-LOOP construct which was a constant of 3 secs and 44 ticks.

My Assembler is lousy, or my MacPlus is living a life of its own.

Still, I took up the challenge, didn’t I ? With many regards to MacTutor, I would not miss it for the world.

On Location Helps Developers

David Kramer

Montréal, Canada

I recently purchased On Location, and I’ve found an interesting way that programmers can use this indexing utility. I have about 4Mb of sample source code scattered through thousands of files (TML Source Code, Apple DTS code, etc.). I’ve used On Location to fully index these files. Now, when I need an example of how to use any function, I just call up On Location and search for all of these references to this function from my source code collection. In addition, I can view the text in each sample source code file and cut & paste into my own program. It’s fast, and it’s a great way of learning.

Required OOP

Jeffrey Evans

Kirkland, WA

Several times I’ve started to write about this, but have always preferred to spend my time on other things. Seeing yet another discussion of Apple’s supposed intent to require object programming has finally gotten me into the word processor.

Many times in the last year I’ve heard this talk: programmers will eventually be required to use object programming to work on the Mac. People have gone on and on about it.

The whole thing started with an article in Apple Direct in which a certain Apple guru made the announcement that future operating systems would require OOP. He was very explicit, even saying, “there-we can’t be any more clear about it,” or words to that effect, and added that those who don’t learn OOP now will have to learn it later. At the time I discussed this with a friend, and, dumb guys that we may be, neither of us could figure out a way that such a trick could be accomplished without leaving behind ALL existing Macintosh software, something no sane company would consider doing. So I wrote the author of said article and, guess what-he replied that he didn’t really mean it.

What he really meant was that he thinks object programming is neat and that, in the future, those who use it will be more successful, so that everyone else will “have to” use it in order to compete. In a manner of speaking.

Clearly, this is not the same thing as saying that “Apple will require OOP in future operating systems.” In fact, it’s the same sort of thing that could be said by any committed fan of any programming environment. But no correction has ever been issued, and editor and readers everywhere apparently have swallowed this dubious-sounding proposition without a trace of doubt. It ain’t true.

February Correction

A line, at the bottom of page 22 in the February 1991 issue was inadvertently left off. The line reads as follows:

"The cursorEvt event informs the EA that the cursor is inside"

 
AAPL
$100.58
Apple Inc.
+0.01
MSFT
$45.22
Microsoft Corpora
+0.27
GOOG
$583.37
Google Inc.
-1.12

MacTech Search:
Community Search:

Software Updates via MacUpdate

Pages 5.2.2 - Apple's word processo...
Apple Pages is a powerful word processor that gives you everything you need to create documents that look beautiful. And read beautifully. It lets you work seamlessly between Mac and iOS devices. And... Read more
Quicken 2015 2.0.1 - Complete personal f...
The new Quicken 2015 helps you manage all your personal finances in one place, so you can see where you're spending and where you can save. Quicken automatically categorizes your financial... Read more
CleanMyMac 2.2.7 - Delete files that was...
CleanMyMac makes space for the things you love. Sporting a range of ingenious new features, CleanMyMac 2 lets you safely and intelligently scan and clean your entire system, delete large, unused... Read more
MacFamilyTree 7.2.4 - Create and explore...
MacFamilyTree gives genealogy a facelift: it's modern, interactive, incredibly fast, and easy to use. We're convinced that generations of chroniclers would have loved to trade in their genealogy... Read more
Videobox 4.1.1 - Download Flash video th...
Videobox allows you to quickly and easily download Flash video from most all of the popular video sites on the internet. Videobox will convert the video into a native Quicktime format so it's ready... Read more
Web Snapper 3.3.5 - Capture entire Web p...
Web Snapper lets you capture Web pages exactly as they appear in your browser. You can send them to a file as images or vector-based, multi-page PDFs. It captures the whole Web page - eliminating... Read more
Picasa 3.9.138 - Organize, edit, and sha...
Picasa and Picasa Web Albums allows you to organize, edit, and upload your photos to the Web from your computer in quick, simple steps. Arrange your photos into folders and albums and erase their... Read more
Tidy Up 3.0.15.0 - Find duplicate files...
Tidy Up is a complete duplicate finder and disk-tidiness utility. With Tidy Up you can search for duplicate files and packages by the owner application, content, type, creator, extension, time... Read more
Parallels Desktop 10.0 - Run Windows app...
Parallels Desktop is simply the world's bestselling, top-rated, and most trusted solution for running Windows applications on your Mac. With Parallels Desktop for Mac, you can seamlessly run both... Read more
Apple Final Cut Pro X 10.1.3 - Professio...
Apple Final Cut Pro X is a professional video editing solution.Completely redesigned from the ground up, Final Cut Pro adds extraordinary speed, quality, and flexibility to every part of the post-... Read more

Latest Forum Discussions

See All

DotEmu Summer Sale Cuts Several Games’ P...
DotEmu Summer Sale Cuts Several Games’ Prices to $0.99 Posted by Ellis Spice on August 21st, 2014 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
King Announces its Newest “Saga” – Diamo...
King Announces its Newest “Saga” – Diamond Digger Saga Posted by Jessica Fisher on August 21st, 2014 [ permalink ] Diamond Digger Saga, by King Digital Entertainment, promises to be another addictive, adorable game in the “Saga” | Read more »
Spacetime Studios’ Greg Mueller Tells Al...
| Read more »
TourStar Review
TourStar Review By Rob Thomas on August 21st, 2014 Our Rating: :: BORING TOURINGUniversal App - Designed for iPhone and iPad When The Ramones sang “Touring, touring/It’s never boring,” they clearly weren’t referring to TourStar.... | Read more »
Track Your Pregnancy with Glow Nurture
Track Your Pregnancy with Glow Nurture Posted by Jessica Fisher on August 21st, 2014 [ permalink ] iPhone App - Designed for the iPhone, compatible with the iPad | Read more »
Outcast Odyssey – An Interview with the...
At this year’s San Diego Comic-Con, fans got the chance to meet and mingle with several of the artists behind Magic Pixel Games and Namco Bandai’s upcoming card battler, Outcast Odyssey. Considering many of these artists have worked on comics in the... | Read more »
BoxPop Review
BoxPop Review By Jennifer Allen on August 21st, 2014 Our Rating: :: UNTAXING PUZZLESUniversal App - Designed for iPhone and iPad Move from tile to tile to clear the board in this slightly too simple and easy puzzle game.   | Read more »
Breakdown Buddy Review
Breakdown Buddy Review By Jennifer Allen on August 21st, 2014 Our Rating: :: FLAWED CONCEPTiPhone App - Designed for the iPhone, compatible with the iPad There’s a good idea here, but Breakdown Buddy isn’t as useful as it tries to... | Read more »
jamstik, the Guitar You Can Take Everywh...
jamstik, the Guitar You Can Take Everywhere, is Now Available for Purchase Posted by Jessica Fisher on August 21st, 2014 [ permalink ] Zivix has announced that their guitar-in-your-pocket, | Read more »
Star Walk 2 - Guide to the Sky Day and N...
Star Walk 2 - Guide to the Sky Day and Night 1.0.0 Device: iOS Universal Category: Education Price: $2.99, Version: 1.0.0 (iTunes) Description: The next generation of the best-selling Star Walk, winner of Apple Design Award, used by... | Read more »

Price Scanner via MacPrices.net

21-inch iMacs on sale for up to $150 off MSRP
B&H Photo has 21″ iMacs on sale for up to $150 off MSRP including free shipping plus NY sales tax only. B&H will also include a free copy of Parallels Desktop software: - 21″ 2.7GHz iMac: $... Read more
27-inch 3.2GHz iMac on sale for $1698, save $...
Abt has the 27″ 3.2GHz iMac on sale for $1698 including free shipping. Their price is $101 off MSRP. Read more
Mac Backup Guru 2.0 Drive Backup/Cloneing Uti...
Mac Backup Guru developer MacDaddy has released Mac Backup Guru 2.0, offering new and enhanced advanced features, such as bootable backups, synchronised volumes and folders, and a Snapshot mode that... Read more
Operate GE’s New Free-Standing KItchen Range...
Think you accidentally left the oven on? Switch it off while on the go. The new free-standing Profile™ Series gas and electric ranges are GE’s second cooking appliances, following their wall oven, to... Read more
Parallels Announces Parallels Desktop 10 for...
The no. 1-selling software for running Windows applications on a Mac becomes an even easier choice for millions of consumers and IT professionals worldwide with the launch of the most powerful... Read more
Apple now offering certified refurbished 2014...
 The Apple Store is now offering Apple Certified Refurbished 2014 MacBook Airs for up to $180 off the cost of new models. An Apple one-year warranty is included with each MacBook, and shipping is... Read more
Best Buy’s College Student Deals: $100 off Ma...
Take an additional $100 off all MacBooks and iMacs, $50 off iPad Airs and iPad minis, at Best Buy Online with their College Students Deals Savings, valid through September 6th. Anyone with a valid .... Read more
MacBook Airs on sale for $100 off MSRP, free...
B&H Photo has three 2014 MacBook Airs on sale for $100 off MSRP. Shipping is free, and B&H charges NY sales tax only. They also include free copies of Parallels Desktop and LoJack for Laptops... Read more
Razer Taipan Mouse For Gamers And Non-Gamers...
If you’re a serious gamer on either Mac or Windows PCs, a serious gaming mouse is a necessity for first-tier performance. However, even if like me you’re not much of a gamer, there’s still a strong... Read more
15-inch 2.2GHz MacBook Pro on sale for $1899,...
Adorama has the new 15″ 2.2GHz Retina MacBook Pro on sale for $1899 including free shipping plus NY & NJ sales tax only. Their price is $100 off MSRP, and it’s the lowest price available for this... Read more

Jobs Board

*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
Position Opening at *Apple* - Apple (United...
**Job Summary** As more and more people discover Apple , they visit our stores seeking ways to incorporate our products into their lives. It's your job, as a Store Read more
Position Opening at *Apple* - Apple (United...
…Summary** As a Specialist, you help create the energy and excitement around Apple products, providing the right solutions and getting products into customers' hands. You Read more
Project Manager, *Apple* Financial Services...
**Job Summary** Apple Financial Services (AFS) offers consumers, businesses and educational institutions ways to finance Apple purchases. We work with national and Read more
*Apple* Solutions Consultant (ASC)- Retail S...
**Job Summary** The ASC is an Apple employee who serves as an Apple brand ambassador and influencer in a Reseller's store. The ASC's role is to grow Apple Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.