B
BartC
Malcolm McLean said:בת×ריך ×™×•× ×©×‘×ª, 25 ב×וגוסט 2012 10:16:17 UTC+1, מ×ת Rui Maciel:
I'm beginning to come to the the position that C is right for re-usable
components, whilst the UI should be strung together in some high-level
language.
I was doing that a long time ago for applications. There were lots of
advantages anyway in using a dynamic language alongside a compiled one (for
example being able to develop stuff from from inside the application
itself).
But when responsible for developing the languages, as I was, then I had to
make all the graphics etc available by creating libraries based around
Win32. The docs for Win32 used a C interface which made it possible; it was
easy to see what was going on and duplicate the same functionality.
However then they moved towards C++ (for GDI+ for example, and DirectX),
which made things much more difficult. In theory the interface could still
be used via C, but I never had much luck; I haven't got a clue about COM or
IInterface or any of that stuff (despite looking at some projects doing just
that via lcc-win32).
I've no idea at the moment what Windows 8 or Metro is about, but it sounds
very much like I'm going to be locked out.
But this I imagine will apply to many other languages, not just my private
ones, and apparently C too! Or are all of those hundreds of programming
languages that people might want to use on Windows, expected to compile down
to CIL (whatever the .NET thing is), or implemented in one of the four
official MS languages (VB, C#, 'C++', and .. XAML?). Will ASM still work?
And how *does* one create graphics from another language (since the examples
assume you are using an official one)? In fact how do you do anything?
Without a generic or binary interface (or one in C which is almost the
same), then it becomes a closed system.