Remix.run Logo
pjmlp 11 hours ago

AutoCad nowadays uses .NET as well, and thus any CLR enabled language, with a MSIL backend.

https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-390A...

holg 11 hours ago | parent [-]

sure it does, but Lisp is special, and for those times it was very special. I did not want to show how it is done nowadays, but how we had done it 33 yrs ago... And now there is the emulator as the web-page, this is what i wanted to share (everything works as wasm in the browser)...

Animats 8 hours ago | parent [-]

> but Lisp is special, and for those times it was very special.

It was the only language available at the time suitable for embedding. Memory-safe, small interpreter, sane. Alternatives were Forth and TRAC, which would have been much worse. Pascal would have been better, but it was too hard to squeeze in. The program and data had to fit in 640K. The program was built as a tree of overlays and code was swapped in, so less used code wasn't resident. But it was a cram job.

(I did some AutoCAD ports and drivers.)