Oracle 是用 C 还是 Java 创建的?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5340274/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Oracle created in C or Java?
提问by Harrison
So i've looked around online trying to figure out if Oracle(Database) was created in C/C++ or Java? I've gotten answers saying either or, but not a definite answer?
所以我在网上环顾四周,试图弄清楚 Oracle(数据库)是用 C/C++ 还是 Java 创建的?我得到的答案是要么是要么,但没有明确的答案?
seems like it should've been written in C, but then again im not sure. I even looked on their site and I can't find any information.
似乎它应该是用 C 编写的,但是我又不确定。我什至查看了他们的网站,但找不到任何信息。
Thanks
谢谢
回答by Harrison
According to Tom Kyte: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::NO::P11_QUESTION_ID:5228516811673
根据 Tom Kyte:http://asktom.oracle.com/pls/asktom/f ?p=100:11:0::NO::P11_QUESTION_ID: 5228516811673
Oracle was originally written in fortran and then redone in C, which it has been written in ever since. In fact, when we ported Oracle to the mainframe for the first time we were faced with an issue -- do we rewrite Oracle in assembler (there was no c compiler on the mainframe back then) or do we write a C compiler? We wrote a C compiler.
Oracle 最初是用 fortran 编写的,然后用 C 重新编写,此后一直用 C 编写。事实上,当我们第一次将 Oracle 移植到大型机时,我们面临一个问题——我们是在汇编程序中重写 Oracle(当时大型机上没有 c 编译器)还是我们编写 C 编译器?我们写了一个 C 编译器。
回答by a_horse_with_no_name
The database engine itself is written in C (or C++)
数据库引擎本身是用 C(或 C++)编写的
See the entry for 1983 in the Oracle timeline: http://www.oracle.com/us/corporate/timeline/index.html
请参阅 Oracle 时间线中 1983 年的条目:http: //www.oracle.com/us/corporate/timeline/index.html
with server code written in the C programming language
使用 C 编程语言编写的服务器代码
回答by Costis Aivalis
Originally it was written in Assembly for the VAX/VMS. In 1982 Oracle V3 was written in C. Hereyou will find a bit of Oracle history.
最初它是用汇编为 VAX/VMS 编写的。1982 年,Oracle V3 是用 C 编写的。在这里您会发现一些 Oracle 历史。
By the way, .. Larry Ellison hires the best professional skippers to race his sailing boat ... :-)
顺便说一句,..拉里·埃里森聘请了最好的专业船长来参加他的帆船比赛...... :-)