show_menu logo_rd

js2js: Why So Serious?

25

JavaScript is the Assembly of the Web. There are dozens of tools that compile some programming language to JavaScript. You can do it with C++, Java, C#, Python, Ruby or plenty of other languages. It seems that there’s one language that remains to be covered for JavaScript to dominate the world: JavaScript itself.

Last week we were joking about this and decided to fix this situation. Meet js2js, a revolutionary open-source compiler that transforms JavaScript directly to JavaScript! Have fun!

Victor Haydin

Victor Haydin is the Head of R&D at ELEKS where he leads the company towards technical innovations. He likes experimenting with cutting-edge technology and creating amusing projects. Formerly an avid participant of programming contests like ACM ICPC, TopCoder and Google AI Challenge, now Victor enjoys photographing, playing guitar, travelling and reading. Lately, Victor’s main project was parenting. Due to his inborn graphomania, Victor is the most active ELEKS Labs author, writing about HPC, cloud, wearables and other cutting-edge technology topics.

tags

Comments: 25

  • aamirafridi.com

    javascript to javascript ??? what does that mean? example?

  • randygland

    var example = ‘why so serious?’;

    compiles to:

    var example = ‘why so serious?’;

  • Unknown

    The 1.0 release should be scheduled for April 1, 2014…

  • davide moro

    Js2JsCompiler.prototype.compileCode = function(code) {
    return code; // as we need to compile javascript to javascript, we do nothing here :)
    }

    Ahahah!

  • Unknown

    Do not understand, what is that?

  • Sriram digiOps

    Can you explain a little bit more elaborately as to what this “js2js” compiler does?

    ($)

  • Unknown

    The best compiler I have ever seen, in the spirit of “the smaller, the better” and “what is not, cannot definitely be broken”

  • Gunjan Moghe

    What are its benefits to javascript developers?

  • Timm Gutowski

    What about js2js as a Service?

  • Buzza
  • Michael Fever

    OK so this _IS_ a joke.. you went so far as to actually write some code?

  • Pete Peterson

    This is absolutely brilliant! We have been searching for just such a solution for well over a year! Our code has NEVER looked better or run in a more efficient manner. I REALLY wish I could code that well to begin with. THANK YOU!

  • Rob Lang

    You have our whole office chuckling, well done all!

  • Bill Long

    And it isn’t even April 1st!

  • Pavlin Angelov

    I don’t know witch is funnier :) The Compiler joke or the Reaction of the people in the comments :)

    Why so serious people ? :) You forget how to have fun :P

  • Gary

    I’ve tried this and it works great! I’ve already increased my efficiency by 200%! Great job!

  • Unknown

    My startup is currently developing this.. but we have way more features.. we have auto-compile, ide integration..

    good work guys

  • Mo

    Compile method is very useful, thanks for the release!!
    Js2Js 4ever!!

  • JM

    Great stuff! We plan to adopt this into our release cycle immediately. Thanks!

  • Srinath Janakiraman

    Good stuff. the funniest compiler in the world….. ;)

  • Andrew Buchan

    You do realise this is the first javascript compiler that actually delivers everything it claims to? Revolutionary indeed!

  • Cameron Spear

    You need to port this into a Grunt Task ASAP!

  • debopampal

    Please someone give me a few details about js2js. I cannot understand properly. please help me.

  • Jesper, delebarn.dk

    Where are the nightly builds ?

  • tobeetaylor

    I thought I can transform legacy code into a well-structed documented oop :D