14 AnswersNew Answer
EDIT: check David Carroll 's answer Web assembly might be the future of web developement and it will support binary, but if you are writing classic html, css, js programs then it won't with
Web Sad As explained by Martin Taylor ... That would be a no if attempting to pass those instructions via the browser. That said... the HTML does eventually get converted into instructions that get processed by the CPU and read as binary. 😉
Not exactly, but the characters in the html file represent text, which can represnt binary Sadly that will not work
Bhavya It's doubtful on at least 2 counts... 1. WASM won't have access to the DOM, which ultimately would be part of the flow for HTML to DOM to bytecode to native CPU instructions. 2. WASM is the compiled build target of LLVM IR (intermediate representation) of a higher level language like C++, C#, Kotlin, etc. That is, we can write code in a higher level language, compile to LLVM IR which is then compiled to WASM. But that WASM still needs to be compiled to a baseline WASM bytecode, then compiled again into the resulting native code optimized for a given CPU architecture. As you can see, there's still a good number of steps beyond WASM before binary is resolved. So... it's highly unlikely WASM would parse binary instructions for a given CPU.
I find this question very interesting
David Carroll nice details about wasm
Rashed-Ul Anwar It's only ODD if the first bit is ON. Otherwise, it would be quite EVEN. 🤣😂
I am in no way an expert, but no code anyone writes is directly processed by the cpu (idk about assembly though). Most programming languages are either interpreted or compiled, so theres a layer between the code and the cpu. HTML isnt even a programming language, so even if you could write code like that it wouldnt work. HTML is more like browser code than cpu code; its interpreted by the browser rather than a compiler or interpreter. Sorry if this is wrong, I am not very experienced in how programming relates to hardware (unlike David Carroll , hes like an expert at this stuff.)
test it and see for yourself
did you test it yet?
Web Sad Bro....Honestly speaking it will be very ODD using binary numbers....