Coffeehouse Post

Single Post Permalink

View Thread: is managed code faster than native?
  • User profile image

    , Bass wrote

    It's worth noting that PHP to C++ compiler also exists.

    It is possible to write an x86 emulator in Haskell. Does this mean Haskell programs are generally as fast as C ones (since it can run anything C can run)? No, of course not.

    And you can write a Haskell emulator in C. Does this mean that C is beautiful, strongly typed, garbage collected and functional, since C can do everything Haskell can do? Again, an absurd statement.

    The fact that it is possible to convert one language to another doesn't mean the former gets any of the benefits of the latter.