Click here to Skip to main content
13,139,520 members (69,421 online)
Rate this:
Please Sign up or sign in to vote.
which programming language is more familiar if we are going to work with binary.
Posted 3-Feb-13 6:28am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
Albert Holguin 5-Feb-13 11:50am

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 3 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100