A blackamoor walks by an electronic pass commission in downtown Hong Kong which shows the city’s criterion finger increases 908.50 points to 25,032.08 on Monday, Feb. via river Business Magazine
A blackamoor walks by an electronic pass commission in downtown Hong Kong which shows the city’s criterion finger increases 908.50 points to 25,032.08 on Monday, Feb. via river Business Magazine
There’s been a lot of talk lately about the different IDEs and the support they offer for the various JavaScript libraries. Ext’s uber-coder, Jack Slocum, has put up a blog entry explaining which IDEs support the Ext JS framework:
The Ext 2.0 API is very extensive and remembering all of the functions, properties or configs available is virtually impossible. The API documentation is very thorough, but it would be nice if IDEs would provide code assist options in JavaScript as they do in other languages such as Java and C#. Luckily, there are some IDEs and plugins available that do just that — and also have direct support for Ext 2.0.
Included in the mix are:
This great news and it shows that IDE vendors are taking JavaScript frameworks seriously. Anything that makes development easier is definitely welcome.
Chris Double attended the Tamarin Tech summit, and gives us some information about Tamarin Tracing the new trace based JIT experiment:
‘Tamarin Tracing’ is an implementation that uses a ‘tracing jit’. This type of ‘just in time compiler’ traces code executing during hotspots and compiles it so when those hotspots are entered again the compiled code is run instead. It traces each statement executed, including within other function calls, and this entire execution path is compiled. This is different from compiling individual functions. You can gain more information for the optimizer to operate on, and remove some of the overhead of the calls. Anytime the compiled code makes a call to code that has not been jitted, the interpreter is called to continue.
Apparently the JIT for Lua is also being written using a tracing jit method and a post by Mike Pall describes the approach they are taking in some detail and lists references. A followup post provides more information and mentions Tamarin Tracing.
Brendan Eich talked about trace based JIT’s as being the future of JavaScript VM’s, and a reason why we will see insanely fast JavaScript without needing all of the type fun.
Here is one simple benchmark of a fibonaci equation solution that doesn’t do any caching tricks:
# Turn off the tracer $ shell/avmshell -lifespan -interp fib.abc fib 30 = 1346269 Run time was 26249 msec = 26.25 sec # Turn on the tracer $ shell/avmshell -lifespan fib.abc fib 30 = 1346269 Run time was 1967 msec = 1.97 sec
Chris finishes with some fun facts:
Eugene Lazutkin has written a piece on Functional fun in JavaScript with Dojo where he delves into the land of functional and how it is available in JavaScript.
Eugene maps out some of the helpful functions that JavaScript itself has added over time:
... and how Dojo implements many so you have cross browser access.
He goes into detail on his favourite five: filter(), map(), forEach(), every(), and some().
E.g.
var sum = 0;
dojo.forEach(values, function(val){ sum += val; });
Next he goes beyond core to dojox.lang.functional where lambda is your friend:
What about performance? We get a nice run down on the performance of the Dojo functions compared to native ones if they are available.
Very thorough indeed.
Dan Webb has ported Low Pro to jQuery and along the way discusses differences between Prototype and jQuery:
The one big reason was that, while jQuery was super simple and concise when working on smaller projects, it offered no help in structuring larger applications. All you get in jQuery, aside from Ajax methods and a handful of utilities, is the ability to select nodes then doing something with them. On the other hand Prototype is much rounder in scope. It generally plumps out JavaScript as a language adding lots of useful methods to built-ins, a host of functional programming tools and recently a full Class-based OO system with inheritance and the whole shebang which has formed the back bone of Low Pro’s behavior classes.
Let's not get into that debate though, instead, lets just look at the port.
Create a class
GhostedDraggable = $.klass(Draggable, {
onmousedown: function($super) {
// do extra stuff here then call original method...
$super();
}
});
Attach behaviour
Also, if you are using livequery jLow (I had to use it Dan!) will play nicely and work as the DOM changes too!
kangax keeps up his "Prototype by example"-ness by showing a use of Enumerable#inject.
He shows us namespacing made easy:
And then you can use it via:

Roberto Saccon has cursive ErlyJS, a programme that takes JavaScript and makes it separate on the Erlang VM.
It is rattling primeval days, and supports:
This isn’t the prototypal taste of Erlang recreation that we hit seen. We posted on Er.js, the accumulation that aims to provide you Erland same IPC for JavaScript.
Bank of Montreal and Canadian Imperial Bank of Commerce scrapped bonuses for some of their top executives in 2007 after the two lenders recorded trading losses and debt writedowns. via Bloomberg.com
Web Info & Tutorials is Hosted by Chaaban