Skip to contentSkip to conversation

Xen Development for Dummies.

DISCUSSION Jason Long 4 participants 10 messages Feb 6, 2015 – Feb 9, 2015

lore
Share & tools
lore

Jason Long

author
#0 lore raw

Hello Folks.
I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc?

Tnx.

#1 lore raw
Quoted 3 lines · Jason Long

Hello Folks.
I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc?

Hello,

Xen is mostly written in C language, but there are other languages being used aswell.. obviously lowlevel assembly language for some architecture specific lowlevel stuff, and some highler level languages (OCaml) for certain components (oxenstored). Also various scripting languages are used, perl, python, etc.

Also you need to know all the usual Linux/Unix commandline (development) tools.

-- Pasi

Quoted 7 lines

Tnx.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#2 lore raw

Can you tell me why Ocaml used? What is the features of this language? Why not other?
Excuse me, I'm a beginner in programming and can you show me some books or reference step by step? I'm a dummies :(

Cheers.

On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Hello Folks.
I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc?

Hello,

Xen is mostly written in C language, but there are other languages being used aswell.. obviously lowlevel assembly language for some architecture specific lowlevel stuff, and some highler level languages (OCaml) for certain components (oxenstored). Also various scripting languages are used, perl, python, etc.

Also you need to know all the usual Linux/Unix commandline (development) tools.

-- Pasi

Quoted 7 lines

Tnx.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 3 lines · Jason Long

Can you tell me why Ocaml used? What is the features of this language? Why not other?
Excuse me, I'm a beginner in programming and can you show me some books or reference step by step? I'm a dummies :(

There are two different versions of xenstore-daemon (xenstored). The earlier one, written in C, and the newer one, written in OCaml (oxenstored).

Note that this is just one of the many components in Xen. Most Xen components are written in C.

Here you have some slides about oxenstored:
http://gazagnaire.org/pub/GH09.pdf

-- Pasi

Quoted 26 lines

Cheers.

On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Hello Folks.
I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc?

Hello,

Xen is mostly written in C language, but there are other languages being used aswell.. obviously lowlevel assembly language for some architecture specific lowlevel stuff, and some highler level languages (OCaml) for certain components (oxenstored). Also various scripting languages are used, perl, python, etc.

Also you need to know all the usual Linux/Unix commandline (development) tools.

-- Pasi

Quoted 7 lines

Tnx.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#4 lore raw

In your opinion, Can a normal user like me become a developer?
I must first start learning C or Ocaml? Can you recommend a book for both to me? Can you tell me why developers choose Ocaml and C? and not C++ or Python?

Cheers.

On Friday, February 6, 2015 2:46 AM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Can you tell me why Ocaml used? What is the features of this language? Why not other?
Excuse me, I'm a beginner in programming and can you show me some books or reference step by step? I'm a dummies :(

There are two different versions of xenstore-daemon (xenstored). The earlier one, written in C, and the newer one, written in OCaml (oxenstored).

Note that this is just one of the many components in Xen. Most Xen components are written in C.

Here you have some slides about oxenstored:
http://gazagnaire.org/pub/GH09.pdf

-- Pasi

Quoted 10 lines

Cheers.

On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Hello Folks.
I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc?

Quoted 16 lines

Hello,

Xen is mostly written in C language, but there are other languages being used aswell.. obviously lowlevel assembly language for some architecture specific lowlevel stuff, and some highler level languages (OCaml) for certain components (oxenstored). Also various scripting languages are used, perl, python, etc.

Also you need to know all the usual Linux/Unix commandline (development) tools.

-- Pasi

Quoted 7 lines

Tnx.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 4 lines · Jason Long

In your opinion, Can a normal user like me become a developer?
I must first start learning C or Ocaml? Can you recommend a book for both to me? Can you tell me why developers choose Ocaml and C? and not C++ or Python?

Xen hypervisor, like any other hypervisor, is a very low level piece of software. Lowlevel software tends to be written in lowlevel languages, such as C and assembler.

Like said most of Xen is written in C, so you need to learn/know C.

You should first start with learning programming with C language, and the generic concepts of computer hardware, operating systems, kernels, memory management, etc.

Something like a hypervisor, or an operating system kernel, is a quite complex beast, so you should probably first start with something much easier and learn C properly in an easier project. When you know C and Linux/Unix internals well you can continue working on Xen aswell.

-- Pasi

Quoted 48 lines

Cheers.

On Friday, February 6, 2015 2:46 AM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Can you tell me why Ocaml used? What is the features of this language? Why not other?
Excuse me, I'm a beginner in programming and can you show me some books or reference step by step? I'm a dummies :(

There are two different versions of xenstore-daemon (xenstored). The earlier one, written in C, and the newer one, written in OCaml (oxenstored).

Note that this is just one of the many components in Xen. Most Xen components are written in C.

Here you have some slides about oxenstored:
http://gazagnaire.org/pub/GH09.pdf

-- Pasi

Quoted 26 lines

Cheers.

On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Hello Folks.
I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc?

Hello,

Xen is mostly written in C language, but there are other languages being used aswell.. obviously lowlevel assembly language for some architecture specific lowlevel stuff, and some highler level languages (OCaml) for certain components (oxenstored). Also various scripting languages are used, perl, python, etc.

Also you need to know all the usual Linux/Unix commandline (development) tools.

-- Pasi

Quoted 7 lines

Tnx.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#6 lore raw

Thank you.
Can you answer my previous questions about Ocaml and C? Why Ocaml is unique and which part of Xen use it? I know my questions are silly but I'm a dummies and I looked at amazon.com and found Tons of C book but which one is good?

Cheers.

On Friday, February 6, 2015 5:14 PM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 4 lines · Jason Long

In your opinion, Can a normal user like me become a developer?
I must first start learning C or Ocaml? Can you recommend a book for both to me? Can you tell me why developers choose Ocaml and C? and not C++ or Python?

Xen hypervisor, like any other hypervisor, is a very low level piece of software. Lowlevel software tends to be written in lowlevel languages, such as C and assembler.

Like said most of Xen is written in C, so you need to learn/know C.

You should first start with learning programming with C language, and the generic concepts of computer hardware, operating systems, kernels, memory management, etc.

Something like a hypervisor, or an operating system kernel, is a quite complex beast, so you should probably first start with something much easier and learn C properly in an easier project. When you know C and Linux/Unix internals well you can continue working on Xen aswell.

-- Pasi

Quoted 13 lines

Cheers.

On Friday, February 6, 2015 2:46 AM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Can you tell me why Ocaml used? What is the features of this language? Why not other?
Excuse me, I'm a beginner in programming and can you show me some books or reference step by step? I'm a dummies :(

There are two different versions of xenstore-daemon (xenstored). The earlier one, written in C, and the newer one, written in OCaml (oxenstored).

Quoted 35 lines

Note that this is just one of the many components in Xen. Most Xen components are written in C.

Here you have some slides about oxenstored:
http://gazagnaire.org/pub/GH09.pdf

-- Pasi

Quoted 26 lines

Cheers.

On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <[email protected]> wrote:

Quoted 3 lines · Jason Long

Hello Folks.
I want to become a Xen developer and I don't have any knowledge about development. Can you tell me what programming language is needed? How can I start and etc?

Hello,

Xen is mostly written in C language, but there are other languages being used aswell.. obviously lowlevel assembly language for some architecture specific lowlevel stuff, and some highler level languages (OCaml) for certain components (oxenstored). Also various scripting languages are used, perl, python, etc.

Also you need to know all the usual Linux/Unix commandline (development) tools.

-- Pasi

Quoted 7 lines

Tnx.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#7 lore raw
Quoted 1 line · Jason Long

I know my questions are silly but I'm a dummies and I looked at amazon.com and found Tons of C book but which one is good?

"The C Programming Language", by Brian W. Kernighan and Dennis M.
Ritchie: http://cm.bell-labs.com/cm/cs/cbook/

Cheers,
Razvan

author
#8 lore raw

Can anyone tell me why Citrix Developer choose Ocaml?

On Friday, February 6, 2015 12:02 PM, Razvan Cojocaru <[email protected]> wrote:

Quoted 1 line · Jason Long

I know my questions are silly but I'm a dummies and I looked at amazon.com and found Tons of C book but which one is good?

"The C Programming Language", by Brian W. Kernighan and Dennis M.
Ritchie: http://cm.bell-labs.com/cm/cs/cbook/

Cheers,
Razvan

#9 lore raw
Quoted 1 line · Jason Long

Can anyone tell me why Citrix Developer choose Ocaml?

They thought it was a good fit for the problem at hand. More than that (i.e. comparisons of the relative merits of various computer languages for beginners) I'm afraid is not on topic for this list.

xen-devel is not a forum to learn about the basics of programming or software development. To participate effectively people are expected to have an existing basic knowledge in many of the subject areas surrounding computer operating systems and programming languages.

I suggest you seek out a local computer users group (e.g. LUG), speak to an advisor at your college (or a local college if you are not a student) or seek out a more newbie orientated mailing list.

Ian.