Live data from Hacker News

The Language-Language Matrix

langlangmatrix.com

51–54 of 54 posts

Re: The Language-Language Matrix

#51
post #5

Earlier quoted context omitted.

PyPy is an implementation. I guess you could call it manually to output C code (then it would sit next to Shedskin), but it isn't normally used that way. I think there should be bounties for getting certain paths through the transpiler graph working.

Various of the other things in there are implementations. To take a direct parallel, compare it with PHPPHP. PyPy allows you to run Python code inside any Python implementation.

You are correct, it should totally be on this list. Both as Python on Python and Python -> C.

Re: The Language-Language Matrix

#52
post #26

Is it just me, or does the fact that every other language is getting translated to Javascript suggest a lot of problems with the language that so many people are willing to write translators? (I am not a big fan of JS myself, but I also don't feel I have used the language enough to be competent with it).

I'm more inclined to believed that people want to run their programs in a browser, and js is a requirement in that runtime environment. Most devs are sadly quite reluctant to trying out new languages, and would rather recompile.

I wouldn't expect any of my Python code to just run in the browser, whatever translation layer I am using (ok, maybe small snippets, but not any code that does anything significant). Its basically a whole different platform you are coding.

Re: The Language-Language Matrix

#53
post #45
post #44

Take the languages which can be compiled to Java bytecode, throw in IKVM.NET, add the list of languages which can be compiled for the CLR, and you might have the longest list of languages which can run on one platform?

Then consider that Javascript runs on the JVM, and add every language which can be compiled to Javascript. Then consider that, via Emscripten, any language which targets LLVM can be compiled to Javascript, so add every language with an LLVM frontend. The consider that C has an LLVM frontend, and add every language which can be compiled to C. Yes, indeed! We now live in a time where your Chicken Scheme codebase can be…

Almost. The JavaScript bytecode is turned into JVM bytecode which is then turned into CLR bytecode which is then JITted and runs as compiled native code. I think. Did I miss something?

Re: The Language-Language Matrix

#54
post #52

Earlier quoted context omitted.

I'm more inclined to believed that people want to run their programs in a browser, and js is a requirement in that runtime environment. Most devs are sadly quite reluctant to trying out new languages, and would rather recompile.

I wouldn't expect any of my Python code to just run in the browser, whatever translation layer I am using (ok, maybe small snippets, but not any code that does anything significant). Its basically a whole different platform you are coding.

No, but a lot of devs are fine switching platforms, but not languages. I don't know why, I think it's fun, but many people are scared of new languages.
Post reply on HN