code examples

« Previous Entries

Simple “multi-threading” class

Monday, November 28th, 2016

Just an example how you can use co-functions to do “multi-threading” in JewelScript.

Declaring local variables with ‘auto’

Saturday, March 19th, 2016

JewelScript 1.4 adopts the auto keyword known from C++11.

Disposable objects: semi-destructors added

Saturday, March 19th, 2016

JewelScript 1.4 supports disposable objects.

Making a C library monolithic

Sunday, March 13th, 2016

This is the script I am using to make the “monolithic” source code version of the JewelScript library. Feel free to rip the code from this site and change it to your needs, if you would like to try to make a monolithic version of your project, too.

JewelScript 1.4: dynamic compilation during execution

Saturday, February 27th, 2016

JewelScript’s runtime overhaul has reached a new milestone. I have literally torn the virtual machine apart, in order to make the management of byte code more flexible.

Support for delegating constructors added

Tuesday, February 16th, 2016

JewelScript 1.4 supports delegating constructors. A delegating constructor is a constructor that calls another constructor of the same class during initialization time, in order to simplify and generalize initialization of the instance.

Render World goes 3D

Monday, August 3rd, 2015

I have updated the “Render World” effect for IrfanView Sandbox 1.3 with global lighting. With striking results.


Monday, January 12th, 2015

Multiple inheritance, “mix-in classes”

Monday, January 12th, 2015

Single inheritance and virtual methods

Monday, January 12th, 2015 « Previous Entries