AMT Blog

Spiral for Automatic Performance Programming [Presentation]

Markus Püschel, Professor of Computer Science at ETH Zurich proposes to solve scientific calculation performance problems with code generation tools, introducing Spiral, an automatic performance-programming framework for linear transforms. It is a collection of interdisciplinary projects with the goal to develop new methodologies to automate software (and hardware) development and optimization for specific problem domains (commercial computing, signal processing, scientific computing). The project combines techniques from mathematics, programming languages, symbolic computation, compilers, machine learning, and others.

Key techniques used in Spiral include staged declarative domain-specific languages to express algorithm knowledge and algorithm transformations, the use of platform-cognizant rewriting systems for parallelism and locality optimizations, and the use of search and machine learning techniques to navigate possible spaces of choices. Experimental results show that the code generated by Spiral competes with, and sometimes outperforms, the best available human-written code. Spiral has been used to generate part of Intel's commercial libraries IPP and MKL.

Check out Markus’s presentation introducing Spiral for Automatic Performance Programming at Splash 2011 Conference right here below: 

(download)

Read more…

Like what we post? Share your thoughts on the comments below. If you wish to get regular updates on what we post, do subscribe to our RSS Feed

HTML5 for Publishers [Presentation Slides] - TOC Conference 2012

HTML5 is revolutionizing the Web, and now it is coming to your ebook reader! In this presentation, Sanders Kleinfeld of O'Reilly Media, Inc. gives us an overview of three areas of HTML5 that offer great promise to ebook publishers looking to expand beyond traditional text-and-graphic narratives: HTML5 Canvas, Geolocation, and Audio/Video. After a brief tutorial of the HTML markup and JavaScript code used to implement these features, she takes us into some exercises that put HTML5 in action.

For each topic area, she also discusses the current status of HTML5 compatibility with major EPUB reader platforms (for example, iBooks, Nook Color, Adobe Digital Editions).

Click here to download:
HTML5_for_Publishers_Presentation.ppt (12.02 MB)
(download)

Read more…

Like what we post? Share your thoughts on the comments below. If you wish to get regular updates on what we post, do subscribe to our RSS Feed

How to Write Usable API's in Practice [Presentation]

Programmers, explicitly or implicitly, while working on complex systems, end up designing some APIs to accomplish their tasks, either because the product itself is some kind of general purpose library or because they need to write some libraries and packages to put some common code of their applications.

There is plenty of information available about how to write good code, unfortunately, it is not always clear how to apply that information in practice. This presentation by Giovanni Asproni at Agile Cambridge 2011, aims at giving some practical advice, and also shows how an agile incremental approach makes it easier to produce APIs that will stand the test of time.

Click here to download:
writing-usable-APIs-in-practice.pdf (1.14 MB)
(download)

Read more…

Like what we post? Share your thoughts on the comments below. If you wish to get regular updates on what we post, do subscribe to our RSS Feed

Filed under: Agile Conference

How to use MongoDB on Mono [Slides] | MonoSpace

Mono (software)

 

In late 2010 10gen started working on their own driver to officially support using MongoDB from .NET on Windows. The community quickly began submitting patches to make it work in Mono. Now the driver works pretty well in Mono.

In his presentation at the Monospace 2011, Justin Dearing provides you a short introduction to MongoDB, and focuses on interacting with it in Mono via the official 10gen driver. Techniques for handling business logic in application code, such as LINQ are discussed. This is a very code centric talk.


Click here to download:
Monospace2011-JustinDearing-UsingMongoDBonMono.pdf (656 KB)
(download)
 

About the conference

Monospace provides developers a unique look at running their applications across all the platforms using Microsoft's .NET Framework by focusing on the Mono framework and open source .NET technologies.

Read more…

Don't like to miss out any of our posts? Do  

Filed under: Conference Mono NoSQL

Role of JavaScript in Building Faster Websites

English: SFJS Meetup...

JavaScript is usually the key area to look for when, you’d desire to make your website faster. Steve Souders in his presentation at SFJS conference explains this with some interesting examples and stats to prove this.

He also gives us his perspective at the execution order of asynchronously loaded pages: Preserving execution order of async scripts makes the page slower. If the first async script takes a long time to download, all the other async scripts are blocked from executing, even if they download sooner.

JavaScript Performance (at SFJS)

Read more…

Like what we post? Share your thoughts on the comments below. If you wish to get regular updates on what we post, do subscribe to our RSS Feed

Filed under: Conference JavaScript

Bringing Riak to the Mobile Platform [video]

The consistency model used by Riak is intended to continue operating well even while nodes in your Riak cluster are down or unreachable, a property which also makes it a excellent model for mobile data. In this presentation, Kresten Krab Thorup presents Riak Mobile, a component that can be embedded into your iOS or Android application to make it a full Riak replication-aware peer. Typical usages for Riak Mobile is as a mobile content distribution platform using one-way sync; or with two-way sync to also push updated data back to your Riak cluster when the network is "eventually" available. 

 
Here Kresten enlighten us how Riak Mobile works.  The client-part of Riak Mobile does not need an Erlang VM.  Rather, it comes as either a Java or an Objective-C component using SQLite for on-device storage, and thus integrates well into the native development environments. The server-part is an OTP application running with Riak. Riak Mobile uses a flow-based algorithm with Merkle trees and vector clocks optimized specially for providing efficient incremental synchronization for slow, high-latency network conditions. 

Read more…

Filed under: Conference Mobile Web NoSQL

Large-scale JavaScript Application Architecture (Presentation)

How to organize your small to large JavaScript Empires with Ease

Developers creating JavaScript applications these days usually use a combination of MVC, modules, widgets and plugins for their architecture. They also use a DOM manipulation library like jQuery.

Whilst this works great for apps that are built at a smaller-scale, what happens when your project really starts to grow?

In this presentation, Addy Osmani presents an effective set of design patterns for large-scale JavaScript (and jQuery) application architecture that have previously been used at both AOL and Yahoo amongst others.

You'll learn how to keep your application logic truly decoupled, build modules that can exist on their own or be dropped into other projects and future-proof your code in case you need to switch to a different DOM library in the future.

Read more…

How to Make Your JavaScript Fast

In order to make their programs fast, developers need to understand how the system compiles, optimizes, and runs programs. This presentation created by Dave Mandelin of Mozilla will help JavaScript developers make their programs fast by popping the hood on modern JavaScript engines such as SpiderMonkey, V8, JSC, and Chakra and explaining how they work.

The main part of the presentation will explain how each major JavaScript language feature is compiled and run, how fast it is compared to other operations, and what “performance faults” can make it much slower than expected. For example, reading a property (x = o.p) is implemented by compiling a bit of code to get the property value very quickly for any object with the same properties. This means that if a given line of code reads a property always from objects that look the same, it is very fast; if it works on objects with different property sets, it is usually still fast; if it works on objects that don’t have that property, it will be very slow. 

Know yourengines velocity2011
(download)

Read more…

Presentation - Solving Relational Anti-patterns with GraphDB in Your PHP Project

Graph databases are not widespread in the PHP community, although they are a swiss-army knife for problem that the relational model can't simple handle well. In this presentation Alessandro Nadalin & David Funaro explains about the graph theory, see how to easily solve a few relational anti-patterns with graph databases and how to integrate them in your next php project.

PHPCon Poland 2011 is a social-scientific meeting for PHP programmers and enthusiasts, organised by Polish internet volunteers, under care of the Polish Linux Users Group (PLUG). The goal of meeting is an integration of the PHP society and the business environment, interested in practical using od PHP in commercial projects.

Filed under: Conference Database

Ruby on Rails Creator David Heinemeier Hansson Speaking on RailsConf 2011

Asset Pipeline and Our Post-Modern, Hybrid, JavaScript Future

David Heinemeier Hansson is a Danish programmer and the creator of the popular Ruby on Rails web development framework and the Instiki wiki. He is also a partner at the web-based software development firm 37signals.

Watch an Interesting video presentation by David Heinemeier taken from the RailsConf 2011.

Recorded at:
Recorded at

RailsConf, co-produced by Ruby Central, Inc. and O'Reilly Media, Inc., is the largest official conference dedicated to everything Ruby on Rails. Through keynotes, sessions, tutorials, events, and of course lots of hallway hacking, RailsConf is the meeting place for the Ruby on Rails community.

Don't like to miss out any of our posts? Do

12
To Posterous, Love Metalab