![]() |
Reports are important for things
|
I'll be posting again shortly.
I've been really busy lately so I haven't been able to code very much. |
l33t c0der
|
Quote:
Quote:
http://pivotallabs.com/all-evidence-...eing-bull****/ OOP is garbage. Quote:
|
Functional programming is a good paradigm to get your head round. Even if you're using a language that isn't typically functional, the lessons and habits learned will improve your code.
Unfortunately, GScript doesn't make this easy past a basic point, with a lack of lexically scoped variables and closures. It will still improve your code, regardless. No excuse, however, with C++, with the new standard. |
Quote:
|
You can argue that ASM is just human readable machine code.
|
I can't remember which arch (I think MIPS) or the specific instructions, but there was something about inconsistent arrangement for a couple of opcodes where the corresponding instructions in assembly looked consistent. I think glossing over that is some level above writing pure opcodes.
From what I recall, a lot of assemblers give you convenience macros/pseudo-instructions, which assemble into several machine instructions. I think, however, it's such a small level above machine code that making a big fuss over the distinction is perhaps pedantic. |
So ASM actually gets run through a little interpreter?
|
There is some level of text processing to assemble into object files. I imagine it wasn't a stretch to include built-in and user-defined macros on top of that. It's still architecture dependent because it is so close to machine code as you say but I think there is a bit of wiggle room for convenience features. If you notice, assemblers have varying syntax from assembler to assembler. Code written for gas is different from nasm, etc. With some assemblers, the difference is minimal but enough to catch you out, such as literals, referencing memory, etc.
I think with GNU in particular it uses at&t syntax by default (though accepts Intel too). With that, the order of operands are reversed so typically, with Intel as common, you have: PHP Code:
PHP Code:
|
Quote:
|
Can someone recommend me a compiler for C++? Learning code isn't easy if I can't run it :I
EDIT: Now that I think about it. What should I write the actual code in? xD |
i use gcc, but i think visual studio comes packaged with one.
|
Can I code C++ in Visual Studio?? I thought it was only for Visual Basic.
|
Visual studio supports a handful of languages
|
| All times are GMT. The time now is 03:51 PM. |
Powered by vBulletin/Copyright ©2000 - 2026, vBulletin Solutions Inc.