What is the performance of Hyperlambda?

Short answer; Wrong question! Hyperlambda is not a general purpose programming language, and if you treat it as such, you’re not only missing out, but you’re doing something wrong.

Hyperlambda is an orchestration programming language, where you can use pre-built building blocks, created in for instance C#, and orchestrate these together, in a loosely coupled environment. Among other things, you should probably not create a MIME parser, or a PGP cryptography library using Hyperlambda. Which brings me to the point, which is that there already exists Active Events in P5, which do just that.

In the video below I am encrypting more than 5.000 PNG images into a PGP encrypted MIME message, before I save the MIME envelope to disc. Afterwards, I decrypt this file containing my MIME message, into another folder on disc, producing 5000 files from a single encrypted MIME file. I don’t mean to brag, but on my MacBook Air, from 2015, that process takes roughly 7 seconds. Oops, I guess I just bragged … 😉

To give you an idea of just how fast that is, realise that on my MacBook Air, it actually takes longer time to delete the same files from my temp folder, than it takes to decrypt them, and save them into the same folder.

The conclusion I guess you could say, is that at the end of the day, your app will highly likely be much faster, and way more responsive when using Phosphorus Five – Regardless of the fact that Hyperlambda, and more specifically Active Events, carries a significant overhead when invoked.

This trait of Hyperlambda, makes it highly likely, that your end result, will end up being way faster, more responsive, and much more scalable – Than if you had created it in any other framework. Simply because it’s a matter of architecture and algorithms, and most of those problems are already solved for you, and implemented in Active Events, which you would normally invoke just once or twice.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s