My quick sandbox with Wren (The language for EOS)steemCreated with Sketch.

in #wren3 years ago (edited)

I have had a fun day of catching up on all things Steemit since my re-discovery of this crypto and platform. It has taken me on a journey of the new changes that are happening in the cryptocurrency world.

One post of interest to me is Introduction to EOS: the Epic (blockchain) Operating System written by @trogdor.

Seriously?! An OS?!

The first paragraph is great but definitely loaded:

EOS is a consensus blockchain operating system that provides databases, account permissions, scheduling, authentication, and internet-application communication to massively improve the efficiency of smart business development that uses parallelization to make possible blockchain scalability to millions of users and millions of transactions per second.

He also states

The financial industry processes 100,000 transactions per second, potentially per market [and] Bitcoin is currently limited to ~3 transactions per second

Wow.

EOS + Wren

After that post I ended up reading My Notes on Wren, the Language of EOS by @lukestokes.

So with this new EOS there is going to be a language used for development and it is called Wren. Wren is a small, fast, class-based concurrent scripting language.

So I did a quick look through the docs and it definitely has an OOP approach to it. I spent a little time on it and made a quick simple constructor.

Simple constructor in Wren (language for EOS)

Screen Shot 2017-05-28 at 1.01.33 AM.png

I also decided to just see how looping works with maps in Wren and it seems simple enough.

Simple map and loop in Wren (language for EOS)

Screen Shot 2017-05-28 at 1.27.35 AM.png

I was even delighted to see a syntax highlighting for it within Visual Studio Code. 🙌
(Thanks Johann!)

Screen Shot 2017-05-27 at 11.59.55 PM.png

It definitely reminds me of C# and it is interesting how it uses classical inheritance vs prototypical that seems so popular due to javascript. Honestly, this is the first time I have heard that classes are more useful as stated in the docs below. 🤔


Screen Shot 2017-05-27 at 11.43.58 PM.png


It was a simple start and honestly I still have a lot to learn on understanding Wren and EOS. (Really... I don't know very much at all after one day 😀) So far I like the simplicity of Wren and feel like I could definitely get a good grasp of it if I spent enough time.

Excited about the future!

Sort:  

Seriously, a fabulous intro to Wren right here, Thank You! :) EOS is gonna be HUGE! :D

Thanks @kenny-crane!
I still have a lot to read up on with it and using Wren as a scripting language but it seems to be a great choice for quick development.
Excited to be finding this stuff out now!

Excellent write up, Dayne!

Thanks! Looking forward to learning more and seeing what happens with this and EOS.
Time to soak up the info!

Coin Marketplace

STEEM 0.15
TRX 0.03
JST 0.026
BTC 13251.30
ETH 388.79
USDT 1.00
SBD 0.98