有趣的编码想法 [英] Interesting coding idea

查看:79
本文介绍了有趣的编码想法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编写一台模拟古老计算机(例如pdp-7)的虚拟机可能会很有趣。然后,对它进行编码会很有趣(将gcc移植到它可能会?)。我认为玩机器语言中长期被遗忘的编码艺术会很有趣。


那么虚构的计算机怎么样呢,比如一台完全不同的方式工作在

(如非二进制计算机)?


它不是非常有用,但它应该是一个非常有趣且非常有趣的东西可以破解。


-

-----开始GEEK代码块-----

版本:3.1

GCS / E / L d-- s +:+ a --- C ++ UL + P --- L ++> +++ E W ++ N + o + K ++ w ---

!O M-- V - PS ++ PE ++ Y> + PGP> + t ++(+++)5? X R + tv @ b +++ @ DI ++++ D --- G +

e- h! r-- y

------结束GEEK代码块------

Perhaps it would be interesting to program a virtual machine simulating
an ancient computer (such as the pdp-7). Then, it would be rather
interesting to code for it (porting gcc to it maybe?). I think it would
be fun to play with the long-forgotten art of coding in machine language.

And what about a fictional computer, such as one that works on an
entirely different way (such as a non-binary computer)?

It wouldn''t be very useful, but it wouold be a very fun and very
interesting thing to hack on.

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/E/L d-- s+:+ a--- C++ UL+ P--- L++>+++ E W++ N+ o+ K++ w---
!O M-- V--PS++ PE++ Y>+ PGP>+ t++(+++) 5? X R+ tv@ b+++@ DI++++ D--- G+
e- h! r-- y
------END GEEK CODE BLOCK------

推荐答案

On星期六,2004年10月23日18:54:55 -0300,Bruno R. Dias写道:
On Sat, 23 Oct 2004 18:54:55 -0300, Bruno R. Dias wrote:
也许编写模拟古老计算机的虚拟机会很有趣(例如pdp-7)。然后,为它编码会很有趣(将gcc移植到它可能?)。我认为玩机器语言中长期被遗忘的编码艺术会很有趣。
http://www.aracnet.com/~healyzh/ decemu.html

(大多数古代计算机都有模拟器/虚拟机

;)还有一台虚构的计算机,比如一台以
完全不同的方式工作(例如非二进制计算机)?
Perhaps it would be interesting to program a virtual machine simulating
an ancient computer (such as the pdp-7). Then, it would be rather
interesting to code for it (porting gcc to it maybe?). I think it would
be fun to play with the long-forgotten art of coding in machine language. http://www.aracnet.com/~healyzh/decemu.html
(There are emulators/virtual machines for most ancient computers out there
as well ;) And what about a fictional computer, such as one that works on an entirely different way (such as a non-binary computer)?



好​​吧,gcc支持mmix
http://www-cs-faculty.stanford.edu/~knuth/mmix.html ,和

相同的区域; http://tph.tuwien.ac.at/~oemer/ qcl.html


Well, gcc supports mmix
http://www-cs-faculty.stanford.edu/~knuth/mmix.html , and something in the
same area; http://tph.tuwien.ac.at/~oemer/qcl.html


2004年10月23日星期六18:54:55 -0300,Bruno R. Dias

< br *** @ octantis.com.br>在comp.lang.c中写道:
On Sat, 23 Oct 2004 18:54:55 -0300, "Bruno R. Dias"
<br***@octantis.com.br> wrote in comp.lang.c:
也许编写一个模拟古老计算机(如pdp-7)的虚拟机会很有趣。然后,为它编码会很有趣(将gcc移植到它可能?)。我觉得玩机器语言中长期被遗忘的编码艺术会很有趣。

那个虚构的计算机怎么样,比如一台工作的计算机呢
完全不同的方式(例如非二进制计算机)?

它不是非常有用,但它是一个非常有趣且非常有趣的东西。
Perhaps it would be interesting to program a virtual machine simulating
an ancient computer (such as the pdp-7). Then, it would be rather
interesting to code for it (porting gcc to it maybe?). I think it would
be fun to play with the long-forgotten art of coding in machine language.

And what about a fictional computer, such as one that works on an
entirely different way (such as a non-binary computer)?

It wouldn''t be very useful, but it wouold be a very fun and very
interesting thing to hack on.




这究竟与C语言有什么关系?我怀疑

它在comp.lang.python中同样偏离主题。


-

Jack Klein
主页: http://JK-Technology.Com

常见问题解答

comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html

comp.lang.c ++ http://www.parashift.com/c++-faq-lite/

alt.comp.lang.learn.c-c ++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html



And what exactly does this have to do with the C language? I suspect
it is equally off-topic in comp.lang.python.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html


Bruno R. Dias写道:
Bruno R. Dias wrote:
也许编写一个模拟古老计算机的虚拟机(如pdp-7)会很有趣。
Perhaps it would be interesting to program a virtual machine simulating
an ancient computer (such as the pdp-7).




Google" PDP-7 e mulator" ;.

http:// www。 aracnet.com/~healyzh/pdp7emu.html

这是关于comp.lang.python的话题


Andrew
da***@dalkescientific.com


这篇关于有趣的编码想法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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