Facebook Twitter


LLVM to JS. Performance. Encode URL. The escape() method does not encode the + character which is interpreted as a space on the server side as well as generated by forms with spaces in their fields.

encode URL

Due to this shortcoming and the fact that this function fails to handle non-ASCII characters correctly, you should avoid use of escape() whenever possible. The best alternative is usually encodeURIComponent(). escape() will not encode: @*/+ Amf.js. I just finished the first version of a new pure JavaScript library for AMF.


I’ve wanted to do this for a while but didn’t think it was possible since JavaScript doesn’t have a ByteArray. But then I came across this: “High Performance JavaScript Port of ActionScript’s ByteArray“. That became the basis for amf.js. Before I get into the gory details of how this works, check out some developer eye candy: The good parts... Node.js. Highlight.js.