News for hackers. Stuff that matters.
Re:Binary in JavaScript by anotherangrydev on Wednesday July 29, 2015 @11:47AM (#9969387)
>Unbeknownst to some, Javascript comes equipped with a relatively good set of bitwise operators.

Never thought that there were people doing Javascript who didn't know about bitwise operators. I guess I know where 99% of the "Javascript sucks" posts come from.

Re:Binary in JavaScript by Kequc on Wednesday July 29, 2015 @11:54AM (#9969437)
It is a low level language, it is blazingly fast and powerful if you use it correctly.

It is also badly designed and disliked as far as I can tell just about universally in every aspect as a language. Objective C is also blazingly fast and powerful if you use it correctly but not everyone wants to. It isn't about not knowing it has access to bitwise operators.

Re:Binary in JavaScript by yoklov on Wednesday July 29, 2015 @12:39PM (#9969807)
JS is not really a low level language in any sense.
Re:Binary in JavaScript by _greim_ on Wednesday July 29, 2015 @12:18PM (#9969648)
My assumption was that JS bitwise misses the advantages of speed and space-compactness of bitwise in other langs, since you only have 64 bit floats to work with, thus forcing conversion to int and back for any bitwise stuff. I haven't read any good in-depth articles on the subject though.