如果操作系统是用Python编写的,它看起来怎么样? [英] If an OS was to be written in Python, how'w it look?

查看:72
本文介绍了如果操作系统是用Python编写的,它看起来怎么样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果操作系统是用Python编写的,并且硬件是针对

优化的,那么对硬件进行哪些更改以适应Python

强度和弱点?


在Lisp机器上有一些标记的架构?
http://en.wikipedia.org/wiki/Tagged_architecture


还有什么?

解决方案

On 6 Ott,06:16,进程< circularf ... @ gmail.comwrote:


如果要编写操作系统在Python和针对

优化的硬件中,对硬件进行了哪些更改以适应Python

强度和弱点?


在Lisp机器中有一些标记的体系结构吗? http://en.wikipedia.org/ wiki / Tagged_architecture


还有什么?



我会说python-processor应该有字典查找

(哈希表),垃圾收集和动态列表由
硬件/固件。


也许在另外二十年......


Ciao

----

FB


>如果操作系统是用Python编写的,而硬件是针对
优化的blockquote class =post_quotes>


>它会对硬件进行哪些更改以适应Python的优势和劣势?



我不是专家,但这似乎是一个很好的例子

python wasn''好的。不过我总是想知道,什么是一个运行低级别的python(或java,或者说是什么)bb内核模块,因为更高级别
操作系统上的
组件可以用

解释语言实现。这样的事情有什么好处吗?

或者那也是废话?再一次,我不是专家。


Eric


2008年10月6日星期一上午11:02, Eric Wertman< ew ****** @ gmail.comwrote:


> >如果操作系统是用Python编写的,并且硬件是针对它进行优化的,那么硬件会有哪些变化来适应Python的优势和劣势?




我不是专家,但这似乎是一个很好的例子

python并不好。不过我总是想知道,什么是一个运行低级别的python(或java,或者说是什么)bb内核模块,因为更高级别
操作系统上的
组件可以用

解释语言实现。这样的事情有什么好处吗?

或者那也是废话?再一次,我不是专家。



我能想到的最接近的是Singularity,微软的b $ b研究操作系统用.NET编写(好吧,特别是C#)。我认为

他们的意图更多的是缩小可信计算基础的大小

虽然然后制作所有实际的OS服务并且这样管理

代码。

http://research.microsoft .com / os / Singularity /


If an OS was to be written in Python and the hardware optimized for
it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?

Some tagged architecture like in Lisp machines?
http://en.wikipedia.org/wiki/Tagged_architecture

What else?

解决方案

On 6 Ott, 06:16, process <circularf...@gmail.comwrote:

If an OS was to be written in Python and the hardware optimized for
it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?

Some tagged architecture like in Lisp machines?http://en.wikipedia.org/wiki/Tagged_architecture

What else?

I would say that a python-processor should have dictionary lookup
(hash tables), garbage collection and dynamic lists implemented by
hardware/firmware.

Maybe in another twenty years ...

Ciao
----
FB


>If an OS was to be written in Python and the hardware optimized for

>it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?


I''m no expert, but this would seem like a good example of something
that python wasn''t good for. I have always wondered, though, what a
Linux kernel module would look like that had a python (or java, or
whatever) interpreter running low-level, so the higher level
components on the operating system could be implemented in an
interpreted language. Is there any benefit to something like that?
Or is that crap too? Again, I''m no expert.

Eric


On Mon, Oct 6, 2008 at 11:02 AM, Eric Wertman <ew******@gmail.comwrote:

>>If an OS was to be written in Python and the hardware optimized for
it, what changes would be made to the hardware to accomodate Python
strenghs and weaknesses?



I''m no expert, but this would seem like a good example of something
that python wasn''t good for. I have always wondered, though, what a
Linux kernel module would look like that had a python (or java, or
whatever) interpreter running low-level, so the higher level
components on the operating system could be implemented in an
interpreted language. Is there any benefit to something like that?
Or is that crap too? Again, I''m no expert.

The closest I can think of to that is Singularity, Microsoft''s
research OS written in .NET (well, C# specifically I guess). I think
their intent was more to shrink the size of the trusted computing base
though and then make all of the actual OS services and such managed
code.

http://research.microsoft.com/os/Singularity/


这篇关于如果操作系统是用Python编写的,它看起来怎么样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆