wren Programming Language - Printable Version +- Sick Gaming (https://www.sickgaming.net) +-- Forum: Programming (https://www.sickgaming.net/forum-76.html) +--- Forum: Game Development (https://www.sickgaming.net/forum-80.html) +--- Thread: wren Programming Language (/thread-95835.html) |
wren Programming Language - xSicKxBot - 06-22-2020 wren Programming Language <div><p>Very similar in scope and purpose to the <a href="https://www.gamefromscratch.com/post/2020/06/09/Gravity-Embeddable-Programming-Language.aspx">recently covered Gravity language</a>, today we are <a href="https://wren.io/">looking at wren</a>. wren is a class based programming language that aims to bring Smalltalk like programming to a Lua sized footprint, with the intention of being embedded in application code. Highlights of wren include:</p> <blockquote> <ul readability="7.4464500601685"> <li readability="1.6114285714286"> <p><strong>Wren is small.</strong> The VM implementation is under <a href="https://github.com/wren-lang/wren/tree/main/src">4,000 semicolons</a>. You can skim the whole thing in an afternoon. It’s <em>small</em>, but not <em>dense</em>. It is readable and <a href="https://github.com/wren-lang/wren/blob/93dac9132773c5bc0bbe92df5ccbff14da9d25a6/src/vm/wren_value.h#L486-L541">lovingly-commented</a>.</p> </li> <li readability="0.75"> <p><strong>Wren is fast.</strong> A fast single-pass compiler to tight bytecode, and a compact object representation help Wren <a href="http://wren.io/performance.html">compete with other dynamic languages</a>.</p> </li> <li readability="0.95625"> <p><strong>Wren is class-based.</strong> There are lots of scripting languages out there, but many have unusual or non-existent object models. Wren places <a href="http://wren.io/classes.html">classes</a> front and center.</p> </li> <li readability="0"> <p><strong>Wren is concurrent.</strong> Lightweight <a href="http://wren.io/concurrency.html">fibers</a> are core to the execution model and let you organize your program into an army of communicating coroutines.</p> </li> <li readability="3.6116504854369"> <p><strong>Wren is a scripting language.</strong> Wren is intended for embedding in applications. It has no dependencies, a small standard library, and <a href="http://wren.io/embedding/">an easy-to-use C API</a>. It compiles cleanly as C99, C++98 or anything later.</p> </li> </ul> </blockquote> <p>Wren is open source under the MIT license with the <a href="https://github.com/wren-lang/wren">source available on GitHub</a>. You can also try out the wren language in your browser using <a href="https://ppvk.github.io/wren-nest/">this handy site</a>. You can learn more about wren in the <a href="https://youtu.be/Zx9HPy2IjCU">video</a> below.</p> <p align="center"><iframe width="853" height="480" src="https://www.youtube.com/embed/Zx9HPy2IjCU" frameborder="0" allowfullscreen allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture">[embedded content]</iframe></p> <p class="under"> <span class="categories"><a href="https://www.gamefromscratch.com/category/GameDev-News.aspx">GameDev News</a> <a href="https://www.gamefromscratch.com/category/Programming.aspx">Programming</a></span> <span class="tags"></span> </p> <hr> <p> <!-- <script type="text/javascript"><!- - google_ad_client = "ca-pub-5156240514307514"; /* GFS 720 Post above Comments */ google_ad_slot = "5626844176"; google_ad_width = 728; google_ad_height = 90; //- -> </script> --></p> </div> https://www.sickgaming.net/blog/2020/06/15/wren-programming-language/ |