comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: understanding runtime support
Date: Mon, 14 May 2012 15:52:31 -0700 (PDT)
Date: 2012-05-14T15:52:31-07:00	[thread overview]
Message-ID: <26243478.1080.1337035951796.JavaMail.geo-discussion-forums@ynej5> (raw)
In-Reply-To: <28034736.36.1337025896359.JavaMail.geo-discussion-forums@ynll26>

I'm going to address this in reverse-order.

>I am seriously confused now and feel trapped. I do not have the skills to write my own runtime or even part of a runtime.

This is understandable; and I think it is probably the big cause of the "I want to write an OS in Ada" sentiment that many express to 'wither and die' [or at least not come to fruition]. 

And it surely doesn't help that many [most?] OS types will pop out "why don't you use C/C++" or "just download the Linux code and..." (i.e. do everything the way "everyone else" does and/or become-a-script-kiddy.)

I'm one of those who would like to write an Ada OS.

> I am feeling very discouraged after investing so much time(and that others invested their time in me)

Don't be. The knowledge is good.

> Now it seems I am supposed to roll my own runtime or other low level solution, now that I want to do something embedded I am confronted by an unexpected problem.

I don't know; you're stepping into the area where I've always gotten hangups: operating on bare-bones hardware.

> Ada is an embedded language right? I have been working on a desktop project for my Son in Ada that would have been easier in Python. I did this because I wanted to do a nice job with it and I wanted to prepare myself for a for-profit-embedded project to be completed later on.

I see. I know that Ada was designed to be able to do embedded; and from what I've read on this forum does it well... though I don't know if they're using it w/o a runtime, with their "normal" runtime compiled for that target [by some magic?], or with a custom runtime.

> While I haven't read them all, I now own 18 Ada books and have spent nearly everyday studying for 5 months and now have hit a very hard wall.

I hear you. I hit that wall with respect to writing a toy OS, and never got around it. I don't think it's the language's fault, but rather the toolchain.

I had started it [the OS] with BP7, after finding a boot-loader which could run a .COM or .EXE file so long as it didn't use the DOS interrupts; I had gotten it so that it could display things on the screen, accept commands from the keyboard, and change video-modes.

When I tried rewriting it in Ada, I couldn't ever get it to compile to a straight-from-boot runnable exe; the problem was, of course, the [lack of a] runtime.

> Okay now I am seriously mixed up.

Me too. :(
Though I really wish I could be more helpful.



  parent reply	other threads:[~2012-05-14 22:52 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11  3:49 understanding runtime support Patrick
2012-05-13  4:49 ` Shark8
2012-05-13 15:26   ` Patrick
2012-05-14  4:37     ` Shark8
2012-05-14  8:24     ` Ludovic Brenta
2012-05-14 11:31       ` Patrick
2012-05-14 18:34         ` Shark8
2012-05-14 20:04           ` Patrick
2012-05-14 21:02             ` mjsilva
2012-05-15  6:48               ` Randy Brukardt
2012-05-15 15:22                 ` mjsilva
2012-05-15 15:41                   ` Lucretia
2012-05-15 16:05                   ` Lucretia
2012-05-15 16:29                     ` mjsilva
2012-05-15 17:02                       ` Lucretia
2012-05-16 17:51                 ` Tero Koskinen
2012-05-17  6:39                   ` Simon Wright
2012-05-17 18:09                     ` Tero Koskinen
2012-05-17 18:15                     ` John B. Matthews
2012-05-15  7:47               ` Jacob Sparre Andersen
2012-05-15 16:27                 ` Jeffrey Carter
2012-05-15 16:38                 ` Brian Drummond
2012-05-15 16:49                   ` Patrick
2012-05-15 16:50                   ` Patrick
2012-05-15 14:24               ` Lucretia
2012-05-14 22:52             ` Shark8 [this message]
2012-05-15  0:04               ` Patrick
2012-05-15  7:39               ` Dmitry A. Kazakov
2012-05-15 14:19       ` Lucretia
2012-05-15  7:26 ` Ludovic Brenta
2012-05-15 14:31   ` Lucretia
2012-05-16 16:24   ` tmoran
2012-05-17  0:15     ` Randy Brukardt
2012-05-15 14:48 ` Lucretia
2012-05-15 14:55 ` Lucretia
2012-05-15 15:32   ` Mike Silva
2012-05-15 16:04     ` Lucretia
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox