Snell-Pym

Sat 10th May 2008

Interoperability and Demesnes

Filed under: ARGON, Computing — alaric @ 9:17 pm

There are two main kinds of standards involved in interoperability between computers: formats and protocols. Formats range from "file formats" such as JPEG and PNG for images, HTML and CSS for web pages, PDFs, Word documents, and so on, through to much simpler things such as how an integer is represented. Formats specify how information is represented as strings of 1s and 0s, the basic model of information that computers agree on.

(more...)

Thu 8th May 2008

Type systems

Filed under: ARGON, Scheme — alaric @ 2:10 pm

There are a number of type systems out there in different programming languages. In fact, there's zillions, but they boil down to a few basic approaches.

(more...)

Fri 2nd May 2008

Uniqueness Typing

Filed under: ARGON — alaric @ 12:21 am

Ever since I was a kid, I've been interested in exploring Uniqueness typing as a paradigm for mutation in a programming language.

The principle is simple: mutating operations - assignment, I/O, etc - are a pain. Both for the implementers of the language, who are limited in what optimisations can be performed when the values of things can shift around beneath them and when any given part of the program may have side effects so order of execution must be preserved, and for the programmers in the language, who have to deal with bugs and complex behaviour that just don't happen when everything is referentially transparent.

(more...)

Fri 11th Apr 2008

Intermediate languages

Filed under: ARGON — alaric @ 11:12 am

One way of making a compiler portable to different host platforms is to make it compile to a processor-independent (or mainly processor independent) low-level language.

GCC, perhaps the most widespread compiler of them all, uses this approach: it produces mainly processor-independent "RTL" (register transfer language), which is close to assembly language in general, but not aligned to any particular processor's implementation thereof. I say mainly processor-independent since earlier stages in the compiler do access target details and produce different RTL for different targets.

(more...)

Mon 5th Nov 2007

Apps as containers

Filed under: ARGON, Computing — alaric @ 1:29 am

As I have mentioned before, it annoys me that many applications try (subtly or otherwise) to appear as the 'containers' of your data; they are both editors of a particular type of object, and a browsing/management interface for that type of object. The insidiously widespread case being applications that have 'Open' and 'Save As' menu items that pop up mini filesystem browsers, only showing the types of documents that application cares about and hiding others.

(more...)

« Older Posts

Powered by WordPress

Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales
Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales