Slashdot Mirror


Adobe Releases C/C++ To Flash Compiler

SnT2k writes "Adobe recently released the beta version of Alchemy which compiles C/C++ code into AS3 bytecode (which runs on AVM2) that can run on the Flash or Flex platform and boasts increased performance for computationally-intensive tasks (but still slower than native C/C++). It was demonstrated last year during the Chicago MAX 2007 to run Quake. A few months later it has been demonstrated to run a Python interpreter and Nintendo Emulator. One interesting tidbit is that the thing is built upon the open source LLVM Compiler Infrastructure."

22 of 216 comments (clear)

  1. Virtualize Everything by Anonymous Coward · · Score: 5, Funny

    Wow, I can compile my C/C++ code to run on a slow virtual machine instead of a native cpu architecture.

    I haven't had this much fun ever since I discovered the java Virtual Machine written in java.

    It brings back the heady days of my 8088.

    1. Re:Virtualize Everything by MichaelSmith · · Score: 5, Funny

      JikesRVM has a small "bootstrap" VM that is used to get the main VM going, but after startup everything is run in the main VM (including the main VM itself).

      I am getting mental stack overflows just trying to parse that.

  2. Re:Still no contact info, so I'll post here... by moderatorrater · · Score: 5, Funny

    And I'd like a pony.

  3. Re:Still no contact info, so I'll post here... by davester666 · · Score: 5, Funny

    Why does everybody as for a pony, but not a stable to keep it in, or food to keep it alive?

    Does Pony meat taste that good?

    --
    Sleep your way to a whiter smile...date a dentist!
  4. Re:Still no contact info, so I'll post here... by Anonymous Coward · · Score: 3, Funny

    Why does everybody as for a pony, but not a stable to keep it in, or food to keep it alive?

    Does Pony meat taste that good?

    Don't look a gift horse in the mouth.

  5. Re:Still no contact info, so I'll post here... by fishbowl · · Score: 4, Funny

    >Why does everybody as for a pony, but not a stable to keep it in, or food to keep it alive?

    I live all alone in a farmhouse, you insensitive clod.

    --
    -fb Everything not expressly forbidden is now mandatory.
  6. C/C++ Trojan Horse by devloop · · Score: 4, Funny

    "Compiler", is that the new spelling for "Automated Buffer Overflow Generator" ?.

    1. Re:C/C++ Trojan Horse by noppy · · Score: 5, Funny

      Compile once, exploit everywhere.

  7. Re:Still no contact info, so I'll post here... by Sebilrazen · · Score: 3, Funny

    Hey, Fucko, we like to call it inter-species erotica.

    --
    "There are no facts, only interpretations." --Friedrich Nietzsche.
  8. Re:Still no contact info, so I'll post here... by GaryOlson · · Score: 2, Funny

    Neigh...

    --
    Every mans' island needs an ocean; choose your ocean carefully.
  9. Re:Still no contact info, so I'll post here... by GaryOlson · · Score: 3, Funny

    Zoning regulations for Slashdot do not allow for the boarding of ponies in this thread.

    --
    Every mans' island needs an ocean; choose your ocean carefully.
  10. Re:Still no contact info, so I'll post here... by Anonymous Coward · · Score: 4, Funny

    Don't put a gift horse in the mouth.

    Fixed for ya.

  11. Re:Still no contact info, so I'll post here... by Quartz25 · · Score: 1, Funny
    --
    Most people don't get why the integral of "e to the x" is so funny. Most math majors don't have a sense of humor.
  12. Re:Still no contact info, so I'll post here... by yorkshiredale · · Score: 1, Funny

    Don't look a gift horse in the mouth.

    Shouldn't that be ... Don't put a gift horse in the mouth

    Oh wait, that sounds even worse. Nevermind.

    --
    The opinions expressed here are those of this individual, and may not reflect the policy or practice of the collective
  13. Re:A Cluster-Aware Distributed Java Virtual Machin by try_anything · · Score: 4, Funny

    http://www.google.com/url?sa=t&source=web&ct=res&cd=5&url=http%3A%2F%2Fcs.anu.edu.au%2F~Peter.Strazdins%2Fseminars%2FdJVM.pdf&ei=FK0kSafSAZSo0gScxs3FDw&usg=AFQjCNHrPDWFanLbyUu3kX-lEkzZrWR6bw&sig2=jcMo0CIWzGg_nZVLvDHpxA

    My first thought on reading this post was that the super-long Google url WAS the cluster-aware distributed virtual machine.

    So, how long until Google reveals its next project: Compile C++ to a Google URL, and visit the URL to see your program running?

  14. Re:Still no contact info, so I'll post here... by k33l0r · · Score: 4, Funny

    Why does everybody as for a pony, but not a stable to keep it in, or food to keep it alive?

    Does Pony meat taste that good?

    Because when it's a pony from Adobe you know that it will soon crash and die, and it wouldn't know what stable is anyway.

  15. a free ride when you've already paid by Anonymous Coward · · Score: 2, Funny

    In an ironic twist, I'm learning compiler theory from one of the professors who worked on it.

    Wow!!!! That's like rain on your wedding day! That's like like ten thousand spoons when all you need is a knife!!! That's like good advice that you just didn't take!!!

  16. Now for hassle-free Java applets by mgiuca · · Score: 3, Funny

    Finally! Java applets are always so full of hassle to get running compared to Flash objects.

    Now I can compile the JVM to Flash and run my Java applets inside Flash - no more need to install those meddlesome Java plugins!

    1. Re:Now for hassle-free Java applets by drspliff · · Score: 2, Funny

      Are you sure you don't want to port Bochs first so you can run Java on Windows 98 in your Flash?

  17. Re:Still no contact info, so I'll post here... by BertieBaggio · · Score: 2, Funny

    think the closest analogy to horse meat is ostrich meat

    Thanks! I'm glad you cleared that up for everyone.

    :^P

    --
    If all you have is a grenade, pretty soon every problem looks like a foxhole -- MightyYar
  18. Re:Still no contact info, so I'll post here... by genner · · Score: 2, Funny

    Ostrich doesn't really taste like beef at all. In fact I can't think of anything else it does taste like.

    It's little bit like emu

  19. Re:It has been said by internerdj · · Score: 2, Funny

    And you forgot the most important thing, now they can port linux to flash and appease all the slashdot haters with one question and one answer: Does it run linux? and Yes, it does.


    And before someone responds to this as if it were a serious post: I very sincerely hope this is and will remain a joke.