I am working with colleagues on implementing an actor-based language called ESL: https://github.com/TonyClark/ESL (contact me at t.clark@
shu.ac.uk if you are interested). ESL is a VM written in Java. Part of the tool support exports actor-histories encoded in SVG. I tried a number of technical solutions to embed a browser in Swing in order to visualise and interact with the SVG. By far the easiest and technically superior solution is JxBrowser - it worked straight to out of the box without any problems at all.
Performance of ranged accesses into arrays: modulo, multiply-shift and masks - Suppose that you wish to access values in an array of size n, but instead of having indexes in [0,n), you have arbitrary non-negative integers. This sort o...
13 hours ago