Michael Zucchi

 B.E. (Comp. Sys. Eng.)

  also known as zed
  & handle of notzed


android (44)
beagle (63)
biographical (103)
blogz (9)
business (1)
code (74)
compilerz (1)
cooking (31)
dez (7)
dusk (31)
extensionz (1)
ffts (3)
forth (3)
free software (4)
games (32)
gloat (2)
globalisation (1)
gnu (4)
graphics (16)
gsoc (4)
hacking (455)
haiku (2)
horticulture (10)
house (23)
hsa (6)
humour (7)
imagez (28)
java (231)
java ee (3)
javafx (49)
jjmpeg (81)
junk (3)
kobo (15)
libeze (7)
linux (5)
mediaz (27)
ml (15)
nativez (10)
opencl (120)
os (17)
panamaz (5)
parallella (97)
pdfz (8)
philosophy (26)
picfx (2)
players (1)
playerz (2)
politics (7)
ps3 (12)
puppybits (17)
rants (137)
readerz (8)
rez (1)
socles (36)
termz (3)
videoz (6)
vulkan (3)
wanki (3)
workshop (3)
zcl (4)
zedzone (24)
Tuesday, 09 May 2023, 03:05


So a few months ago Xyhpoid contacted me about the work I did on Dusk some time ago to see if I still had the source. Indeed I did, but I hadn't touched it for 10 years, left it in a half-arsed state, and can't remember much of where it was at or what I wanted to do with it.

Still, at the moment i've got a lot of time on my hands and not much to do with it so I started poking around again. Amongst some minor phaffing about I decided to look at writing a compiler for the dusk script language that compiles directly to the JVM.

It's been a somewhat interesting exercise, from parser for a custom language to generator for class files. A probably goal is to create a new dusk script - it will be something like a relaxed java but with more security by limiting access to classes and functions via white-lists.

Apart from something interesting to play another motiviator is the dropping of nashorn from the OpenJDK. I did a quick survey of extant JVM languages looking for something sutiable but despite a proliferation in the earlier days of Java most have been abandonded, and even those that haven't haven't updated to handle the java modules system or the deprecation for removal of SecurityManager. Another problem is that most give unfettered access to the whole JDK in one way or another which isn't acceptable for my use case.

Anyway some of the exploratory work is going on in the compilerz project. There is also some work going on in duskz but i haven't pushed it stream yet.

Tagged compilerz, dusk, hacking.
Life and Legs ... | JDK 20, foreign-abi
Copyright (C) 2019 Michael Zucchi, All Rights Reserved. Powered by gcc & me!