News for hackers. Stuff that matters.
Re:Why C++ Sails When the Vasa Sank [pdf] by jerf on Tuesday June 24, 2014 @10:54AM (#7938084)
"Eventually, I want to make a source-to-source transformation framework that can turn any language into any other."

Beware. That's a pretty common programmer tarpit. I've witnessed two take this on myself. If you never hear about it online, it's because it makes "general puprose visual programming language" look easy; people at least get to the "show something off" stage with that.

It may help to observe that we technically already have an intermediate language that works with all languages, which we call machine language. If it sounds infeasible to read all machine language and convert between various programming representations especially in light of things like VMs and such... well... yeah. That's a fairly direct and accurate reflection of the difficulty in question.

In some sense, this is the absolute purest "inner platform effect" project you could ever hope to undertake. http://en.wikipedia.org/wiki/Inner-platform_effect

There are no comments on this comment yet.