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"

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Fresh From the Land Down Under – The Tou...
After a two week hiatus, we are back with another episode of The TouchArcade Show. Eli is fresh off his trip to Australia, which according to him is very similar to America but more upside down. Also kangaroos all over. Other topics this week... | Read more »
TouchArcade Game of the Week: ‘Dungeon T...
I’m a little conflicted on this week’s pick. Pretty much everyone knows the legend of Dungeon Raid, the match-3 RPG hybrid that took the world by storm way back in 2011. Everyone at the time was obsessed with it, but for whatever reason the... | Read more »
SwitchArcade Round-Up: Reviews Featuring...
Hello gentle readers, and welcome to the SwitchArcade Round-Up for July 19th, 2024. In today’s article, we finish up the week with the unusual appearance of a review. I’ve spent my time with Hot Lap Racing, and I’m ready to give my verdict. After... | Read more »
Draknek Interview: Alan Hazelden on Thin...
Ever since I played my first release from Draknek & Friends years ago, I knew I wanted to sit down with Alan Hazelden and chat about the team, puzzle games, and much more. | Read more »
The Latest ‘Marvel Snap’ OTA Update Buff...
I don’t know about all of you, my fellow Marvel Snap (Free) players, but these days when I see a balance update I find myself clenching my… teeth and bracing for the impact to my decks. They’ve been pretty spicy of late, after all. How will the... | Read more »
‘Honkai Star Rail’ Version 2.4 “Finest D...
HoYoverse just announced the Honkai Star Rail (Free) version 2.4 “Finest Duel Under the Pristine Blue" update alongside a surprising collaboration. Honkai Star Rail 2.4 follows the 2.3 “Farewell, Penacony" update. Read about that here. | Read more »
‘Vampire Survivors+’ on Apple Arcade Wil...
Earlier this month, Apple revealed that poncle’s excellent Vampire Survivors+ () would be heading to Apple Arcade as a new App Store Great. I reached out to poncle to check in on the DLC for Vampire Survivors+ because only the first two DLCs were... | Read more »
Homerun Clash 2: Legends Derby opens for...
Since launching in 2018, Homerun Clash has performed admirably for HAEGIN, racking up 12 million players all eager to prove they could be the next baseball champions. Well, the title will soon be up for grabs again, as Homerun Clash 2: Legends... | Read more »
‘Neverness to Everness’ Is a Free To Pla...
Perfect World Games and Hotta Studio (Tower of Fantasy) announced a new free to play open world RPG in the form of Neverness to Everness a few days ago (via Gematsu). Neverness to Everness has an urban setting, and the two reveal trailers for it... | Read more »
Meditative Puzzler ‘Ouros’ Coming to iOS...
Ouros is a mediative puzzle game from developer Michael Kamm that launched on PC just a couple of months back, and today it has been revealed that the title is now heading to iOS and Android devices next month. Which is good news I say because this... | Read more »

Price Scanner via MacPrices.net

Amazon is still selling 16-inch MacBook Pros...
Prime Day in July is over, but Amazon is still selling 16-inch Apple MacBook Pros for $500-$600 off MSRP. Shipping is free. These are the lowest prices available this weekend for new 16″ Apple... Read more
Walmart continues to sell clearance 13-inch M...
Walmart continues to offer clearance, but new, Apple 13″ M1 MacBook Airs (8GB RAM, 256GB SSD) online for $699, $300 off original MSRP, in Space Gray, Silver, and Gold colors. These are new MacBooks... Read more
Apple is offering steep discounts, up to $600...
Apple has standard-configuration 16″ M3 Max MacBook Pros available, Certified Refurbished, starting at $2969 and ranging up to $600 off MSRP. Each model features a new outer case, shipping is free,... Read more
Save up to $480 with these 14-inch M3 Pro/M3...
Apple has 14″ M3 Pro and M3 Max MacBook Pros in stock today and available, Certified Refurbished, starting at $1699 and ranging up to $480 off MSRP. Each model features a new outer case, shipping is... Read more
Amazon has clearance 9th-generation WiFi iPad...
Amazon has Apple’s 9th generation 10.2″ WiFi iPads on sale for $80-$100 off MSRP, starting only $249. Their prices are the lowest available for new iPads anywhere: – 10″ 64GB WiFi iPad (Space Gray or... Read more
Apple is offering a $50 discount on 2nd-gener...
Apple has Certified Refurbished White and Midnight HomePods available for $249, Certified Refurbished. That’s $50 off MSRP and the lowest price currently available for a full-size Apple HomePod today... Read more
The latest MacBook Pro sale at Amazon: 16-inc...
Amazon is offering instant discounts on 16″ M3 Pro and 16″ M3 Max MacBook Pros ranging up to $400 off MSRP as part of their early July 4th sale. Shipping is free. These are the lowest prices... Read more
14-inch M3 Pro MacBook Pros with 36GB of RAM...
B&H Photo has 14″ M3 Pro MacBook Pros with 36GB of RAM and 512GB or 1TB SSDs in stock today and on sale for $200 off Apple’s MSRP, each including free 1-2 day shipping: – 14″ M3 Pro MacBook Pro (... Read more
14-inch M3 MacBook Pros with 16GB of RAM on s...
B&H Photo has 14″ M3 MacBook Pros with 16GB of RAM and 512GB or 1TB SSDs in stock today and on sale for $150-$200 off Apple’s MSRP, each including free 1-2 day shipping: – 14″ M3 MacBook Pro (... Read more
Amazon is offering $170-$200 discounts on new...
Amazon is offering a $170-$200 discount on every configuration and color of Apple’s M3-powered 15″ MacBook Airs. Prices start at $1129 for models with 8GB of RAM and 256GB of storage: – 15″ M3... Read more

Jobs Board

*Apple* Systems Engineer - Chenega Corporati...
…LLC,** a **Chenega Professional Services** ' company, is looking for a ** Apple Systems Engineer** to support the Information Technology Operations and Maintenance Read more
Solutions Engineer - *Apple* - SHI (United...
**Job Summary** An Apple Solution Engineer's primary role is tosupport SHI customers in their efforts to select, deploy, and manage Apple operating systems and Read more
*Apple* / Mac Administrator - JAMF Pro - Ame...
Amentum is seeking an ** Apple / Mac Administrator - JAMF Pro** to provide support with the Apple Ecosystem to include hardware and software to join our team and Read more
Operations Associate - *Apple* Blossom Mall...
Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.