3 ms·
At first glance it seems like an amazing language. Very few basic building blocks, and yet it manages to capture a good deal of the advanced features of modern
by tomlu 13y ago
At first glance it seems like an amazing language. Very few basic building blocks, and yet it manages to capture a good deal of the advanced features of modern languages. Nice, parsimonious syntax too. I especially like the Rubyesque way blocks are passed to functions.
Couple of things I imagine might bother me:
* Lack of upwards funargs. The reason stated is performance. I realise that it's complicated to implement, but it might be possible to start out with cheap blocks and promote them later to full closures if necessary.
* Reference cycles as an error. It's pretty easy to create these in legit circumstances. Maybe something like Python's auxiliary GC could be useful here.
- Aardappel 13y agoThanks! - considering adding "full" closures at some point, so far haven't felt the need. We'll see how unbearable this gets eventually :) - it does have a GC, which needs to be manually invoked. In games, that means you can decide to run it only on level start/end, etc