4 ms·
Yeah, thanks for your code, it helped me greatly. >>Erlang seems optimized for several problems and network packet mangling is one of them. The only question
by StreamBright 6y ago
Yeah, thanks for your code, it helped me greatly.
>>Erlang seems optimized for several problems and network packet mangling is one of them.
The only question is why other languages (claim to be low-level) did not adopt this.
- imglorp 6y agoGood to hear! And the blog post is quality hands-on learning material, like the sibling comment is asking about. We know why Erlang does it well: its original narrow focus of switching packets and insane uptime. This meant it didn't prioritize other niceties, like strings for example. So it made sense to hard wire bit vector dissection and construction. I think most other platforms have richer types and would rather use the generic type stack. Also, most general-purpose languages hide all the networking inside libraries so most users can just do foo = get($url) and not worry about it.
- StreamBright 6y agoYeah, Joe got that right. And a whole lot more.