Archicad C++ API
About Archicad add-on development using the C++ API.

Can someone settle a bet?

Anonymous
Not applicable
Well - not REALLY a bet... however one of my coworkers appears convinced - or had HEARD - that ArchiCAD's kernel (my words) was written in BASIC - and thus assumed that it is also COMPILED in BASIC.

I'd have assumed that the original program was written and compiled in either FORTRAN (such was the fashion at the time, no?) or C. Can you solve this question - just for the sake of our curiosity.

thanks
Jonathan
11 REPLIES 11
TomWaltz
Participant
From my understanding, kind of, but not really.

The Object Libraries are written in GDL, Geometric Description Language, which is just BASIC, with a bunch of custom commands/functions added in.

The actual Archicad program is done in a strange combination of C and C++, the former for older functions in the program, the latter for newer ones and many add-ons. It is compiled in Visual Studio for Windows and Codewarrior for Apple.

I cannot say what the original was done in.
Tom Waltz
Karl Ottenstein
Moderator
I have no idea. But, I'd be extremely surprised if the kernel was written in Basic.

The first versions of ArchiCAD were for, what, the Apple II? I suspect to get any kind of performance back then, with limited memory/etc, that they used assembly language.

Fortran would be a complete surprise, as there is nothing about Fortran that is suitable for the development of something like ArchiCAD. C has been around for longer than ArchiCAD itself, and so I suspect that even the original code was C.

As far as we are told, AC has been rewritten over recent years, and so based on the API, as Tom says, we must assume that it is a combination of C and C++.

As to resolving your bet ... someone from GS will have to reveal the truth. 😉

Karl
One of the forum moderators
AC 27 USA and earlier   •   macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Ralph Wessel
Mentor
JD wrote:
I'd have assumed that the original program was written and compiled in either FORTRAN (such was the fashion at the time, no?) or C.
It was almost certainly written in C. The first version was written for the early Macs, and no suitable flavour of BASIC was available.

Other possible ingredients are Pascal (popular on the early Mac OS) or assembler. Fortran is unlikely as it would have been difficult to leverage the Mac OS API effectively.
Ralph Wessel BArch
Rob
Graphisoft
Graphisoft
I think it was PASCAL...
"1984 In 1984, a Hungarian physicist, Gabor Bajor, smuggled two Macs into his country. At the time, ownership of personal computers was illegal under Communist rule. Using Pascal, he and a teenager, Tamas Hajas worked to write a 3D CAD program for the Mac which will be the beginning of Graphsoft Company"

check it out at:
http://mbinfo.mbdesign.net/CAD1980.htm

I am not sure if it's a reliable source though.
::rk
Anonymous
Not applicable
I don't think Diehl Graphsoft and Graphisoft are the same company..
Rob
Graphisoft
Graphisoft
I don't think Diehl Graphsoft and Graphisoft are the same company..
I think it's just typos in the text, names are correct - Gabor Bojar (misspelt as well) and Tamas Hajas.
::rk
Karl Ottenstein
Moderator
Rob wrote:
I think it was PASCAL...
Good searching, Rob! And, my favorite language for many years, before Modula 2, and then ...

Here's that text on a another web site, but I don't know why it does not give Tamas credit there.

http://www.upfrontezine.com/travel/budapest.htm

Karl
One of the forum moderators
AC 27 USA and earlier   •   macOS Ventura 13.6.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Rob
Graphisoft
Graphisoft
Assembler for Motorola 68xxx was my choice those days discovering preemptive multitasking with Commodore Amiga and OS Amiga Workbench. I just can not believe I was able to actually program anything in that crazy code, using registers, flags, effective addresses, bit tesing etc..
::rk
Greg Kmethy
Graphisoft
Graphisoft
As far as I know - altough I was in secondary school then... - early ArchiCAD versions were written in Pascal, and by the time the Windows version came out, it was re-written in C.
Gergely Kmethy
VP, Customer Success, Graphisoft

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!