Upgrade to v0.12.0 🚀


#1

Hey, early access people!

Just checking in with you after the v0.12.0 release on Friday. It introduced a pretty big new feature – dataflow graphs for optimization – and the command line tool has been reworked and streamlined.

The use of dataflow graphs for code optimization is and experimental feature, purely for use during this development phase. It’s quite a complex process but gives an interesting insight into how Reconfigure.io works.

When you get around to optimizing your own code, you can post you graphs to the forum to get help from the team.

The following guide shows you how to generate a graph of our addition example:

Upgrade

Install the latest version of reco by following the instructions below for your operating system:

Linux

Run the following from your terminal, you may be asked to enter your password:

curl -LO https://s3.amazonaws.com/reconfigure.io/reco/releases/reco-master-x86_64-linux.zip \
&& unzip reco-master-x86_64-linux.zip \
&& sudo mv reco /usr/local/bin`

OSX

Run the following from your terminal, you may be asked to enter your password:

curl -LO https://s3.amazonaws.com/reconfigure.io/reco/releases/reco-master-x86_64-apple-darwin.zip \
&& unzip reco-master-x86_64-apple-darwin.zip \
&& sudo mv reco /usr/local/bin

Windows

Launch Powershell as administrator and paste:

Invoke-WebRequest https://s3.amazonaws.com/reconfigure.io/reco/releases/reco-master-x86_64-pc-
windows.zip -OutFile reco-master-x86_64-pc-windows.zip;
Expand-Archive -Path reco-master-x86_64-pc-windows.zip -DestinationPath C:\reco;
setx PATH "$env:path;C:\reco" -m;

reco will be available in further sessions of cmd or powershell

Update code examples

Check you’ve got the most up-to-date code examples downloaded by entering this from a terminal:

git clone https://github.com/ReconfigureIO/examples.git && cd examples && git checkout v0.3.0

Generate a graph

Next, we’ll generate a graph from the addition example.

Navigate to the …examples/addition directory, and from a terminal set up a project by entering:

reco project create addition-graph
reco project set addition-graph

Then generate your graph:

reco graph gen 

Once the graph generation has completed you can look at the graphs list to find the unique ID for the graph:

reco graph list

To open the graph, copy the graph ID and run:

reco graph open <your-graph-ID>

Your graph should open in your default PDF viewer, otherwise you will be prompted to open it from a specific location. The graph output will be several pages long, with one graph for each function parsed by our compiler.

In the next few days we will be introducing a detailed tutorial to guide you through understanding dataflow graphs, but for now you can ask any questions here on the forum.

Tell us what you think

Lastly, we welcome you to give us some feedback by replying to this thread, all feedback is really important to us, workflow, service, whatever, just let us know!

Thanks for reading :slight_smile: