TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Modula-2 Compilers on CP/M (2022)

13 pointsby gus_leonel5 months ago

1 comment

retrac5 months ago
Modula-2 is interesting. It is basically the C many wished had been around in the 80s and 90s. Modula-2 has about the same expressiveness of C with pointers, structs, unions, and all that, but it has a stronger type system (tagged unions, mandatory casting, etc.), concurrency as part of the base language, an actual module system (like C++ just finally got in 2020...), and the typical clean lines of Wirth&#x27;s designs - if you can get over the Wirth-style CAPITAL RESERVED WORDS and BEGIN and END, anyway.<p>A Modula-2 front end was added to GCC recently: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34050597">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34050597</a>
评论 #42448332 未加载
评论 #42448310 未加载