Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hellofunk
· 9y ago · 0 comments
> Especially C code
Isn't WhatsApp an Erlang app?
Comments
[–]
rakoo
9y ago
Whatsapp is both a server and a client. The server might be written in Erlang, but the client (where all the end-to-end encryption happens) is written in whatever the device can run.
[–]
fnj
9y ago
The device runs machine code. Client code can be written in any language which can be either compiled or interpreted to machine code.
[–]
SAI_Peregrinus
9y ago
Android devices run Java, with an option for machine code for some functionality.
[–]
pgt
9y ago
The socket layer at OS-level is written in C and Erlang probably uses an SSL library written in C. Turtles all the way down!
[–]
tim333
9y ago
WhatsApp uses Erlang and various other languages. I doubt the encryption code is in Erlang. Erlang can call C code.