Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
hellofunk
9y ago
0 comments
Share
> Especially C code
Isn't WhatsApp an Erlang app?
0 comments
default
newest
oldest
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.
j
/
k
navigate · click thread line to collapse