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.

 

blog comments powered by Disqus

 

Banner


Firefox Features From Experimental To Released
04/09/2014

Firefox 32 has been launched with features for improved performance and increased security. Firefox 33, with a slew of developer tool enhancements is moving to the beta channel. Meanwhile the version  [ ... ]



Technology Pioneers 2015 Awards
09/09/2014

Each year since 2000, the World Economic Forum has chosen between 25 and 35 trailblazing companies as Technology Pioneers. Canonical, Couchbase and Raspberry Pi are among the latest to receive the awa [ ... ]


More News

 

Last Updated ( Friday, 10 January 2014 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.