Author Topic: Using LLVM IR as a higher level assembly?  (Read 8683 times)

Jibz

  • Regular Member
  • *
  • Posts: 14
  • Cold Warrior
    • Ibsen Software
Using LLVM IR as a higher level assembly?
« on: July 25, 2013, 02:56:43 AM »
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

  • Guest
Re: Using LLVM IR as a higher level assembly?
« Reply #1 on: July 25, 2013, 04:03:45 PM »
...  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

  • Member
  • *****
  • Posts: 1228
    • uasm
Re: Using LLVM IR as a higher level assembly?
« Reply #2 on: July 25, 2013, 08:17:24 PM »
I totally agree with Japheth :biggrin:
Cod-Father

jj2007

  • Member
  • *****
  • Posts: 13871
  • Assembly is fun ;-)
    • MasmBasic
Re: Using LLVM IR as a higher level assembly?
« Reply #3 on: July 25, 2013, 09:44:11 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?