From: Bill Cunningham on

"Pascal J. Bourguignon" <pjb(a)informatimago.com> wrote in message
news:87bpiaclkb.fsf(a)galatea.local...

> Don't be silly, markup languages are not programming languages.
>
> Otherwise, indeed, OS can be written in javascript.
> http://research.sun.com/projects/lively
>
Can data for memory management and such that OSs need be done with XML?
I don't do web development so I do not know. There is alot of xml in Java's
JVM code. Something tells you couldn't use Java as it is natively for OS
design. But of course in wasn't made for OS development.

Bill


From: Daniel Pitts on
Bill Cunningham wrote:
> "cbcurl" <cbcurl(a)gmail.com> wrote in message
> news:679a89c3-8396-4672-95ce-58b37558b8f2(a)g7g2000yqa.googlegroups.com...
> On Dec 7, 8:16 pm, p...(a)informatimago.com (Pascal J. Bourguignon)
> wrote:
>
>> Don't be silly, markup languages are not programming languages.
>
> They can be. Curl is a programming language that can also be used as a
> markup language.
>
> What is Curl? Now I've never heard of that. I thought TCL/TK might be
> mentioned in writing OSs but maybe not. I have never used tcl/tk so I can't
> comment on it. It's interpreter driven anyway so neither it nor perl could
> be used for writing OSs.

I think you are confusing OS with kernel. The core of a kernel must be
a compiled language, but nothing says the rest of an operating system
(or even the rest of the kernel) must be compiled. In theory, it would
be relatively easy to bootstrap an interpreter or VM, and run non
compiled-code for the rest of the OS operations.

An OS is a collection of many components that let the user use the
computer. If you interpret that definition wide enough, any application
that is installed on the computer becomes part of the OS.

--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
From: Pascal J. Bourguignon on
Daniel Pitts <newsgroup.spamfilter(a)virtualinfinity.net> writes:

> Bill Cunningham wrote:
>> "cbcurl" <cbcurl(a)gmail.com> wrote in message
>> news:679a89c3-8396-4672-95ce-58b37558b8f2(a)g7g2000yqa.googlegroups.com...
>> On Dec 7, 8:16 pm, p...(a)informatimago.com (Pascal J. Bourguignon)
>> wrote:
>>
>>> Don't be silly, markup languages are not programming languages.
>> They can be. Curl is a programming language that can also be used as
>> a
>> markup language.
>> What is Curl? Now I've never heard of that. I thought TCL/TK
>> might be mentioned in writing OSs but maybe not. I have never used
>> tcl/tk so I can't comment on it. It's interpreter driven anyway so
>> neither it nor perl could be used for writing OSs.
>
> I think you are confusing OS with kernel. The core of a kernel must
> be a compiled language,

Why?

Actually, Apple is known to sell kernels that are interpreted. Well,
I mean kernels compiled for one processor running on an emulator for a
new processor. And Apple is not alone and not the first. Another
example, in 1983, I worked on a computer that emulated an older
computer as software running on microprocessors. The system and all
the applications were just being interpreted all the time.

There's no fundamental difference between a virtual machine and an
"interpreter", and there's no fundamental reason why the kernel
should run on "native" code, it could very well include an interpreter
and be interpreted.

In fact, a lot of kernels do. For example, kernels running
openfirmware drivers are interpreting them.


> but nothing says the rest of an operating
> system (or even the rest of the kernel) must be compiled. In theory,
> it would be relatively easy to bootstrap an interpreter or VM, and run
> non compiled-code for the rest of the OS operations.
>
> An OS is a collection of many components that let the user use the
> computer. If you interpret that definition wide enough, any
> application that is installed on the computer becomes part of the OS.

Machines running on machines running on machines...

--
__Pascal Bourguignon__
From: Pascal J. Bourguignon on
"Bill Cunningham" <nospam(a)nspam.invalid> writes:

> "Pascal J. Bourguignon" <pjb(a)informatimago.com> wrote in message
> news:87bpiaclkb.fsf(a)galatea.local...
>
>> Don't be silly, markup languages are not programming languages.
>>
>> Otherwise, indeed, OS can be written in javascript.
>> http://research.sun.com/projects/lively
>>
> Can data for memory management and such that OSs need be done with XML?
> I don't do web development so I do not know. There is alot of xml in Java's
> JVM code. Something tells you couldn't use Java as it is natively for OS
> design. But of course in wasn't made for OS development.

XML is not a programming language.

Now, the trick is that any language that allow you to describe data,
let you describe programs (since programs are data), and therefore you
can write a processor for this kind of data.

Some silly people have been writing processors for programs
represented as XML data. But we cannot say that they're writing
programs in XML no more than you could say that I write my programs in
parentheses (I write them in Lisp).

--
__Pascal Bourguignon__
From: Pascal J. Bourguignon on
"Bill Cunningham" <nospam(a)nspam.invalid> writes:

> "cbcurl" <cbcurl(a)gmail.com> wrote in message
> news:679a89c3-8396-4672-95ce-58b37558b8f2(a)g7g2000yqa.googlegroups.com...
> On Dec 7, 8:16 pm, p...(a)informatimago.com (Pascal J. Bourguignon)
> wrote:
>
>> Don't be silly, markup languages are not programming languages.
>
> They can be. Curl is a programming language that can also be used as a
> markup language.

You have a problem with the notion of subset.


> What is Curl? Now I've never heard of that. I thought TCL/TK might be
> mentioned in writing OSs but maybe not. I have never used tcl/tk so I can't
> comment on it. It's interpreter driven anyway so neither it nor perl could
> be used for writing OSs.

Of course any programming language can be used to write an OS. Aren't
you aware of the Turing Machine equivalence?


--
__Pascal Bourguignon__