Click here to Skip to main content
15,440,884 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
which programming language is more familiar if we are going to work with binary.
Posted

1 solution

All computer languages 'work with binary' or rather wouldn't work without it. If you're going to be doing bit 'twiddling', for example writing your own ieee754 floating point implementation then 'C' is the traditional language of choice but these days C++ is a better option in my opinion or of course there is always assembler.
The advantage C or C++ give you over BASIC or Python or even Pascal is that you can control precisely the layout of data in memory, down to the physical memory addresses at which data is stored. This is why C is used for system programming, like writing operating systems and hardware device drivers where there is nothing to manage memory for you or prevent your program from overwriting itself or where exact numbers of bits and bytes in precisely the right place are critical.
 
Share this answer
 
Comments
Albert Holguin 5-Feb-13 11:50am    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900