|
|
|
|
|
by spc476
3290 days ago
|
|
Where I work, I deal with call processing (the stuff that happens when a call is made between two phones). If I were doing an interview, I might ask "We now have to deal with SIP, which means dealing with SIP messages, which are text based. We use C and C++ in this department, but we're open to other languages depending upon ease of integration. Which languages and libraries would you use to parse SIP messages, and why?" It's a problem we face (or rather, faced and solved [1]) unlike reversing a linked list (or implementing a Red/Black or AVL tree or sorting data). [1] Lua (very easy to integrate with C and C++) and LPeg (for parsing text). |
|
Oh, and the parser code is C, so it integrates perfectly.