Newsgroups: comp.lang.lisp, comp.lang.python
From: r...@rpw3.org (Rob Warnock)
Date: Mon, 18 Dec 2006 05:08:20 -0600
Local: Mon, Dec 18 2006 6:08 am
Subject: Re: merits of Lisp vs Python
+---------------
| Paul Rubin wrote: | > [...] There are programs you can write in C but not in Lisp, | > like device drivers that poke specific machine addresses. | | I should assume you meant Common Lisp, but there isn't really any | reason you couldn't | (poke destination (peek source)) | in some version of Lisp that was meant for writing device drivers | (perhaps under a Lisp machine or something). +--------------- I do this kind of thing *every day* in CMUCL!! It's my primary ;;; Used for things like polling for a "done" flag. +--------------- CMUCL has SYSTEM:SAP-REF-{8,16,32} and SETFs of same. The R32 (declaim (inline r32)) (defun r32 (addr) (defun w32 (addr &rest values) Most other Common Lisp implementations surely have something similar. -Rob ----- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||