All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen Development for Dummies.
@ 2015-02-06  6:46 Jason Long
  2015-02-06  7:59 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 10+ messages in thread
From: Jason Long @ 2015-02-06  6:46 UTC (permalink / raw)
  To: xen-devel

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06  6:46 Xen Development for Dummies Jason Long
@ 2015-02-06  7:59 ` Pasi Kärkkäinen
  2015-02-06 10:31   ` Jason Long
  0 siblings, 1 reply; 10+ messages in thread
From: Pasi Kärkkäinen @ 2015-02-06  7:59 UTC (permalink / raw)
  To: Jason Long; +Cc: xen-devel

On Fri, Feb 06, 2015 at 06:46:23AM +0000, Jason Long wrote:
> 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

> 
> Tnx.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06  7:59 ` Pasi Kärkkäinen
@ 2015-02-06 10:31   ` Jason Long
  2015-02-06 10:46     ` Pasi Kärkkäinen
  0 siblings, 1 reply; 10+ messages in thread
From: Jason Long @ 2015-02-06 10:31 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xen-devel

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 <pasik@iki.fi> wrote:
On Fri, Feb 06, 2015 at 06:46:23AM +0000, Jason Long wrote:
> 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


> 
> Tnx.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06 10:31   ` Jason Long
@ 2015-02-06 10:46     ` Pasi Kärkkäinen
  2015-02-06 13:35       ` Jason Long
  0 siblings, 1 reply; 10+ messages in thread
From: Pasi Kärkkäinen @ 2015-02-06 10:46 UTC (permalink / raw)
  To: Jason Long; +Cc: xen-devel

On Fri, Feb 06, 2015 at 10:31:09AM +0000, Jason Long wrote:
> 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
 
> Cheers.
> 
> 
> 
> On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> On Fri, Feb 06, 2015 at 06:46:23AM +0000, Jason Long wrote:
> > 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
> 
> 
> > 
> > Tnx.
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06 10:46     ` Pasi Kärkkäinen
@ 2015-02-06 13:35       ` Jason Long
  2015-02-06 13:44         ` Pasi Kärkkäinen
  0 siblings, 1 reply; 10+ messages in thread
From: Jason Long @ 2015-02-06 13:35 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xen-devel

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 <pasik@iki.fi> wrote:
On Fri, Feb 06, 2015 at 10:31:09AM +0000, Jason Long wrote:
> 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


> Cheers.
> 
> 
> 
> On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> On Fri, Feb 06, 2015 at 06:46:23AM +0000, Jason Long wrote:
> > 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
> 
> 
> > 
> > Tnx.
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06 13:35       ` Jason Long
@ 2015-02-06 13:44         ` Pasi Kärkkäinen
  2015-02-06 19:17           ` Jason Long
  0 siblings, 1 reply; 10+ messages in thread
From: Pasi Kärkkäinen @ 2015-02-06 13:44 UTC (permalink / raw)
  To: Jason Long; +Cc: xen-devel

On Fri, Feb 06, 2015 at 01:35:58PM +0000, Jason Long wrote:
> 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
 
> Cheers.
> 
> 
> 
> On Friday, February 6, 2015 2:46 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> On Fri, Feb 06, 2015 at 10:31:09AM +0000, Jason Long wrote:
> > 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
> 
> 
> > Cheers.
> > 
> > 
> > 
> > On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> > On Fri, Feb 06, 2015 at 06:46:23AM +0000, Jason Long wrote:
> > > 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
> > 
> > 
> > > 
> > > Tnx.
> > > 
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.xen.org
> > > http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06 13:44         ` Pasi Kärkkäinen
@ 2015-02-06 19:17           ` Jason Long
  2015-02-06 20:02             ` Razvan Cojocaru
  0 siblings, 1 reply; 10+ messages in thread
From: Jason Long @ 2015-02-06 19:17 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xen-devel

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 <pasik@iki.fi> wrote:
On Fri, Feb 06, 2015 at 01:35:58PM +0000, Jason Long wrote:
> 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


> Cheers.
> 
> 
> 
> On Friday, February 6, 2015 2:46 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> On Fri, Feb 06, 2015 at 10:31:09AM +0000, Jason Long wrote:
> > 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
> 
> 
> > Cheers.
> > 
> > 
> > 
> > On Thursday, February 5, 2015 11:59 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> > On Fri, Feb 06, 2015 at 06:46:23AM +0000, Jason Long wrote:
> > > 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
> > 
> > 
> > > 
> > > Tnx.
> > > 
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.xen.org
> > > http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06 19:17           ` Jason Long
@ 2015-02-06 20:02             ` Razvan Cojocaru
  2015-02-07  9:48               ` Jason Long
  0 siblings, 1 reply; 10+ messages in thread
From: Razvan Cojocaru @ 2015-02-06 20:02 UTC (permalink / raw)
  To: Jason Long, Pasi Kärkkäinen; +Cc: xen-devel

On 02/06/2015 09:17 PM, Jason Long wrote:
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-06 20:02             ` Razvan Cojocaru
@ 2015-02-07  9:48               ` Jason Long
  2015-02-09 13:44                 ` Ian Campbell
  0 siblings, 1 reply; 10+ messages in thread
From: Jason Long @ 2015-02-07  9:48 UTC (permalink / raw)
  To: Razvan Cojocaru, Pasi Kärkkäinen; +Cc: xen-devel

Can anyone tell me why Citrix Developer choose Ocaml?



On Friday, February 6, 2015 12:02 PM, Razvan Cojocaru <rcojocaru@bitdefender.com> wrote:
On 02/06/2015 09:17 PM, Jason Long wrote:
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Xen Development for Dummies.
  2015-02-07  9:48               ` Jason Long
@ 2015-02-09 13:44                 ` Ian Campbell
  0 siblings, 0 replies; 10+ messages in thread
From: Ian Campbell @ 2015-02-09 13:44 UTC (permalink / raw)
  To: Jason Long; +Cc: Razvan Cojocaru, xen-devel

On Sat, 2015-02-07 at 09:48 +0000, Jason Long wrote:
> 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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-09 13:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-06  6:46 Xen Development for Dummies Jason Long
2015-02-06  7:59 ` Pasi Kärkkäinen
2015-02-06 10:31   ` Jason Long
2015-02-06 10:46     ` Pasi Kärkkäinen
2015-02-06 13:35       ` Jason Long
2015-02-06 13:44         ` Pasi Kärkkäinen
2015-02-06 19:17           ` Jason Long
2015-02-06 20:02             ` Razvan Cojocaru
2015-02-07  9:48               ` Jason Long
2015-02-09 13:44                 ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.