Remix.run Logo
srean 6 hours ago

Modula-2 happened way before my time but was quite taken by it. Especially it's fibres/coroutine features.

https://news.ycombinator.com/item?id=26688380

mrweasel 3 hours ago | parent | next [-]

Apparently the Russian Glonass satellites are programmed in Modula-2 [1] which seems like a wild choice.

1) https://en.wikipedia.org/wiki/Modula-2#Russian_radionavigati...

pjmlp 2 hours ago | parent | next [-]

Well, back in the 1980's up to early 90's, Modula-2 enjoyed a mild success in Europe.

Given that it was available in 1978, and the satellites launched in 1982, it seems a plausible choice like any other, given the computing ecosystem at the time.

bonzini 2 hours ago | parent | prev [-]

In 1999 I used Modula-2 for my first computer science/programming languages exam at university. The environment was a bit like Turbo Pascal 3.0, though with a more complete language (TP3 had no modules/units) and library, comparable perhaps to TP5.

pjmlp an hour ago | parent [-]

Units were introduced in Turbo Pascal 4, then TP 5.5 added OOP based on Apple's Object Pascal, further improvements were then based on the Object Pasca / C++ relationship on Borland's compilers.

cmrdporcupine an hour ago | parent | prev [-]

The first compiler I ever bought with my own money was a Modula-2 compiler for my Atari ST I picked up second hand for something like $100 CAD, which was a lot back in the late 80s for a teenager.

Was a mistake not to just do C, though. The Atari ST's whole OS environment was built with C void pointers and duck typing in mind.