The MASM Forum

Miscellaneous => The Orphanage => Topic started by: bf2 on July 07, 2012, 05:46:43 PM

Title: System programming vs graphic programming
Post by: bf2 on July 07, 2012, 05:46:43 PM
It's perhaps down to the fact that my career started with the IBM mainframe, and I still love the IBM mainframe -- that I absolutely detest graphics programming.

I totally love system programming - low-level architecture, registers, CPU, memory, threads, proccesses, security, OS - these things really turn me on and I love learning about them. But I also feel quite guilty that I keep postponing learning about Windows graphics programmming. I feel that I *should* learn it - and I feel bad that I hate it.

Does anybody else have this problem? Should I see a shrink? :-)
Title: Re: System programming vs graphic programming
Post by: Vortex on July 07, 2012, 05:55:09 PM
In my modest opinion, you should have a basic knowledge about Windows graphics programmming to learn about Windows GUI system. You can continue with console applications, than can be fine but fundemental knowledge covering different areas of programming will enlarge your vision.
Title: Re: System programming vs graphic programming
Post by: sinsi on July 07, 2012, 06:32:06 PM
Depends on what you define graphics as. Writing a GUI just means reacting to messages rather than a more linear type console program.
You still do the low-level stuff, can't really get away from it nowadays.

Graphics meaning directx/opengl is another matter...
Title: Re: System programming vs graphic programming
Post by: jj2007 on July 07, 2012, 06:32:57 PM
Quote from: bf2 on July 07, 2012, 05:46:43 PMShould I see a shrink? :-)

Ask DednDave, he has recently made huge progress on Windows GUI programming ;)
Title: Re: System programming vs graphic programming
Post by: bf2 on July 07, 2012, 07:02:19 PM
Quote from: sinsi on July 07, 2012, 06:32:06 PM
Depends on what you define graphics as. Writing a GUI just means reacting to messages rather than a more linear type console program.
You still do the low-level stuff, can't really get away from it nowadays.

Graphics meaning directx/opengl is another matter...

No, not OpenGL, DirectX or any other specialised stuff - just plain Windows GUI programming.

Thanks for all the replies btw. I think I'll grit my teeth and get the Iczelion tutorial done with - that should be enough.
Title: Re: System programming vs graphic programming
Post by: dedndave on July 07, 2012, 10:31:29 PM
we should all probably see a shrink   :P
finding pleasure in assembly language programming for windows may be an indicator of masochistic tendancies

at any rate...
GUI programming reminds me of writing old device drivers
instead of a dispatch table, you have a list of pre-defined messages that the system sends to a window
and - it's a very long list   :P

buttons, sliders, scroll bars, menus, and just about everything else are all treated as individual windows
although - the system handles most of the messages for you
Title: Re: System programming vs graphic programming
Post by: Zen on July 14, 2012, 03:17:57 AM
Quote from: DAVE !!!...We should all probably see a shrink,...
...Talk about incredible irony,...I AM A SHRINK,...
...And, assembly programming causes me great emotional distress and anxiety,...

OK,...BF2,...
I have to agree with you,...system programming is alot more fun than graphics programming.
But, once you become familiar with, say DirectX,...you can use all those techniques that game programmers use to create a graphics engine that you can use to demonstrate a visualization of almost any scientific process. You can even code a short interactive movie. You are only limited by your imagination. The coding can be quite tedious, though. Educational software often has extensive graphics presentations,...you can actually convey an immense amount of data graphically,...and, students find it more exciting than text.
Title: Re: System programming vs graphic programming
Post by: Vortex on July 14, 2012, 06:59:59 AM
Graphics programming can be very interesting. Let's just imagine the fractals.  Before the computer era, it was impossible to imagine the graph of complicated functions.
Title: Re: System programming vs graphic programming
Post by: Gunther on July 14, 2012, 07:29:20 AM
Hi Vortex,

QuoteLet's just imagine the fractals.  Before the computer era, it was impossible to imagine the graph of complicated functions.

Exactly. We wouldn't have seen the Mandelbrot Set, Julia Set, and all the other beautiful fractals.

Gunther
Title: Re: System programming vs graphic programming
Post by: FORTRANS on July 14, 2012, 07:54:35 AM
Hi,

   Not to mention the allure of ray tracing.  Break out
the checker boards and shiny spheres.  Or, how about
a game of Conway's Life?

Cheers,

Steve N.
Title: Re: System programming vs graphic programming
Post by: dedndave on July 14, 2012, 08:10:19 AM
but....
(wait for it.....)
i'd rather play global thermonuclear war !
...with Ally Sheedy   :P
Title: Re: System programming vs graphic programming
Post by: hutch-- on July 14, 2012, 01:01:14 PM
I confess I am no great fan of Windows interface code but unless you want to be stuck with a console interface you have little choice. Once you get the swing of a message driven windowing system, the rest more or less makes sense. You get the swing of the API naming conventions with practice then you can look up most of what you need.

Apart from console IO, a GUI interface is not that much different, each "action" whether it be a button, menu option, standard or later common control, once you activate the control its mostly linear programming until the task is done. The later common controls have a strange interface through the notify message but there are enough examples around to be able to do most of them without any real problems.

If you start doing the more dedicated graphics tasks they are in fact much more like old DOS applications where you control the screen rather than the system controlling parts of the screen but the catch is you must draw it all yourself and that can be a lot of work.
Title: Re: System programming vs graphic programming
Post by: mywan on July 16, 2012, 10:25:21 AM
I actually like designing GUIs, though the best programmers (not me) tend to be awful at it. Even MS is going downhill on that front. Linux flavors could be the OS of choice if the desktop developers weren't so clueless, and this crap about GUIs not understanding the CLI will not fly. I'm on a mission to learn enough assembly to recreate a very small program I wrote that completely replaces all file associations in windows. It not only handles file open options for filetypes but also allows creating drawers of program in a taskbar toolbar, like a custom start menu at every icon. It can also redirect output so my text editors merely point to it for compile options, and I still get the the compiler output in the editors console.

It also worked well on Ubuntu under wine with some mild alterations. Ultimately it could be used as the core to allow a Linux desktop to interact without the monstrosities they call a desktop, with the CLI being the primary method of operation. From there the "brains" of other standard apps that come with different desktops can be stripped and shelled out in a system Linux was actually designed at the core to operate with. The pieces and parts to any desktops can be user selected entire separately from each other and interact just fine.

Assembly is a new beast for me, but I've already started down the learning curve. So I hope I can get by with some very dumb questions. Help files are often more confusing to me than the code they are describing. My mind is funny that way.
Title: Re: System programming vs graphic programming
Post by: hutch-- on July 16, 2012, 11:34:17 AM
 :biggrin:

> Help files are often more confusing to me than the code they are describing. My mind is funny that way.

Sad to say its often the case that the help file ARE more confusing than the source code.
Title: Re: System programming vs graphic programming
Post by: Daydreamer on July 17, 2012, 03:53:12 AM
Quote from: Gunther on July 14, 2012, 07:29:20 AM
Hi Vortex,

QuoteLet's just imagine the fractals.  Before the computer era, it was impossible to imagine the graph of complicated functions.

Exactly. We wouldn't have seen the Mandelbrot Set, Julia Set, and all the other beautiful fractals.

Gunther
my favourite fractal is tall beautiful swedish blonde woman  :P  :greenclp:
Title: Re: System programming vs graphic programming
Post by: Gunther on July 18, 2012, 05:37:40 AM
Quote from: daydreamer on July 17, 2012, 03:53:12 AM
my favourite fractal is tall beautiful swedish blonde woman  :P  :greenclp:

But I've some doubt that this is a real fractal. :lol:

Gunther
Title: Re: System programming vs graphic programming
Post by: mywan on July 18, 2012, 07:42:08 AM
Quote from: Gunther on July 18, 2012, 05:37:40 AM
But I've some doubt that this is a real fractal. :lol:

Gunther
Some physicist are not so doubtful in that respect ;)
Title: Re: System programming vs graphic programming
Post by: Gunther on July 18, 2012, 09:05:34 PM
Quote from: mywan on July 18, 2012, 07:42:08 AM
Some physicist are not so doubtful in that respect ;)

Only physicists?  :lol:

Gunther
Title: Re: System programming vs graphic programming
Post by: Daydreamer on July 23, 2012, 06:01:49 AM
Quote from: Gunther on July 18, 2012, 05:37:40 AM
Quote from: daydreamer on July 17, 2012, 03:53:12 AM
my favourite fractal is tall beautiful swedish blonde woman  :P  :greenclp:

But I've some doubt that this is a real fractal. :lol:

Gunther
how can you doubt Hutch that discovered these fractals? :P
Title: Re: System programming vs graphic programming
Post by: dedndave on July 23, 2012, 07:22:19 AM
remembering back to BBS days, i do think a certain amount of technology was developed to improve porn
interlaced GIF's come to mind - but JPEG's probably, too
not to mention the dozens of video formats
even thought they may not have been developed strictly to see nakie ladies, it helped motivate them

kind of like medical advances from military R&D   :eusa_clap:
Title: Re: System programming vs graphic programming
Post by: mywan on July 23, 2012, 09:35:54 AM
Not only did porn drive these various formats, it drove the adoption of the internet itself and all the technologies that entails.
http://www.guardian.co.uk/technology/2002/mar/03/internetnews.observerfocus
Title: Re: System programming vs graphic programming
Post by: Gunther on July 23, 2012, 11:20:46 AM
Hi mywan,

Quote from: mywan on July 23, 2012, 09:35:54 AM
Not only did porn drive these various formats, it drove the adoption of the internet itself and all the technologies that entails.
http://www.guardian.co.uk/technology/2002/mar/03/internetnews.observerfocus

Good article. It shows us: sex sells.

Gunther
Title: Re: System programming vs graphic programming
Post by: hutch-- on July 25, 2012, 12:14:08 AM
Magnus,

> how can you doubt Hutch that discovered these fractals?

Thats easy, I don't live in Sweden. We are reasonably well endowed with tall good looking blondes here in OZ though. Now the only problem is they know I am only interested in their maiden aunts.  :P
Title: Re: System programming vs graphic programming
Post by: hutch-- on July 25, 2012, 12:28:29 AM
 :biggrin:

RE : P0rn, I have actually seen a use for it. Years ago some little sh*t from New Jersey hacked an early version of the MASM forum but he also hack at least dozens of the same forum software. Shortly after one of the disaffected forum operators slathered his own forum with the ugliest gay p0rn you have ever seen and he hit it so hard that the little sh*t had to take his forum down. I remember clocking onto his forum when everyone was hassling him and saw the mountain of gay p0rn that had been posted on it, I nearly died laughing.  :P