<div dir="ltr">Hello<div><br></div><div>I have a simple question, I know Erlang has strings and binary strings as separate data types, and they're different even if they "look the same" in the console</div><div><br></div><div><div><br class="Apple-interchange-newline">1> io:format(<<"fnord">>).</div><div>fnord</div><div>2> io:format("fnord").</div><div>fnord</div></div><div><br></div><div><div>3> "fnord"==<<"fnord">></div><div>3> .</div><div>false</div></div><div><br></div><div>My question is when you will use each one. Are binary strings used for sending data over the wire, and normal strings used internally? what are the tradeoffs?</div></div>