![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: Apr 2006
Posts: 11
Rep Power: 0
![]() |
more primitive you say. c/c++ can be used for machine level programming i was told. bit manipulation and assembly language level operations. is c/c++ in appropriate for this use?
|
|
|
|
|
|
#12 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I didn't say a primitive language. I said a primitive machine or working at a primitive level. Perhaps you don't understand yet that the machine is a thing and the language is a tool. The machine is actually a piece of hardware. It has memory. Any part of that memory, presuming it's wired properly, is accessible. Then along comes some guy with an MMU and some sofware, he applies certain voltages to certain pins in order to restrict allowable instructions to a particular subset. The bustard also intercepts user operations and takes over the management of the memory, mapping it at will and parcelling it out at ghost addresses to suit purposes not considered by the average user. You need to go get a book and take a couple days to read it.
C/C++ is not, of course, assembly language level, that's nonsense, but that's not your problem.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#13 |
|
Newbie
Join Date: Apr 2006
Posts: 11
Rep Power: 0
![]() |
wow so many words you type. soo many words that i could see you answer confirming peeking into pc memory is inappropriate use that c wasn't design for. could you confirm that c wasn't designed for this use?
|
|
|
|
|
|
#14 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Nope. Go spend a buck on some comprehension and re-read the thread.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#15 |
|
Newbie
Join Date: Apr 2006
Posts: 11
Rep Power: 0
![]() |
your a bit harsh is your reply. clarification is all i wished for.
thank you all for your advice. |
|
|
|
|
|
#16 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Yes, I'm a bit harsh. You, on the other hand, received some bad information and seem to think that entitles you to ask questions while ignoring the answers you receive. Those giving the answers that are ignored tend to feel, quite rightly, that they're pounding sand down a rathole. I said the language had nothing to do with your inability to subvert the machine. That's what I meant. Clarifying it twice over shouldn't be necessary.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#17 |
|
Programmer
Join Date: Mar 2006
Location: Tennessee
Posts: 41
Rep Power: 0
![]() |
He could, of course, make his own OS and then he could do whatever he desires. Right, guys?
|
|
|
|
|
|
#18 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,260
Rep Power: 5
![]() |
:eek: If we want to change the lock on someone's dunny door, we don't usually demolish the city. But, yeah, we could do that.
|
|
|
|
|
|
#19 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
you don't need c/c++ to access your memory, just get a pair of pliers and rip fucking chunks out your computer and store them in little glass bottles filled with preservative.
jesus...
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#20 |
|
Hobbyist Programmer
|
hahaha oh man that just made my morning.
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|