Help Higgs Compile JavaScript
Written by Mike James   
Friday, 10 January 2014

Making JavaScript go faster is something of great importance just at the moment - what about an advanced JIT compiler? Higgs is just such a thing and the open source project needs your help.

If your New Year's resolution was to get more involved in open source then spare a thought for Higgs. This is a research project started by  Maxime Chevalier-Boisvert at the University of Toronto to create an x86-64 compiler. 

The core of Higgs is written in D so if you hope to contribute to the source code you need to program in D or be prepared to learn it. But there is a JavaScript runtime that also needs work. The compiler uses some novel techniques which could eventually result in something that is faster than the existing big JavaScript engines like V8 and IonMonkey. 

You can see a recent presentation of the ideas in the following video: 

  

It comes with two features that take it beyond the basic out of the browser JavaScript experience. The first is a Foreign Function Interface that allows you to call C code and a set of libraries that provide basic OS operations such as console, stdio and so on. 

Given sufficient input it could result in a useful addition to the way that JavaScript can be run outside of the browser.

As its creator says:

"I ‘d like for Higgs to become a “batteries-included” programming environment that hobbyist programmers can use to run JavaScript code outside of the browser. I believe there is a niche to be filled. It should be trivial to do things like open a window and begin producing graphics and sound with only a few lines of code, using simple and user-friendly APIs, no special configuration required. It should be trivial, yet this is something you can’t easily do in Python or Ruby, for example. You usually need to install/compile extra packages, and the GUI libraries require much boilerplate code."

If you would like to contribute then there are some "easy" tasks waiting for you at the Higgs GitHub pages. If you just want to try it out then you will find all of that you need in the same location.

 higgs

More Information

Higgs GitHub Page

Call For Contributors

Related Articles

Asm.js Gets Faster

Java, ASM.js Or Native - Which Is Faster?

Nashorn A New JVM JavaScript

JSFeat - JavaScript Image Processing Library

Node: Up and Running

JavaScript Is Basic's Offspring

Which JavaScript is fastest? 

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Ai-Da's Portrait of Alan Turing At Auction
01/11/2024

Sotheby's Digital Art Day Action, now underway, features a large-scale portrait of  Alan Turing created by Ai-Da, the humanoid robot artist whose work, including this canvas, was exhibited at the [ ... ]



Looking Forward To NAO 7
03/11/2024

Introduced to the world in 2004 by its creator Bruno Maisonnier the kid-sized, autonomous humanoid robot NAO, turns 20 this year. At less than 2 ft tall, it is small in stature, but plays a big r [ ... ]


More News

 

Last Updated ( Friday, 10 January 2014 )