[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen Development for Dummies.



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@xxxxxx> 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@xxxxxx> 
> > 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@xxxxxxxxxxxxx
> > > http://lists.xen.org/xen-devel

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.