From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Xen Development for Dummies. Date: Fri, 6 Feb 2015 15:44:46 +0200 Message-ID: <20150206134446.GM18833@reaktio.net> References: <20150206104646.GJ18833@reaktio.net> <980284726.485875.1423229758654.JavaMail.yahoo@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <980284726.485875.1423229758654.JavaMail.yahoo@mail.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jason Long Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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 sof= tware. 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 g= eneric concepts of computer hardware, operating systems, kernels, memory management, etc. Something like a hypervisor, or an operating system kernel, is a quite comp= lex beast, so you should probably first start with something much easier and learn C p= roperly in an easier project. When you know C and Linux/Unix internals well you can continue working on X= en aswell. -- Pasi = > Cheers. > = > = > = > On Friday, February 6, 2015 2:46 AM, Pasi K=E4rkk=E4inen w= rote: > 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 (oxens= tored). > = > Note that this is just one of the many components in Xen. Most Xen compon= ents 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=E4rkk=E4inen 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 bein= g used aswell.. obviously lowlevel assembly language for some architecture = specific lowlevel stuff, and some highler level languages (OCaml) for certa= in 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