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.

C−−: a portable assembly language designed by Simon Peyton Jones et al.

30 pointsby alexkonover 15 years ago

4 comments

silkodysseyover 15 years ago
<a href="http://homepage.mac.com/randyhyde/webster.cs.ucr.edu/HighLevelAsm/index.html" rel="nofollow">http://homepage.mac.com/randyhyde/webster.cs.ucr.edu/HighLev...</a><p>Another attempt at a "portable high level assembly language". It's being developed by Randall Hyde author of "the Art of Assembly Language". It supports the ia32 architecture (64 bit support is coming in the future) and you can write applications using pure assembly language mnemonics or mix these instructions with high level control structures, high level data types (has support for OOP). It also includes a standard library with functions for concurrency, network programming, pattern matching etc. It's a really interesting project. It's both more low level and high level than C at the same time!
snprbob86over 15 years ago
I couldn't find any example code until I downloaded the PDF specification and scrolled to page 7. This seems like very interesting research, but as a hacker: show me the code! There should be a taste of it either on the front page or on a page clearly labeled "examples".
评论 #860491 未加载
wisesage5001over 15 years ago
How does this compare to LLVM?
评论 #860580 未加载
评论 #860547 未加载
jacquesmover 15 years ago
Because there is no mention of the license under which C-- is distributed (on the FAQ page it says "C-- is open source", that's it), there is no actual LICENSE file in the root directory of the source, but in the lua subdirectory there is this item:<p>"COPYRIGHT<p>The code, like the rest of Quick C--, is in the public domain."<p>In the README.ALONE file.