News
Various useful news and links
Site redesign
After some time, I have decided to start redesigning the content and the look of ObjectsRoot.com
I have slightly reduced the tags section, over-simplifying the access to my huge set of articles. With over 100 posts, there is no need of so much tags.
The search engine will help you to find old articles: do not worry anyway, permalinks will remain valid for a long time!
For a short introduction to the new site look, follow this link
In the next weeks you will see a new site look too, clean and clever... like no one before. Stay tuned!
Updated 14 May 2008: Site redesign is in progress. You will find the new site for the 23th of May. Comments are always wellcome!
Updated 21 may 2008: The basic look is finalized, and will not change.
Updated 6 June 2008: Suggested resolution is 1024x768 or higher. The page is dynamically rendered, anyway an 800x600 resolution is discuraged. Fixed some broken links
Javascript and Smalltalk
There is a future for SmallTalk? I was a very strong fan of the SmallTalk language, but in the last five years I have seen more and more contraction of its usage in the IT field.
The OLPC project, which uses also Squeak Smalltalk and its done by the core team fo Squeak, is not going very well.
Anyway, Dan Ingalls, one of the father of Smalltalk, is working on a new project called Lively. It is a rewrite of Morphic in Javascript, especially target for building a Squeak-like interface.
The interesting part of this work is a paper outlining the limitation of javascript as programming language. I have tried in the past years to look for ajax and or web 2.0 javascript libraries, but I feel very difficult to develop with them.
From the Paper we underline these parts:
Loading multiple JavaScript applications into the same virtual machine is problematic.[...] For instance, if two programs
happen to use the same names for global variables or functions, the overlapping variables or functions of
the first program will be replaced with the corresponding features of the second program, resulting in
unexpected behavior in the subsequent execution of the first program. Since JavaScript will not typically
give any warning messages or errors in such situations, the resulting behavior can sometimes be a total
surprise; in many cases the errors resulting from such situations may not be discovered until much later.
Evolutionary development approach is a necessity. Due to the highly permissive, error-tolerant nature of
JavaScript, JavaScript programming requires an incremental, evolutionary software development
approach. Since errors are reported much later than usual, by the time an error is reported it is often
surprisingly difficult to pinpoint the original location of the error. Error detection is made harder by the
dynamic nature of JavaScript, for instance, by the possibility to change some of the system features on
the fly.
A lot of room is left in optimizing JavaScript performance. Current JavaScript virtual machines are
unnecessarily slow. Even though JavaScript is a significantly more dynamic language than, for instance,
the Java programming language, there is no fundamental reason for JavaScript VMs to run two orders of
magnitude slower than Java virtual machines.
Memory management capabilities of the current JavaScript VMs are poorly suited to large, long-running
applications. Current JavaScript virtual machines have simple, 1970's style garbage collectors
The reason of these issue are simple:JavaScript was intially a language for web developers, small and easy to use, and very compact.
Absence of errors or warning is a nightmare, if you care of your digitating time.
And Javascript is slow because no one will write long script with it.
A very compact and clean discussion can be found in http://javascript.crockford.com/javascript.html
Fixing these problems is hard. Until the current implementation will not provide a better way of error detection, writing javascript code will be a very long and time-consuming task.
And using a so old garbage collector, give a chance to a c/64 BasicV2 to beat your code: you are awared, guys :)
Anyway, there is a good set of javascript libraries out of there (prototype and jquery, for instance but not only), so you should be quite happy
Exupery: byte compiler for Squeak
I have tried Exupery, the Squeak byte compiler written by Bryce Kampjes. Exupery is still in beta but is usable for experimenting. SqueakWeekly is happy to publish a prime-time FAQ!
(full article)Giochi da spiaggia: Teoria dei numeri
In vacanza si prende un sacco di sole, ma dopo qualche bagno o qualche scampagnata in montagna si inizia ad annoiarsi...
(full article)