访问一台荒谬的电脑? :-D [英] Access to a ridiculous computer? :-D

查看:37
本文介绍了访问一台荒谬的电脑? :-D的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有没有人可以访问一台荒谬的电脑?类似于:


CHAR_BIT == 9

PADDING_BITS(int)!= 0

NUMBER_SYSTEM == SIGN_MAGNITUDE

空指针位模式==所有的


我正在写一些完全可移植的代码,并且很想实际编译它

for ,并测试它,一个非常奇怪的机器:-D


或者有人知道一个特定的机器我可以得到我的手很便宜
便宜为了玩耍,一些非常奇怪的东西我可以获得一个兼容的C89编译器吗?也许是一台旧的超级计算机?对于CHAR_BIT来说,我想要的主要价值是一个奇怪的值,但如果

整数类型有填充的话,我会欣喜若狂!


-
$ b $bTomásóhéilidhe


Has anyone here got access to a ridiculous computer? Something like:

CHAR_BIT == 9
PADDING_BITS(int) != 0
NUMBER_SYSTEM == SIGN_MAGNITUDE
Null pointer bit pattern == All ones

I''m writing some fully-portable code and would love to actually compile it
for, and test it on, a very strange machine :-D

Or does anyone know of a particular machine I could get my hands on very
cheaply just for playing around with, something very strange which I can
get a compliant C89 compiler for? An old supercomputer perhaps? The main
thing I''d want is a strange value for CHAR_BIT, but I''d be ecstatic if the
integer types had padding aswell!

--
Tomás ó héilidhe

推荐答案

" Tom ?? s ?? H 18 ilidhe" < to *@lavabit.comwrites:
"Tom??s ?? h??ilidhe" <to*@lavabit.comwrites:

有没有人可以访问一台荒谬的电脑?类似于:


CHAR_BIT == 9

PADDING_BITS(int)!= 0

NUMBER_SYSTEM == SIGN_MAGNITUDE

空指针位模式==所有的


我正在写一些完全可移植的代码,并且很想实际编译它

for ,并测试它,一个非常奇怪的机器:-D


或者有人知道一个特定的机器我可以得到我的手很便宜
便宜为了玩耍,一些非常奇怪的东西我可以获得一个兼容的C89编译器吗?也许是一台旧的超级计算机?对于CHAR_BIT来说,我想要的主要好处是一个奇怪的值,但如果

整数类型也有填充,我会欣喜若狂!
Has anyone here got access to a ridiculous computer? Something like:

CHAR_BIT == 9
PADDING_BITS(int) != 0
NUMBER_SYSTEM == SIGN_MAGNITUDE
Null pointer bit pattern == All ones

I''m writing some fully-portable code and would love to actually compile it
for, and test it on, a very strange machine :-D

Or does anyone know of a particular machine I could get my hands on very
cheaply just for playing around with, something very strange which I can
get a compliant C89 compiler for? An old supercomputer perhaps? The main
thing I''d want is a strange value for CHAR_BIT, but I''d be ecstatic if the
integer types had padding aswell!



CHAR_BIT 8的最佳选择可能是DSP(数字信号
处理器),但我认为这些系统往往不会托管C

实现(即大部分标准库可能都缺失)。


你*可能*能够获得一台旧的工作超级计算机

很多钱,但电力和空调成本很可能是b $ b巨大的。在任何情况下,在相对较旧的超级计算机上,我已经使用了

(Cray T90),CHAR_BIT == 8(编译器付出了相当大的努力来支付
使这项工作,即使硬件不支持8位内存

访问。但我相信至少有一些预定义的整数类型

确实有填充位。 />

cray-cyber.org提供免费访问一些旧的超级计算机;其中一些是b / b
全天候可用,其他则不是。


-

Keith Thompson(The_Other_Keith)< ks *** @ mib.org>

[...]

我们必须做点什么。这是事情。因此,我们必须这样做。

- Antony Jay和Jonathan Lynn,是部长

Your best bet for CHAR_BIT 8 is probably a DSP (Digital Signal
Processor), but I think those systems tend not to have hosted C
implementations (i.e., much of the standard library may be missing).

You *might* be able to obtain an old working supercomputer for not too
much money, but the power and air conditioning costs are likely to be
huge. In any case, on the relatively old supercomputers I''ve used
(Cray T90), CHAR_BIT==8 (the compiler went to considerable effort to
make this work, even though the hardware didn''t support 8-bit memory
access. But I believe at least some of the predefined integer types
did have padding bits.

cray-cyber.org offers free access to some old supercomputers; some of
them are available 24/7, others are not.

--
Keith Thompson (The_Other_Keith) <ks***@mib.org>
[...]
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"


在文章< Xn *************************** @ 194.125.133.14>中,
$ b $bTomásóhéilidhe< to*@lavabit.comwrote:
In article <Xn***************************@194.125.133.14>,
Tomás ó héilidhe <to*@lavabit.comwrote:

>这里有没有人可以获得一个嘲笑好电脑?类似于:
>Has anyone here got access to a ridiculous computer? Something like:


CHAR_BIT == 9
CHAR_BIT == 9



可能你可以使用其中一个模拟器在simh.trailing-edge.com。


SIMH实现模拟器:


* Data General Nova,Eclipse

*数字设备公司PDP-1,PDP-4,PDP-7,PDP-8,PDP-9,PDP-10,PDP-11,PDP-15,VAX

* GRI Corporation GRI-909

* IBM 1401,1620,1130,7090 / 7094,系统3

* Hewlett-Packard 2114,2115,2116,2100,21MX

*霍尼韦尔H316 / H516

* MITS Altair 8800,8080和Z80

* Royal-Mcbee LGP-30,LGP-21

*科学数据系统SDS 940

-

有一些想法是错的,只有一个非常聪明的人才能相信他们。 - George Orwell

Possibly you could use one of the emulators at simh.trailing-edge.com.

"SIMH implements simulators for:

* Data General Nova, Eclipse
* Digital Equipment Corporation PDP-1, PDP-4, PDP-7, PDP-8, PDP-9, PDP-10, PDP-11, PDP-15, VAX
* GRI Corporation GRI-909
* IBM 1401, 1620, 1130, 7090/7094, System 3
* Interdata (Perkin-Elmer) 16b and 32b systems
* Hewlett-Packard 2114, 2115, 2116, 2100, 21MX
* Honeywell H316/H516
* MITS Altair 8800, with both 8080 and Z80
* Royal-Mcbee LGP-30, LGP-21
* Scientific Data Systems SDS 940"
--
"There are some ideas so wrong that only a very intelligent person
could believe in them." -- George Orwell


" Tom ????????????????????????? ?????????????????? ?????????????????????????????????????????????????? "写道:
"Tom?????????????????????????????????????????????? ?????????????????????????????????????????????????? " wrote:

>

有没有人可以访问一台荒谬的电脑?类似于:


CHAR_BIT == 9

PADDING_BITS(int)!= 0

NUMBER_SYSTEM == SIGN_MAGNITUDE

空指针位模式==所有的


我正在写一些完全可移植的代码,并且很想实际编译

for ,并测试它,一个非常奇怪的机器:-D
>
Has anyone here got access to a ridiculous computer? Something like:

CHAR_BIT == 9
PADDING_BITS(int) != 0
NUMBER_SYSTEM == SIGN_MAGNITUDE
Null pointer bit pattern == All ones

I''m writing some fully-portable code and would love to actually compile
it for, and test it on, a very strange machine :-D



这样的机器对于测试可移植性会很有趣。最好的

解决方案是一个可配置的模拟器和编译器,允许您指定许多这些实现定义的和其他可变属性。


编写模拟器听起来很有趣 - 编写一个可配置的编译器

似乎需要做很多工作!


也许基于C语言解释器的东西会是更好。

有没有可以为

可配置目标起点的C解释器?


-

Thad

Such a machine would be interesting for testing portability. The best
solution is a configurable simulator and compiler that lets you specify
many of these implementation-defined and otherwise variable attributes.

Writing the simulator sounds interesting -- writing a configurable compiler
seems like a lot of work!

Perhaps something based on a C language interpreter would be better. Are
there any C interpreters that would make a good starting point for a
configurable target?

--
Thad


这篇关于访问一台荒谬的电脑? :-D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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