From
Sergey Akimov
→
To
All
28 November 2006
Hello rg_software
rg_> Please recommend a good modern subject for experiments
rg_> (for Windows)!
rg_>
rg_> From what I tried, I more or less satisfied DelphiSpec, but
rg_> there are problems there...
rg_>
rg_> And so - most of the projects are unfinished, or there are a lot of additional ones. libraries
rg_> are required (by the time you compile, you’ll damn everything in the world), or written
rg_> is so crooked that the code will break the devil's leg...
By the way: has anyone used this DelphiSpec? Something there in AY8312
under-emulated: the emulator constantly grunts to itself, even in Idle. Nobody
have you encountered? Will this be fixed somehow (there are source codes)?
From
Kirill Frolov
→
To
All
28 November 2006
Hello Shaos
Sha> Modularity in bare C can be done through structures and methods
Sha> of such pseudo-classes will be functions that take as the first argument
Sha> pointer to a structure. STL should not put medicines on a pedestal
Sha> from everyone
Sha> diseases - it will not save you from crooked programmer hands. About
Sha>
STL - no way. Here, in the next thread, we have already decided - only C# and
Java. It even helps against syphilis and cancer.
> exceptions are a poultice for the sore heads of dummies programmers
>
So many of the mechanisms available in C++ are necessary, important and useful. You can
Of course, try to emulate them in C (it sucks, along the way inventing another
bicycle). But I wouldn’t put “modularity” in first place from OOP,
at least implementable in C, and not an exception (here's longjmp), and not even
templates (there are powerful alternative macroprocessors...), but rather
inheritance.
From
Kirill Frolov
→
To
All
28 November 2006
Hello dhau
dha> that's it. And on platforms where resources are not a problem, languages are very
dha> high level (i.e. where you don’t have to worry about indexes, pointers, etc.
dha> memory allocation/freeing) is much more productive. For me
dha> business applications Visual Basic 6, C#, PHP or Java are much better than C++
In fact, C++ allows almost everything in these non-languages (BASIC, hehe)
yes. And a lot of things are missing. But I don’t really know how to use it (in
differences from comrades “who know C++ but don’t know C”).
From
Kirill Frolov
→
To
All
28 November 2006
Hello, lvd
lvd> Perhaps you, from the top of OOP, are not even aware that float numbers are on
lvd> the object more or less can be COMPARED using integer comparisons?...
lvd> is it difficult to do this on a toad?
It's impossible. Because comparing Nan with any number must give a negative
result, which cannot be achieved with integer comparisons. If we exclude
innumerable - then yes, it’s possible, I’ve probably never thought about why. Yes and
You can't compare for equality like that.
From
Kirill Frolov
→
To
All
28 November 2006
Hello rg_software
[QUOTE=rg_software]"Fuse - the Free Unix Spectrum Emulator"?
Firstly, Unih, which means that porting to Windows requires some fiddling
still have to...
Secondly, with all due respect, these guys use pure C, which in our time I
seems strange, to put it mildly... I have no prejudices
[/quite]
Well yes. Modern programs must be written in Java.
Or better yet, in C#. Otherwise they won't make money.
From
Kirill Frolov
→
To
All
28 November 2006
Hello rg_software
rg_> For that matter, why compromise? Computers from the forties
rg_> exist, but C was invented only in 78 or so. Write to
rg_> machine code. Or in Fortran. As a last resort, in Algol, and even with C
rg_> - it's too modern :)
More likely, closer to 1970.
They still write in Fortran. In a modern way. Algol has successfully transformed into
several languages that are still in demand, for example in ADA. And C isn't really
stopped in development. Although there are enough commercial compilers to
Unfortunately, they stopped at the 1989 level (currently in effect
"C99").
Yes, C is not meant for desktop programming.
Learn C#. Otherwise, Microsoft will come with its own Dotnet and won’t let you in (option:
learn Java. Otherwise the Sun will come...)
From
Kirill Frolov
→
To
All
28 November 2006
Hello rg_software
rg_> Pure C is a morally outdated language. Created in the late seventies,
rg_> it perfectly reflected the views on programming of that time.
rg_> Now in the light of the development of OOP and other things, it becomes completely clear
rg_> what am I missing in C:
rg_>
It seems to me that the author himself is still a little outdated, having seen enough of all the horrors
OOPism and stop raving - and there will be complete order.
> 1) decently organized modularity and data abstraction tools
> (classes, that is)
>
And skis don't have wheels. That's why skis are crap. It's a matter of scooters.
From
Kirill Frolov
→
To
All
28 November 2006
Hello rg_software
rg_> a variable in one module is a variable as an int, and in another - as
rg_> extern float; this code compiles (!) because linking goes by name
rg_> without type checking (in standard C)... naturally, in the first
rg_>
To do this, use *.h. And besides, hitech software is screaming, they say
signature don't match. Well yes, warning. Disabled. So read them sometimes
useful.
> module all instructions are generated for integers, in the second - for
> real numbers, and the program is terribly buggy...
>
Because in assembler and linker there is no concept of data type. He's not there
needed. The same goes for any language built on top of this linker...
> Should the language really allow the compilation of such erroneous pieces?
>
Shouldn't he? Everything is on your conscience.
From
Dmitry Demyanenko
→
To
All
28 November 2006
Hello fk0
Why did you get wound up, this is what they wrote a year ago with Gek, after all, I suppose they’ve already talked about the forum
I forgot.
From
Sergey Akimov
→
To
All
29 November 2006
Hello hero
her> Why did you get wound up, a year ago they wrote with Gek, after all probably about
her> I forgot the forum already.
Yes it is. :smile;
I; actually, I want to return again to DelphiSpec, mentioned in the main post
thread. Does anyone use it? He's the only one who constantly grunts at me
"music coprocessor" or is this the case for everyone?
From
Alexandr Tsidaev
→
To
All
29 November 2006
Hello, Error404
Err> Yes. :smile;
Err>;
Err> I actually want to return again to DelphiSpec, mentioned in
Err> in the main post of the thread. Does anyone use it? It's only me
Err> continuously grunts with the “music coprocessor” or is it like this for everyone?
Me too... yes, it’s generally crooked, I added curb support to it
Once upon a time, I didn’t do normal emulation, otherwise the whole rendering
would have to be redone from scratch
Anril is much nicer written
From
Dmitry Demyanenko
→
To
All
6 December 2006
Hello, Error404
Err> I actually want to return again to DelphiSpec, mentioned in
Err> in the main post of the thread. Does anyone use it? It's only me
Err> continuously grunts with the “music coprocessor” or is it like this for everyone?
The sound subsystem there is crooked, you can rip off the SMT principle and separate it,
but in Unreal the timings are calculated differently, and DelphiSpec is also a funny joke
If you set it to 200% or without restrictions on the emulation speed, then it has flash
increases proportionally, etc. etc.
Elt> I have too.. yes, it’s generally crooked, I support the curb
Elt> was added once, but I didn’t do normal emulation, otherwise
Elt> the entire rendering would have to be redone from scratch
Gee, me too, besides, I rewrote the entire rendering
From
Dmitry Demyanenko
→
To
All
6 December 2006
Hello, Error404
in bass 128 there are commands for “creating” :) sound
From
Sergey Akimov
→
To
All
6 December 2006
Hello hero
her> The sound subsystem there is crooked, you can rip off the principle from SMT
her> separate her
her> [....]
her> Hey, me too, besides, I rewrote the entire rendering
How can I check/test the AY emulator in Spectrum? The point is that on
I emulate Orion in the DelphiSpec engine :smile; (there; there was also AY
port compatible with ZX and, accordingly, players), on Orion (and
respectively, in the emulator) I can run everything from under CP/M, but on the Spectrum I
I can’t go further than the “Calculator/Basic/Loader” menu. :v2_blush;
What; do you need to do it there? Of course, in the year one thousand nine hundred I had
there were several Pentagons, even like several games on them then somehow
I launched it in an incomprehensible way, but somehow they didn’t take root with me (in a barn like
are still somewhat rotting). Accordingly, I don’t remember anything... :redface: