News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Using LLVM IR as a higher level assembly?

Started by Jibz, July 25, 2013, 02:56:43 AM

Previous topic - Next topic

Jibz

Not sure if it would be practical to write actual code in IR, but the thought of a portable language that is almost down at the assembly level is interesting:

https://idea.popcount.org/2013-07-24-ir-is-better-than-assembly/
"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu

japheth

Quote from: Jibz on July 25, 2013, 02:56:43 AM
...  a portable language that is almost down at the assembly level

But ... isn't C supposed to be exactly that?

I cannot see that there's enough "space" between C and assembly for another useful "abstraction layer".

habran

Cod-Father

jj2007

Quote from: japheth on July 25, 2013, 04:03:45 PM
I cannot see that there's enough "space" between C and assembly for another useful "abstraction layer".

Especially since we have that level already: macros. If I had to work on Linux, too, MasmBasic would have a IsLinux switch.

Which would not be a valid argument for other processor architectures, of course. But that concerns only 0.1% of the desktop market, right?