PowerBASIC Forums
  Cafe PowerBASIC
  Programming Computers. (Page 2)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone!
This topic is 3 pages long:   1  2  3 
next newest topic | next oldest topic
Author Topic:   Programming Computers.
Bryan Flick
Member
posted February 19, 2007 05:29 PM     Click Here to See the Profile for Bryan Flick     Edit/Delete Message   Reply w/Quote
I can't believe I almost missed this thread.

quote:

3D computer games are probably the most complex and challenging of software projects. It is interesting to see how games developers cope with the demands of their craft...It makes me wonder whether future operating systems should be built around a kernel of games technology.

I had the exact same idea!

I built my own virtual machine (written in PowerBASIC, of course) that is essentially a game "kernel", or mini operating system. It has its own 2D/3D graphics engine, can multitask thousands of different objects at once, etc.

Tasks are written in a BASIC-like object oriented scripting language, so it is very easy to learn.

The whole package is called Liquid Studio. You can check it out at www.globalheavyindustries.com.

A trial version is available for download. I am still finishing up the documentation, but the trial version includes a bunch of sample scripts to demonstrate the syntax of the language and give an idea of how it works.

Thanks,
Flick

[This message has been edited by Bryan Flick (edited February 19, 2007).]

IP: Logged

Michael Mattias
Member
posted February 19, 2007 06:03 PM     Click Here to See the Profile for Michael Mattias     Edit/Delete Message   Reply w/Quote
[quote]
my own virtual machine ... essentially [a].. mini operating system...
Tasks are written in a BASIC-like object oriented scripting language..
[/quote

I have Windows/XP operating system (maxi, not mini) with a BASIC-like language compiler (PowerBASIC/Windows).

Why would I change?

MCM
PS: Ok, so I did something like this myself once back in the MS-DOS days. I admit it, it was fun.

IP: Logged

Paul Dixon
Member
posted February 19, 2007 06:32 PM     Click Here to See the Profile for Paul Dixon     Edit/Delete Message   Reply w/Quote
<<I admit it, it was fun.>>

The the main problem I find with programming computers these days is that it's no longer fun.
To investigate even the simplest thing now involves so much effort to get around or figure out the operating system that it's just not worth it.

The most fun I ever had was with a PET computer in the late 70s and BBC micro in the early 80s.
I had multitasking BASIC programs running on a PET with 32k RAM and a 1MHz 6502 CPU.
The BBC micro was way better. I had it doing all sorts from real time oscilloscopes and signal processing, echo location, FFT and fancy graphics. I would have serious problems doing lots of these things on a modern PC now even though they're hundreds of times more powerful.

These days, even the most trivial thing such as setting an I/O pin high is beyond the ability of most people without many hours or days or even weeks of research.

Paul.

------------------

IP: Logged

Joe Byrne
Member
posted February 20, 2007 01:47 AM     Click Here to See the Profile for Joe Byrne     Edit/Delete Message   Reply w/Quote
quote:

These days, even the most trivial thing such as setting an I/O pin high is beyond the ability of most people without many hours or days or even weeks of research.


I'd have to admit that I don't think I'd want to write code nowadays to set an I/O pin, but for the kind of programming I do, business process applications, I still find great fun in it.

I had lost a lot of that joy when Windows out-moded DOS so I moved on to hardware and networks, but about 7-8 years ago I came across EZGUI and the fun of programming returned. What I learned was that there are still huge challenges in programming, but there are also some fabulous 3rd party tools that help get over a lot of the mundane, difficult tasks. In all my years I've never had so many choices for real high-quality database engines. SQL, Cheetah, Tsunami, just to name a few, and there are dozens of good index managers too. There are plenty of quality IDEs and RAD packages to choose from, not to mention truly unique graphic tools for just about any task you have to accomplish.

I know there is a feeling by some that an application, especially a PB application, has to be "pure"; small, fast, and no external dependencies (ie: DLLs), but rather than struggling over tasks such as printing, embedding FTP functions, or creating highly polished owner-drawn GUI forms with ease, I simply use the wheels that have already been invented which leaves the parts I like most, the fun parts, making it all do what I envisioned in the first place.

I'd also point out that the PB community is blessed with a good number of very talented 3rd party vendors. People with a passion to code and a true desire to create with an artist's flair.

------------------
* Americans: Fight for Right. Join the push for the Fair Tax!

IP: Logged

Knuth Konrad
Member
posted February 20, 2007 05:22 AM     Click Here to See the Profile for Knuth Konrad     Edit/Delete Message   Reply w/Quote
quote:
We don't need better computers or better computer languages. We need better programmers.

My take on this is: we don't need "better", we need "other".

While the simple concept of TRUE and FALSE is overwhelming obvious at the first glance, it does in no way reflect how humans "think". Because we operate all the time with "eventually", "most of the time", "a couple", "highly unlikely". Unless the programmer/hardware/software finds a way to adapt these unqualified measurements in one way or another, people will always struggle sooner or later with some parts of a software.

Knuth

------------------

IP: Logged

Donald Darden
Member
posted February 20, 2007 03:30 PM     Click Here to See the Profile for Donald Darden     Edit/Delete Message   Reply w/Quote
If an engineer sits down with paper and pencil, and simple drawing
tools like a compass and ruler, what is he going to build? If that
engineer has access to a CAD system, what is he going to build
instead?

Taking the position that better, faster, and more powerful
computers should somehow have made us either superior programmers,
or have rendered the art of programming to mere child's play, just
plain misses the point that the platform is only part of the
picture. Programming is a creative process that involves an
intimate understanding of underlying factors, and that forces us
to consider matters in rational terms.

Computers can only do what they've been programmed to do, and yet
that is what makes them unique and valuable: Properly programmed
and in proper working order, they can be counted on to do what is
expected of them. Efforts to make computers more like humans
would open the way to unexpected behavour, a breakdown in
rational thought and action, and a net loss in dependability.

There is a lot of quaint notions assicoated with the idea of
making computers more like us; less judgemental and inflexable,
more impulsive, more sympathetic to our needs, wants, and
wishes. We want a feeling robot, another unjudging companion
besides our faithful dog, but one we can relate to on a higher
plane.

We ask ourselves, why can't we have computers that do what we
want them to do, rather than be forced to learn so much about
them in order to be able to tell them what to do? That's our
lazy bone kicking in.

Programming is the domain of those that choose to recognize and
accept the challenge and limitations of machines, and look for
ways to make them do more. It can be more enticing and more
absorbing than many other intellectual pursuits. It can, and
likely will, burn you out over time.

Programming is both a means to achieve a high degree of teamwork,
and yet allows for significant individual accomplishment. It can
be a great leveling field, because you cannot bluff or con a PC
into believing you are a great programmer, when you simply are
not. Programming is a way out for those that relate better to
machines than they do to other people, it makes being a geek a
not-to-bad thing.

In other words, programming is a whole lot more than allowed for
when you try and justify why it remains an art form and creative
process, rather than a cut-and-dry methology that should have
grown and improved at a linear rate in conjuction with advances
in computers overall. Thbe original question was based on a
false premise, that there was a direct correlation between the
two.

------------------
Old Navy Chief, Systems Engineer, Systems Analyst, now semi-retired

IP: Logged

Roy Cline
Member
posted February 20, 2007 04:48 PM     Click Here to See the Profile for Roy Cline     Edit/Delete Message   Reply w/Quote
Love the responses on this board. People can pontificate about
the glory of and dark ages of programming all at once.

------------------
Roy Cline

IP: Logged

kerry Farmer
Member
posted February 20, 2007 05:59 PM     Click Here to See the Profile for kerry Farmer     Edit/Delete Message   Reply w/Quote
Well said Donald

I could not agree more.

I believe that programming is a great ego buster. If you are incapable of saying "I might have made a mistake" then you will never be any good at finding program errors.

I love the solid unforgiving logic of a program.

------------------
Kerry Farmer
dynamicintelligence.co.nz

IP: Logged

Bob Scott
Member
posted February 20, 2007 06:32 PM     Click Here to See the Profile for Bob Scott     Edit/Delete Message   Reply w/Quote
I worked in the "transitional" era (late 1960's) when airborne flight computers were changing from analog to digital mechanization. I received many questions about the differences between analog computers and digital and I finally settled on the following:

Analog computers are like a room with four corners. Analog computers do a limited number of things but if you check the four corners for dirt you can be assured that it is clean. However, digital computers are like a round room. Digital computers can do many things however, because a round room contains an infinite number of corners, you will never find all the dirt no matter how well you clean.


------------------


[This message has been edited by Bob Scott (edited February 20, 2007).]

IP: Logged

Michael Mattias
Member
posted February 20, 2007 06:44 PM     Click Here to See the Profile for Michael Mattias     Edit/Delete Message   Reply w/Quote
quote:

the main problem I find with programming computers these days is that it's no longer fun

Say what?

I'm having a ball. I can't wait to get up in the morning and conquer some problem that I couldn't solve yesterday. And actually solving it is a gigantic 'upper.'

My brother - nine years younger than me - already has a six-inch thick file for "things to do when I retire." Me, I'm not even thinking about retirement.

MCM

IP: Logged

Frank W. Kelley
Member
posted February 20, 2007 10:49 PM     Click Here to See the Profile for Frank W. Kelley     Edit/Delete Message   Reply w/Quote
quote:
I can't wait to get up in the morning and conquer some problem that I couldn't solve yesterday.

I often find, after struggling with a particular coding issue toward the end of the day, that the solution comes to me upon waking the following morning. My subconscious works the problem while I sleep.

The amazing thing to me is that the solution is usually simple, straightforward...even elegant (sometimes), compared to the convoluted approach, often involving too many lines of code, I had been considering the night before.

The greatest computer is the one between our ears.

------------------

IP: Logged

Eros Olmi
Member
posted February 21, 2007 02:06 AM     Click Here to See the Profile for Eros Olmi     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by Frank W. Kelley:
The amazing thing to me is that the solution is usually simple, straightforward...even elegant (sometimes), compared to the convoluted approach, often involving too many lines of code, I had been considering the night before.


It seems so but while you was sleeping your internal "computer" has written a lot
of code, trash many impossible solutions taking only some of them, rewitten some code,
fixed some GPF and in the morning prepared all the stuff for his boss, you.
It is strange but it is exactly what happen during the night.


quote:
Originally posted by Frank W. Kelley:
The greatest computer is the one between our ears.


Absolutely! (for the moment)
But problems solved in "that" computer remain only yours
while solutions solved in "standard computers" can be easily
shared, copied, fixed, amended, improved by many others.
I think this is some kind of evolution, isn't it?


------------------
thinBasic forum
eros.olmi@thinbasic.com

[This message has been edited by Eros Olmi (edited February 21, 2007).]

IP: Logged

Charles Pegge
Member
posted February 21, 2007 07:38 AM     Click Here to See the Profile for Charles Pegge     Edit/Delete Message   Reply w/Quote
Yes! The sub-conscious mind at work.

I have come to rely heavily on sleeping as a means to solve difficult
problems, so much so that I take two siestas during the day.

I'd recommend it to anyone, but is our work culture ready for this?

------------------
www.pegge.net

IP: Logged

Eros Olmi
Member
posted February 21, 2007 08:12 AM     Click Here to See the Profile for Eros Olmi     Edit/Delete Message   Reply w/Quote

------------------
thinBasic forum
eros.olmi@thinbasic.com

IP: Logged

Mike Doty
Member
posted February 21, 2007 08:42 AM     Click Here to See the Profile for Mike Doty     Edit/Delete Message   Reply w/Quote
I am working with templates and program file generation.
Instead of coding screens, etc ..., starting to just define
the application. Notice how DDT uses hard-code variables
all the time. They don't have to. In fact, everything can
be read from disk and dialogs generated on the fly.
Why aren't program generators (especially with PowerBASIC) around?
Many have failed, but the concept is simple and instead of writing
lines of code you are improving upon your generator and templates.
quote:

Are we still in the dark ages of programming computers? Shouldn't it
be easier to write programs?
What I mean is .. Isn't a loop a loop and a branch a branch and shouldn't
it be just easier to make a pc do what you want it to do?

Yes. API programming is a waste of time. Everything should be encapsulated.
We still need a PowerBASIC toolbox and hundreds of templates or wizards.
Wonder if anyone uses PowerBASIC + Alpha5. They have a new version 8
that looks impressive. I personally never got the hang of Alpha.

I can feel the heat already from this posting.

------------------


[This message has been edited by Mike Doty (edited February 21, 2007).]

IP: Logged


This topic is 3 pages long:   1  2  3 

All times are EasternTime (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | PowerBASIC BASIC Compilers

Copyright © 1999-2006 PowerBASIC, Inc. All Rights Reserved.


Ultimate Bulletin Board 5.45c