The Wren Programming LanguagePublished on 02 May 2019 (Updated: 30 October 2019)
Last time we covered a relatively a relatively new language called Elm, but it still managed to have a Wikipedia page. Our language today, Wren, does not. As a result, I had to do a bit of digging to learn about this language.
Well, according to the website, Wren was created as an object-oriented game scripting language. Apparently, Lua is the go-to for game scripting currently, but it’s class system is pretty unnatural. Thus, Wren was born!
In addition to filling the object-oriented game scripting niche, Wren has some pretty sweet support for concurrency through a feature called fibers. Fibers are lightweight threads which eliminate random context switching. In other words, fibers generally only switch when they are told to—much like coroutines.
- Hello World in Wren on 02 May 2019 by Jeremy Grifski
J. Grifski, “Hello World in Wren,” The Renegade Coder, 23-Apr-2018. [Online]. Available: https://therenegadecoder.com/code/hello-world-in-wren/. [Accessed: 02-May-2019]. ↩