Author Topic: PC running software without OS  (Read 2725 times)

0 Members and 1 Guest are viewing this topic.

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 15652
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: PC running software without OS
« Reply #25 on: March 08, 2018, 09:45:09 pm »
Early x86 were also tuned more for assembler than C, and C compilers sucked (and BASIC was a joke of myriad subroutines; but a scripting language, pasted into an EXE if you had the compiler).  Both are quite good together, and modern (post-386) optimization is all about managing caches.

OS overhead is quite small for the most part.  Heck, even if it were a mere 1%, that's still a huge amount of computation available.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline SirAlucard

  • Regular Contributor
  • *
  • Posts: 123
  • Country: us
Re: PC running software without OS
« Reply #26 on: March 09, 2018, 01:20:33 am »
There is bare metal programming, however anything you'd want to do with it you'd have to program in your own drivers and what have you. It's by no means an easy way to get speed. I myself have tried looking into ways of speeding up boot times with a Raspberry pi, trying to look for the thinnest OS I can find. The problem with that, is it doesn't come with some of the bare essentials you need. So while you could do it without an OS, or at the very least a bare bones OS. Sometimes it's just better to work with what you have and try to trim the fat where you can.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 12313
  • Country: us
Re: PC running software without OS
« Reply #27 on: March 09, 2018, 02:05:05 am »
I wouldn't say BASIC sucked. It was designed as a very easy to use beginners programming language that was also quite versatile. For what it was intended to do it did a good job, I suspect quite a large percentage of us got our first taste of programming by using BASIC.
 

Offline SirAlucard

  • Regular Contributor
  • *
  • Posts: 123
  • Country: us
Re: PC running software without OS
« Reply #28 on: March 09, 2018, 07:26:10 am »
I wouldn't say BASIC sucked. It was designed as a very easy to use beginners programming language that was also quite versatile. For what it was intended to do it did a good job, I suspect quite a large percentage of us got our first taste of programming by using BASIC.

Does TI-Basic count? lol My very first jaunt in programming was doing basic on a TI-83 back in Jr.high. I programmed a couple of programs to have easier access to equations, as well as do a few calculations for me based on some RPGs I was playing at the time.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf